Skip to content

Commit 0330ef7

Browse files
Merge pull request #189 from RadOctocode/fix/remove-implicit-v
removed v from version of oauth2-proxy deployment.yaml
2 parents 7b37bf5 + e3d24dc commit 0330ef7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.1.0
2+
version: 7.2.0
33
apiVersion: v2
44
appVersion: 7.6.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -34,8 +34,8 @@ maintainers:
3434
kubeVersion: ">=1.9.0-0"
3535
annotations:
3636
artifacthub.io/changes: |
37-
- kind: added
38-
description: Make deploy.strategy configurable
37+
- kind: changed
38+
description: Remove the v from the oauth2-proxy deployment.yaml image
3939
links:
4040
- name: Github PR
41-
url: https://github.com/oauth2-proxy/manifests/pull/188
41+
url: https://github.com/oauth2-proxy/manifests/pull/189

helm/oauth2-proxy/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Compute the redis url if not set explicitly.
117117
Returns the version
118118
*/}}
119119
{{- define "oauth2-proxy.version" -}}
120-
{{ trimPrefix "v" (lower (.Values.image.tag | default (printf "v%s" .Chart.AppVersion))) }}
120+
{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}
121121
{{- end -}}
122122

123123
{{/*

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ spec:
8282
{{- end }}
8383
containers:
8484
- name: {{ .Chart.Name }}
85-
image: "{{ .Values.image.repository }}:v{{ include "oauth2-proxy.version" . }}"
85+
image: "{{ .Values.image.repository }}:{{ include "oauth2-proxy.version" . }}"
8686
imagePullPolicy: {{ .Values.image.pullPolicy }}
8787
args:
8888
{{- if .Values.alphaConfig.enabled }}

0 commit comments

Comments
 (0)