Skip to content

Commit

Permalink
Merge pull request #5 from appuio/sync-wave
Browse files Browse the repository at this point in the history
Ensure operator and CRD are installed before applying resources
  • Loading branch information
ccremer authored Oct 8, 2021
2 parents 4de2754 + eb53b81 commit 2f30b51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions component/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ local groupSyncs = std.filter(
name: k,
namespace: params.namespace,
labels+: labels,
annotations+: {
'argocd.argoproj.io/sync-options': 'SkipDryRunOnMissingResource=true',
},
},
spec: {
providers: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: redhatcop.redhat.io/v1alpha1
kind: GroupSync
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
labels:
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: group-sync-operator
Expand Down Expand Up @@ -32,6 +34,8 @@ spec:
apiVersion: redhatcop.redhat.io/v1alpha1
kind: GroupSync
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
labels:
app.kubernetes.io/managed-by: commodore
app.kubernetes.io/name: group-sync-operator
Expand Down

0 comments on commit 2f30b51

Please sign in to comment.