Skip to content

Commit

Permalink
fix: dex default image prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Oct 30, 2024
1 parent d107d64 commit 8da0127
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions charts/testkube-enterprise/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
version: 2.1.64
- name: dex
repository: file://./charts/dex
version: 0.19.1-1
version: 0.19.1-2
- name: mongodb
repository: https://charts.bitnami.com/bitnami
version: 15.6.16
Expand All @@ -26,5 +26,5 @@ dependencies:
- name: minio
repository: https://charts.bitnami.com/bitnami
version: 14.7.0
digest: sha256:780eb6d0f8d0a88582876451c011a3a995b369109136c0a00bf910d192ef1caf
generated: "2024-10-30T20:30:53.347547+01:00"
digest: sha256:5397044271b5bd873ddc51f84937ddb25bb4b5ecbeee9c1b5c5659bda7e81287
generated: "2024-10-30T21:53:32.80137+01:00"
2 changes: 1 addition & 1 deletion charts/testkube-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
repository: https://kubeshop.github.io/helm-charts
condition: testkube-agent.enabled
- name: dex
version: 0.19.1-1
version: 0.19.1-2
repository: file://./charts/dex
condition: dex.enabled
- name: mongodb
Expand Down
6 changes: 3 additions & 3 deletions charts/testkube-enterprise/charts/dex/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: dex
version: 0.19.1-1
version: 0.19.1-2
appVersion: "2.41.1"
kubeVersion: ">=1.14.0-0"
description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors.
Expand All @@ -21,8 +21,8 @@ maintainers:
url: https://sagikazarmark.hu
annotations:
artifacthub.io/changes: |
- kind: added
description: "Added a abillity to set image pull secrets globally"
- kind: fixed
description: "Fixed default image prefix"
artifacthub.io/images: |
- name: dex
image: ghcr.io/dexidp/dex:v2.41.1
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Create the name of the secret containing the config file to use
The name of the image
*/}}
{{- define "dex.image" }}
{{- $image := printf "%s:%s" .Values.image.repository (default .Chart.AppVersion .Values.image.tag) }}
{{- $image := printf "%s:%s" .Values.image.repository (default (printf "v%s" .Chart.AppVersion) .Values.image.tag) }}
{{- if or .Values.image.registry .global.imageRegistry }}
{{- $image = printf "%s/%s" (default .Values.image.registry .Values.global.imageRegistry) $image }}
{{- end -}}
Expand Down

0 comments on commit 8da0127

Please sign in to comment.