Skip to content
Permalink
Browse files
Add support for pod annotations
Ported from helm/charts#16794.

Co-authored-by: Sylvain Perrinel <sylvain.perrinel@gmail.com>
  • Loading branch information
willholley and Pinpin31 committed Oct 31, 2019
1 parent 40832bb commit e98bd87e8312a1b94a1b779bccb9f165ddb7e576
Showing 3 changed files with 8 additions and 0 deletions.
@@ -132,6 +132,7 @@ A variety of other parameters are also configurable. See the comments in the
| `persistentVolume.storageClass` | Default for the Kube cluster |
| `podManagementPolicy` | Parallel |
| `affinity` | |
| `annotations` | |
| `resources` | |
| `service.annotations` | |
| `service.enabled` | true |
@@ -18,6 +18,10 @@ spec:
metadata:
labels:
{{ include "couchdb.ss.selector" . | indent 8 }}
{{- with .Values.annotations }}
annotations:
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- if .Values.schedulerName }}
schedulerName: "{{ .Values.schedulerName }}"
@@ -80,6 +80,9 @@ affinity:
# - couchdb
# topologyKey: "kubernetes.io/hostname"

## Optional pod annotations
annotations:

## A StatefulSet requires a headless Service to establish the stable network
## identities of the Pods, and that Service is created automatically by this
## chart without any additional configuration. The Service block below refers

0 comments on commit e98bd87

Please sign in to comment.