Skip to content

Commit

Permalink
fix app version in annotations if using image.tag value (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Starik <astarik@tradingview.com>
  • Loading branch information
artarik and Artem Starik committed Aug 8, 2023
1 parent 77edc87 commit 94cd8c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/gatekeeper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ sources:
maintainers:
- name: gogatekeeper
url: https://gogatekeeper.github.io/
version: 0.1.34
version: 0.1.35
appVersion: "2.5.0"
2 changes: 1 addition & 1 deletion charts/gatekeeper/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gatekeeper

![Version: 0.1.34](https://img.shields.io/badge/Version-0.1.34-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.5.0](https://img.shields.io/badge/AppVersion-2.5.0-informational?style=flat-square)
![Version: 0.1.35](https://img.shields.io/badge/Version-0.1.35-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.5.0](https://img.shields.io/badge/AppVersion-2.5.0-informational?style=flat-square)

Gatekeeper is a proxy which integrates with OpenID Connect (OIDC) Providers, it supports both access tokens in a browser cookie or bearer tokens.

Expand Down
2 changes: 1 addition & 1 deletion charts/gatekeeper/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Common labels
helm.sh/chart: {{ include "gatekeeper.chart" . }}
{{ include "gatekeeper.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
Expand Down

0 comments on commit 94cd8c7

Please sign in to comment.