diff --git a/helm/trident-operator/templates/_helpers.tpl b/helm/trident-operator/templates/_helpers.tpl index cb62e381c..6e80c7563 100644 --- a/helm/trident-operator/templates/_helpers.tpl +++ b/helm/trident-operator/templates/_helpers.tpl @@ -126,6 +126,8 @@ Trident AutoSupport image {{- define "trident.autosupportImage" -}} {{- if .Values.tridentAutosupportImage }} {{- .Values.tridentAutosupportImage }} +{{- else if .Values.tridentAutosupportImageRegistry }} +{{- .Values.tridentAutosupportImageRegistry }}/trident-autosupport:{{ .Values.tridentAutosupportImageTag | default .Chart.AppVersion | trunc 5 }} {{- else if .Values.imageRegistry }} {{- .Values.imageRegistry }}/trident-autosupport:{{ .Values.tridentAutosupportImageTag | default .Chart.AppVersion | trunc 5}} {{- else }} @@ -200,6 +202,8 @@ Trident image {{- define "trident.image" -}} {{- if .Values.tridentImage }} {{- .Values.tridentImage }} +{{- else if .Values.tridentImageRegistry }} +{{- .Values.tridentImageRegistry }}/trident:{{ .Values.tridentImageTag | default .Chart.AppVersion }} {{- else if .Values.imageRegistry }} {{- .Values.imageRegistry }}/trident:{{ .Values.tridentImageTag | default .Chart.AppVersion }} {{- else }} diff --git a/helm/trident-operator/values.yaml b/helm/trident-operator/values.yaml index 8cb4ff009..993e8e6cb 100644 --- a/helm/trident-operator/values.yaml +++ b/helm/trident-operator/values.yaml @@ -94,6 +94,9 @@ tridentExcludeAutosupport: false # tridentAutosupportImage allows the complete override of the image for Trident's Autosupport container. tridentAutosupportImage: "" +# tridentAutosupportImageRegistry allows to override the registry for Trident's Autosupport container. +tridentAutosupportImageRegistry: "" + # tridentAutosupportImageTag allows overriding the tag of the image for Trident's Autosupport container. tridentAutosupportImageTag: "25.02" @@ -124,6 +127,9 @@ tridentLogLayers: "" # tridentImage allows the complete override of the image for Trident. tridentImage: "" +# tridentImage allows to override the registry for the image of Trident. +tridentImageRegistry: "" + # tridentImageTag allows overriding the tag of the image for Trident. tridentImageTag: ""