Switch to sync option for respecting only controller refs
This commit is contained in:
parent
5ff5db625c
commit
303a4c02e4
@ -6,8 +6,8 @@ metadata:
|
||||
name: {{ include "openstack-cluster.componentName" (list . "control-plane") }}
|
||||
labels: {{ include "openstack-cluster.componentLabels" (list . "control-plane") | nindent 4 }}
|
||||
annotations:
|
||||
# Argo should manage this resource even though it has an owner ref for the cluster
|
||||
argocd.argoproj.io/managed-resource: "true"
|
||||
# Tell Argo to ignore the non-controller owner references for this object
|
||||
argocd.argoproj.io/sync-options: "ControllerReferencesOnly=true"
|
||||
spec:
|
||||
clusterName: {{ include "openstack-cluster.clusterName" . }}
|
||||
selector:
|
||||
|
@ -9,8 +9,8 @@ metadata:
|
||||
{{- include "openstack-cluster.componentLabels" (list $ "worker") | nindent 4 }}
|
||||
{{ $.Values.projectPrefix }}/node-group: {{ $nodeGroup.name }}
|
||||
annotations:
|
||||
# Argo should manage this resource even though it has an owner ref for the cluster
|
||||
argocd.argoproj.io/managed-resource: "true"
|
||||
# Tell Argo to ignore the non-controller owner references for this object
|
||||
argocd.argoproj.io/sync-options: "ControllerReferencesOnly=true"
|
||||
{{- if $nodeGroup.autoscale }}
|
||||
{{-
|
||||
$machineCountMin := $nodeGroup.machineCountMin |
|
||||
|
@ -10,8 +10,8 @@ metadata:
|
||||
{{- include "openstack-cluster.componentLabels" (list $ "worker") | nindent 4 }}
|
||||
{{ $.Values.projectPrefix }}/node-group: {{ $nodeGroup.name }}
|
||||
annotations:
|
||||
# Argo should manage this resource even though it has an owner ref for the cluster
|
||||
argocd.argoproj.io/managed-resource: "true"
|
||||
# Tell Argo to ignore the non-controller owner references for this object
|
||||
argocd.argoproj.io/sync-options: "ControllerReferencesOnly=true"
|
||||
spec:
|
||||
clusterName: {{ include "openstack-cluster.clusterName" $ }}
|
||||
selector:
|
||||
|
Loading…
Reference in New Issue
Block a user