diff --git a/chart/kube-arangodb/templates/_helpers.tpl b/chart/kube-arangodb/templates/_helpers.tpl index ab2edeb91..35f126e4b 100644 --- a/chart/kube-arangodb/templates/_helpers.tpl +++ b/chart/kube-arangodb/templates/_helpers.tpl @@ -18,7 +18,7 @@ Expand the name of the release. Expand the name of the operator. */}} {{- define "kube-arangodb.operatorName" -}} -{{- printf "arango-%s-operator" .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- printf (or .Values.operator.nameOverride (printf "arango-%s-operator" .Release.Name | trunc 63 | trimSuffix "-")) -}} {{- end -}} {{/* diff --git a/chart/kube-arangodb/values.yaml b/chart/kube-arangodb/values.yaml index 7c6018afd..93c5204d1 100644 --- a/chart/kube-arangodb/values.yaml +++ b/chart/kube-arangodb/values.yaml @@ -1,4 +1,5 @@ operator: + nameOverride: "" image: arangodb/kube-arangodb:1.2.43 imagePullPolicy: IfNotPresent imagePullSecrets: []