Skip to content

Commit

Permalink
[stable/dex] Add imagePullSecrets (helm#22956)
Browse files Browse the repository at this point in the history
* [stable/dex] Add imagePullSecrets

Signed-off-by: Konstantinos Sideris <[email protected]>

* Add docs and default value

Signed-off-by: Konstantinos Sideris <[email protected]>
  • Loading branch information
mujx authored and KinsheX committed Jul 20, 2020
1 parent 8b48b6c commit b06e321
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
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

0 comments on commit b06e321

Please sign in to comment.