Skip to content

Commit

Permalink
fix(hive-chart): .Values.image.name should be .Values.image.repositor…
Browse files Browse the repository at this point in the history
…y which is standard for charts and allows renovate to automatically detect it (#37)
  • Loading branch information
JossWhittle authored Nov 14, 2023
1 parent d306801 commit c239647
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/hive/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/hive/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/hive/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c239647

Please sign in to comment.