Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/dex] Add imagePullSecrets #22956

Merged
merged 2 commits into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/dex/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: dex
version: 2.12.0
version: 2.13.0
appVersion: 2.24.0
description: OpenID Connect Identity (OIDC) and OAuth 2.0 Provider with Pluggable Connectors
keywords:
Expand Down
1 change: 1 addition & 0 deletions stable/dex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Parameters introduced starting from v2
| `readinessProbe.periodSeconds` | How often (in seconds) to perform the probe | `10` |
| `readinessProbe.timeoutSeconds` | Number of seconds after which the probe times out | `1` |
| `readinessProbe.failureThreshold` | Times to perform probe before marking the container `Unready` | `3` |
| `imagePullSecrets` | Allows to run containers based on images in private registries. | `{}` |


Check [values.yaml](values.yaml) notes together with [dex documentation][dex] and [config examples](https://github.com/dexidp/dex/tree/master/examples) for all the possible configuration options.
Expand Down
4 changes: 4 additions & 0 deletions stable/dex/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ spec:
{{- if ne (len .Values.extraVolumeMounts) 0 }}
{{ toYaml .Values.extraVolumeMounts | indent 8 }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
{{- end }}
volumes:
- secret:
defaultMode: 420
Expand Down
1 change: 1 addition & 0 deletions stable/dex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
image: quay.io/dexidp/dex
imageTag: "v2.24.0"
imagePullPolicy: "IfNotPresent"
imagePullSecrets: {}

inMiniKube: false

Expand Down