diff --git a/charts/dex/Chart.yaml b/charts/dex/Chart.yaml index 82383b6f..eb84c0db 100644 --- a/charts/dex/Chart.yaml +++ b/charts/dex/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 type: application name: dex -version: 0.13.0 +version: 0.14.0 appVersion: "2.35.3" kubeVersion: ">=1.14.0-0" description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors. @@ -22,7 +22,7 @@ maintainers: annotations: artifacthub.io/changes: | - kind: added - description: "Common labels to all resources created by the chart" + description: "Support for templated config." artifacthub.io/images: | - name: dex image: ghcr.io/dexidp/dex:v2.35.3 diff --git a/charts/dex/README.md b/charts/dex/README.md index cd7d7a74..5bb49e0a 100644 --- a/charts/dex/README.md +++ b/charts/dex/README.md @@ -1,6 +1,6 @@ # dex -![version: 0.13.0](https://img.shields.io/badge/version-0.13.0-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.35.3](https://img.shields.io/badge/app%20version-2.35.3-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex) +![version: 0.14.0](https://img.shields.io/badge/version-0.14.0-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.35.3](https://img.shields.io/badge/app%20version-2.35.3-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex) OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors. diff --git a/charts/dex/templates/secret.yaml b/charts/dex/templates/secret.yaml index 27d39546..c5b641a8 100644 --- a/charts/dex/templates/secret.yaml +++ b/charts/dex/templates/secret.yaml @@ -7,5 +7,5 @@ metadata: {{- include "dex.labels" . | nindent 4 }} type: Opaque data: - config.yaml: {{ .Values.config | toYaml | b64enc | quote }} + config.yaml: {{ tpl (typeIs "string" .Values.config | ternary .Values.config .Values.config | toYaml) $ | b64enc | quote }} {{- end }}