Skip to content

Commit

Permalink
Chart bugfix add v and fix default tag (#10)
Browse files Browse the repository at this point in the history
* Add v to appVersion to match docker image tag

* remove default tag so we fallback to Chart.AppVersion instead

* simplify chart
  • Loading branch information
Richard87 authored Jun 21, 2024
1 parent 5e4950d commit cbe861f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/radix-oauth-guard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: radix-oauth-guard
icon: https://radix.equinor.com/images/logos/logo.svg
description: Forward Auth to validate, authenticate and authorize JWT tokens
appVersion: 0.5.0
version: 0.5.0
version: 0.5.1
appVersion: 0.5.1 # appVersion should always be equal to version!
kubeVersion: ">=1.24.0"
keywords:
- radix
Expand Down
2 changes: 1 addition & 1 deletion charts/radix-oauth-guard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
Expand Down
4 changes: 2 additions & 2 deletions charts/radix-oauth-guard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fullnameOverride: ""

image:
repository: ghcr.io/equinor/radix-oauth-guard
tag: latest
tag: ""
pullPolicy: Always

# Annotations to add to the Deployment
Expand Down Expand Up @@ -37,4 +37,4 @@ affinity: {}
nodeSelector: {}

# Tolerations for pod scheduling
tolerations: []
tolerations: []

0 comments on commit cbe861f

Please sign in to comment.