Add podAnnotations

This commit is contained in:
Etienne Tremel 2018-03-09 14:12:48 +00:00
parent 08df3631fa
commit 04262e2b88
3 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,7 @@ The following tables lists the configurable parameters of the cert-manager chart
| `ingressShim.image.repository` | Image repository for ingress-shim | `quay.io/jetstack/cert-manager-ingress-shim` |
| `ingressShim.image.tag` | Image tag for ingress-shim. Defaults to `image.tag` if empty | `` |
| `ingressShim.image.pullPolicy` | Image pull policy for ingress-shim | `IfNotPresent` |
| `podAnnotations` | Annotations to add to each pod | `{}` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

View File

@ -15,6 +15,10 @@ spec:
labels:
app: {{ template "cert-manager.name" . }}
release: {{ .Release.Name }}
annotations:
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
serviceAccountName: {{ template "cert-manager.serviceAccountName" . }}
containers:

View File

@ -34,6 +34,8 @@ resources: {}
# cpu: 10m
# memory: 32Mi
podAnnotations: {}
nodeSelector: {}
ingressShim: