diff --git a/charts/dex/Chart.yaml b/charts/dex/Chart.yaml index 31aabbe3..0c2b64b7 100644 --- a/charts/dex/Chart.yaml +++ b/charts/dex/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 type: application name: dex -version: 0.24.1 +version: 0.24.2 appVersion: "2.44.0" kubeVersion: ">=1.14.0-0" description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors. @@ -21,8 +21,8 @@ maintainers: url: https://sagikazarmark.com annotations: artifacthub.io/changes: | - - kind: changed - description: "Update Dex to 2.44.0" + - kind: added + description: Add serviceAccount.automountServiceAccountToken value artifacthub.io/images: | - name: dex image: ghcr.io/dexidp/dex:v2.44.0 diff --git a/charts/dex/README.md b/charts/dex/README.md index 8233376b..d94ff02e 100644 --- a/charts/dex/README.md +++ b/charts/dex/README.md @@ -1,6 +1,6 @@ # dex -![version: 0.24.1](https://img.shields.io/badge/version-0.24.1-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.44.0](https://img.shields.io/badge/app%20version-2.44.0-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.24.2](https://img.shields.io/badge/version-0.24.2-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.44.0](https://img.shields.io/badge/app%20version-2.44.0-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. @@ -134,6 +134,7 @@ ingress: | serviceAccount.create | bool | `true` | Enable service account creation. | | serviceAccount.annotations | object | `{}` | Annotations to be added to the service account. | | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. | +| serviceAccount.automountServiceAccountToken | bool | `true` | Automount the service account token into the pod. | | rbac.create | bool | `true` | Specifies whether RBAC resources should be created. If disabled, the operator is responsible for creating the necessary resources based on the templates. | | rbac.createClusterScoped | bool | `true` | Specifies which RBAC resources should be created. If disabled, the operator is responsible for creating the necessary resources (ClusterRole and RoleBinding or CRD's) | | deploymentAnnotations | object | `{}` | Annotations to be added to deployment. | diff --git a/charts/dex/templates/deployment.yaml b/charts/dex/templates/deployment.yaml index 607cafdd..76ed47b7 100644 --- a/charts/dex/templates/deployment.yaml +++ b/charts/dex/templates/deployment.yaml @@ -44,6 +44,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "dex.serviceAccountName" . }} + automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }} {{- with .Values.priorityClassName }} priorityClassName: {{ . | quote }} {{- end }} diff --git a/charts/dex/values.yaml b/charts/dex/values.yaml index e35c66a8..68c5eebd 100644 --- a/charts/dex/values.yaml +++ b/charts/dex/values.yaml @@ -104,6 +104,9 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template. name: "" + # -- Automount the service account token into the pod. + automountServiceAccountToken: true + rbac: # -- Specifies whether RBAC resources should be created. # If disabled, the operator is responsible for creating the necessary resources based on the templates.