From c2396478693202899ddf8faff2c18682674e0e08 Mon Sep 17 00:00:00 2001 From: Joss Whittle Date: Tue, 14 Nov 2023 21:51:16 +0000 Subject: [PATCH] fix(hive-chart): .Values.image.name should be .Values.image.repository which is standard for charts and allows renovate to automatically detect it (#37) --- charts/hive/templates/deployment.yaml | 2 +- charts/hive/templates/statefulset.yaml | 2 +- charts/hive/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/hive/templates/deployment.yaml b/charts/hive/templates/deployment.yaml index 20c372f..ecd9fc7 100644 --- a/charts/hive/templates/deployment.yaml +++ b/charts/hive/templates/deployment.yaml @@ -37,7 +37,7 @@ spec: {{- toYaml .Values.securityContext | trim | nindent 8 }} containers: - name: {{ .Chart.Name }} - image: "{{.Values.image.name}}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{.Values.image.repository}}:{{ .Values.image.tag | default .Chart.AppVersion }}" {{- with .Values.overrideCommand }} {{- . | toYaml | nindent 10 }} {{- end }} diff --git a/charts/hive/templates/statefulset.yaml b/charts/hive/templates/statefulset.yaml index 0296ad7..c1b5e44 100644 --- a/charts/hive/templates/statefulset.yaml +++ b/charts/hive/templates/statefulset.yaml @@ -35,7 +35,7 @@ spec: {{- toYaml .Values.securityContext | trim | nindent 8 }} containers: - name: {{ .Chart.Name }} - image: "{{.Values.image.name}}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{.Values.image.repository}}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: METASTORE_DB_HOSTNAME diff --git a/charts/hive/values.yaml b/charts/hive/values.yaml index e9c5370..cc5baae 100644 --- a/charts/hive/values.yaml +++ b/charts/hive/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 ## Default Hive image and tag. image: - name: harbor.ukserp.ac.uk/dare/hive + repository: harbor.ukserp.ac.uk/dare/hive tag: 1.1.0 pullPolicy: IfNotPresent