Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
[stable/dex] Pod annotations Dex (helm#14979)
Browse files Browse the repository at this point in the history
* [stable/dex] Add pod annotations

Added the ability to configure your own pod annotations to the
deployment of dex.

An example:
``` yaml
podAnnotations:
  prometheus.io/path: "/metrics"
  prometheus.io/port: "5558"
  prometheus.io/scrape: "true"
```

Signed-off-by: Rick Haan <[email protected]>

* [stable/dex] Bump minor chart version

My pull request adds functionality in a backwards-compatible manner.
This means a bump in the minor version of the chart.

Signed-off-by: Rick Haan <[email protected]>
Signed-off-by: Andrii Nasinnyk <[email protected]>
  • Loading branch information
RickHaan authored and anasinnyk committed Jun 29, 2019
1 parent 2068164 commit 01f361c
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 1.4.0
version: 1.5.0
appVersion: 2.16.0
description: CoreOS Dex
keywords:
Expand Down
3 changes: 3 additions & 0 deletions stable/dex/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
release: "{{ .Release.Name }}"
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
serviceAccountName: {{ template "dex.serviceAccountName" . }}
nodeSelector:
Expand Down
2 changes: 2 additions & 0 deletions stable/dex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ inMiniKube: false

nodeSelector: {}

podAnnotations: {}

tolerations: []
# - key: CriticalAddonsOnly
# operator: Exists
Expand Down

0 comments on commit 01f361c

Please sign in to comment.