Skip to content

Commit 9e3b007

Browse files
authored
Disabling auto backend config to cleanup Tconf CRs
1 parent 774190b commit 9e3b007

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

helm/trident-operator/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ spec:
4646
containers:
4747
- command:
4848
- /trident-operator
49+
{{- if or .Values.anfConfigurator.enabled .Values.ontapConfigurator.enabled }}
4950
- -configurator-reconcile-interval={{ .Values.configuratorReconcileInterval }}
51+
{{- end }}
5052
{{- if .Values.operatorDebug }}
5153
- -debug
5254
{{- end }}

helm/trident-operator/templates/tridentorchestrator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
cloudIdentity: {{ .Values.cloudIdentity }}
6767
enableACP: {{ .Values.enableACP }}
6868
acpImage: {{ .Values.acpImage }}
69+
enableAutoBackendConfig: {{ or .Values.ontapConfigurator.enabled .Values.anfConfigurator.enabled }}
6970
iscsiSelfHealingInterval: {{ .Values.iscsiSelfHealingInterval }}
7071
iscsiSelfHealingWaitTime: {{ .Values.iscsiSelfHealingWaitTime }}
7172
{{- if .Values.k8sAPIQPS }}

operator/crd/apis/netapp/v1/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ type TridentOrchestratorSpec struct {
7272
CloudIdentity string `json:"cloudIdentity,omitempty"`
7373
EnableACP bool `json:"enableACP,omitempty"`
7474
ACPImage string `json:"acpImage,omitempty"`
75+
EnableAutoBackendConfig bool `json:"enableAutoBackendConfig,omitempty"`
7576
ISCSISelfHealingInterval string `json:"iscsiSelfHealingInterval,omitempty"`
7677
ISCSISelfHealingWaitTime string `json:"iscsiSelfHealingWaitTime,omitempty"`
7778
K8sAPIQPS int `json:"k8sAPIQPS,omitempty"`

0 commit comments

Comments
 (0)