Skip to content

Commit 2e8c341

Browse files
committed
chore(template): Adjust Helm templates
1 parent c910153 commit 2e8c341

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

template/deploy/helm/[[operator]]/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ helm.sh/test: {{ include "operator.chart" . }}
8282
Build the full container image reference.
8383
*/}}
8484
{{- define "operator.image" -}}
85-
{{- printf "%s/%s:%s" .Values.image.registry .Values.image.repository (.Values.image.tag | default .Chart.AppVersion) -}}
85+
{{- printf "%s/%s:%s" .Values.image.repository .Chart.Name (.Values.image.tag | default .Chart.AppVersion) -}}
8686
{{- end }}

template/deploy/helm/[[operator]]/templates/deployment.yaml.j2

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,7 @@ spec:
7171
- name: OPERATOR_SERVICE_NAME
7272
value: {{ include "operator.fullname" . }}
7373

74-
# The URI of the image registry, like "oci.stackable.tech". Used to derive product image
75-
# name.
76-
- name: IMAGE_REGISTRY_URI
77-
value: {{ .Values.image.registry }}
78-
79-
# The image repository, like "sdp/airflow-operator"
74+
# The image repository, like "oci.stackable.tech/sdp"
8075
- name: IMAGE_REPOSITORY
8176
value: {{ .Values.image.repository }}
8277

0 commit comments

Comments
 (0)