diff --git a/helm/trident-operator/templates/deployment.yaml b/helm/trident-operator/templates/deployment.yaml index 8f4ba95a9..69d4a3be1 100644 --- a/helm/trident-operator/templates/deployment.yaml +++ b/helm/trident-operator/templates/deployment.yaml @@ -46,7 +46,9 @@ spec: containers: - command: - /trident-operator + {{- if or .Values.anfConfigurator.enabled .Values.ontapConfigurator.enabled }} - -configurator-reconcile-interval={{ .Values.configuratorReconcileInterval }} + {{- end }} {{- if .Values.operatorDebug }} - -debug {{- end }} diff --git a/helm/trident-operator/templates/tridentorchestrator.yaml b/helm/trident-operator/templates/tridentorchestrator.yaml index 73eab358a..6170698d4 100644 --- a/helm/trident-operator/templates/tridentorchestrator.yaml +++ b/helm/trident-operator/templates/tridentorchestrator.yaml @@ -66,6 +66,7 @@ spec: cloudIdentity: {{ .Values.cloudIdentity }} enableACP: {{ .Values.enableACP }} acpImage: {{ .Values.acpImage }} + enableAutoBackendConfig: {{ or .Values.ontapConfigurator.enabled .Values.anfConfigurator.enabled }} iscsiSelfHealingInterval: {{ .Values.iscsiSelfHealingInterval }} iscsiSelfHealingWaitTime: {{ .Values.iscsiSelfHealingWaitTime }} {{- if .Values.k8sAPIQPS }} diff --git a/operator/crd/apis/netapp/v1/types.go b/operator/crd/apis/netapp/v1/types.go index a04c9212a..9b41a17f4 100644 --- a/operator/crd/apis/netapp/v1/types.go +++ b/operator/crd/apis/netapp/v1/types.go @@ -72,6 +72,7 @@ type TridentOrchestratorSpec struct { CloudIdentity string `json:"cloudIdentity,omitempty"` EnableACP bool `json:"enableACP,omitempty"` ACPImage string `json:"acpImage,omitempty"` + EnableAutoBackendConfig bool `json:"enableAutoBackendConfig,omitempty"` ISCSISelfHealingInterval string `json:"iscsiSelfHealingInterval,omitempty"` ISCSISelfHealingWaitTime string `json:"iscsiSelfHealingWaitTime,omitempty"` K8sAPIQPS int `json:"k8sAPIQPS,omitempty"`