Skip to content

Commit 588d01c

Browse files
WikiwixPhilip Siederpierluigilenocidesaintmartin
authored
Bump appVersion to 7.4.0 and clean image tag creation (#121)
* Use .Chart.AppVersion for the image tag by default * Bump appVersion to 7.4.0 See https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.4.0 for details * Bump chart version to 6.6.0 Co-authored-by: Philip Sieder <[email protected]> Co-authored-by: Pierluigi Lenoci <[email protected]> Co-authored-by: Cédric de Saint Martin <[email protected]>
1 parent c07d4cf commit 588d01c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: oauth2-proxy
2-
version: 6.5.2
2+
version: 6.6.0
33
apiVersion: v2
4-
appVersion: 7.3.0
4+
appVersion: 7.4.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
66
description: A reverse proxy that provides authentication with Google, Github or other providers
77
keywords:

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Parameter | Description | Default
126126
`httpScheme` | `http` or `https`. `name` used for port on the deployment. `httpGet` port `name` and `scheme` used for `liveness`- and `readinessProbes`. `name` and `targetPort` used for the service. | `http`
127127
`image.pullPolicy` | Image pull policy | `IfNotPresent`
128128
`image.repository` | Image repository | `quay.io/oauth2-proxy/oauth2-proxy`
129-
`image.tag` | Image tag | `v7.3.0`
129+
`image.tag` | Image tag | `""` (defaults to appVersion)
130130
`imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods)
131131
`ingress.enabled` | Enable Ingress | `false`
132132
`ingress.className` | name referencing IngressClass | `nil`

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
{{- end }}
5353
containers:
5454
- name: {{ .Chart.Name }}
55-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
55+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
5656
imagePullPolicy: {{ .Values.image.pullPolicy }}
5757
args:
5858
{{- if .Values.alphaConfig.enabled }}
@@ -316,4 +316,3 @@ spec:
316316
topologySpreadConstraints:
317317
{{- toYaml . | nindent 8 }}
318318
{{- end }}
319-

helm/oauth2-proxy/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ alphaConfig:
5757

5858
image:
5959
repository: "quay.io/oauth2-proxy/oauth2-proxy"
60-
tag: "v7.3.0"
60+
# appVersion is used by default
61+
tag: ""
6162
pullPolicy: "IfNotPresent"
6263

6364
# Optionally specify an array of imagePullSecrets.

0 commit comments

Comments
 (0)