File tree Expand file tree Collapse file tree
clustergroup/templates/plumbing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ apiVersion: rbac.authorization.k8s.io/v1
44kind : ClusterRoleBinding
55metadata :
66 name : openshift-gitops-cluster-admin-rolebinding
7+ # We need to have this before anything else or the sync might get stuck forever
8+ # due to permission issues
9+ annotations :
10+ argocd.argoproj.io/sync-wave : " -100"
711roleRef :
812 apiGroup : rbac.authorization.k8s.io
913 kind : ClusterRole
@@ -22,6 +26,10 @@ apiVersion: rbac.authorization.k8s.io/v1
2226kind : ClusterRoleBinding
2327metadata :
2428 name : {{ $.Values.global.pattern }}-{{ .Values.clusterGroup.name }}-cluster-admin-rolebinding
29+ # We need to have this before anything else or the sync might get stuck forever
30+ # due to permission issues
31+ annotations :
32+ argocd.argoproj.io/sync-wave : " -100"
2533roleRef :
2634 apiGroup : rbac.authorization.k8s.io
2735 kind : ClusterRole
Original file line number Diff line number Diff line change @@ -321,6 +321,10 @@ apiVersion: rbac.authorization.k8s.io/v1
321321kind : ClusterRoleBinding
322322metadata :
323323 name : openshift-gitops-cluster-admin-rolebinding
324+ # We need to have this before anything else or the sync might get stuck forever
325+ # due to permission issues
326+ annotations :
327+ argocd.argoproj.io/sync-wave : " -100"
324328roleRef :
325329 apiGroup : rbac.authorization.k8s.io
326330 kind : ClusterRole
@@ -340,6 +344,10 @@ apiVersion: rbac.authorization.k8s.io/v1
340344kind : ClusterRoleBinding
341345metadata :
342346 name : mypattern-factory-cluster-admin-rolebinding
347+ # We need to have this before anything else or the sync might get stuck forever
348+ # due to permission issues
349+ annotations :
350+ argocd.argoproj.io/sync-wave : " -100"
343351roleRef :
344352 apiGroup : rbac.authorization.k8s.io
345353 kind : ClusterRole
Original file line number Diff line number Diff line change @@ -482,6 +482,10 @@ apiVersion: rbac.authorization.k8s.io/v1
482482kind : ClusterRoleBinding
483483metadata :
484484 name : openshift-gitops-cluster-admin-rolebinding
485+ # We need to have this before anything else or the sync might get stuck forever
486+ # due to permission issues
487+ annotations :
488+ argocd.argoproj.io/sync-wave : " -100"
485489roleRef :
486490 apiGroup : rbac.authorization.k8s.io
487491 kind : ClusterRole
@@ -501,6 +505,10 @@ apiVersion: rbac.authorization.k8s.io/v1
501505kind : ClusterRoleBinding
502506metadata :
503507 name : mypattern-datacenter-cluster-admin-rolebinding
508+ # We need to have this before anything else or the sync might get stuck forever
509+ # due to permission issues
510+ annotations :
511+ argocd.argoproj.io/sync-wave : " -100"
504512roleRef :
505513 apiGroup : rbac.authorization.k8s.io
506514 kind : ClusterRole
Original file line number Diff line number Diff line change @@ -409,6 +409,10 @@ apiVersion: rbac.authorization.k8s.io/v1
409409kind : ClusterRoleBinding
410410metadata :
411411 name : openshift-gitops-cluster-admin-rolebinding
412+ # We need to have this before anything else or the sync might get stuck forever
413+ # due to permission issues
414+ annotations :
415+ argocd.argoproj.io/sync-wave : " -100"
412416roleRef :
413417 apiGroup : rbac.authorization.k8s.io
414418 kind : ClusterRole
@@ -428,6 +432,10 @@ apiVersion: rbac.authorization.k8s.io/v1
428432kind : ClusterRoleBinding
429433metadata :
430434 name : mypattern-hub-cluster-admin-rolebinding
435+ # We need to have this before anything else or the sync might get stuck forever
436+ # due to permission issues
437+ annotations :
438+ argocd.argoproj.io/sync-wave : " -100"
431439roleRef :
432440 apiGroup : rbac.authorization.k8s.io
433441 kind : ClusterRole
Original file line number Diff line number Diff line change @@ -174,6 +174,10 @@ apiVersion: rbac.authorization.k8s.io/v1
174174kind : ClusterRoleBinding
175175metadata :
176176 name : openshift-gitops-cluster-admin-rolebinding
177+ # We need to have this before anything else or the sync might get stuck forever
178+ # due to permission issues
179+ annotations :
180+ argocd.argoproj.io/sync-wave : " -100"
177181roleRef :
178182 apiGroup : rbac.authorization.k8s.io
179183 kind : ClusterRole
@@ -193,6 +197,10 @@ apiVersion: rbac.authorization.k8s.io/v1
193197kind : ClusterRoleBinding
194198metadata :
195199 name : common-example-cluster-admin-rolebinding
200+ # We need to have this before anything else or the sync might get stuck forever
201+ # due to permission issues
202+ annotations :
203+ argocd.argoproj.io/sync-wave : " -100"
196204roleRef :
197205 apiGroup : rbac.authorization.k8s.io
198206 kind : ClusterRole
Original file line number Diff line number Diff line change @@ -371,6 +371,10 @@ apiVersion: rbac.authorization.k8s.io/v1
371371kind : ClusterRoleBinding
372372metadata :
373373 name : openshift-gitops-cluster-admin-rolebinding
374+ # We need to have this before anything else or the sync might get stuck forever
375+ # due to permission issues
376+ annotations :
377+ argocd.argoproj.io/sync-wave : " -100"
374378roleRef :
375379 apiGroup : rbac.authorization.k8s.io
376380 kind : ClusterRole
@@ -390,6 +394,10 @@ apiVersion: rbac.authorization.k8s.io/v1
390394kind : ClusterRoleBinding
391395metadata :
392396 name : mypattern-example-cluster-admin-rolebinding
397+ # We need to have this before anything else or the sync might get stuck forever
398+ # due to permission issues
399+ annotations :
400+ argocd.argoproj.io/sync-wave : " -100"
393401roleRef :
394402 apiGroup : rbac.authorization.k8s.io
395403 kind : ClusterRole
You can’t perform that action at this time.
0 commit comments