Added ability to add extra podAnnotations (#7570)

Signed-off-by: towmeykaw <tkindmark@gmail.com>
This commit is contained in:
Tommy Kindmark
2018-09-14 03:41:38 -07:00
committed by k8s-ci-robot
parent 1efbb07e71
commit 625969a6f9
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: rabbitmq-ha
apiVersion: v1
appVersion: 3.7.4
version: 1.9.1
version: 1.10.0
description: Highly available RabbitMQ cluster, the open source message broker
software that implements the Advanced Message Queuing Protocol (AMQP).
keywords:
+1
View File
@@ -133,6 +133,7 @@ and their default values.
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `service.type` | Type of service to create | `ClusterIP` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `podAnnotations` | Extra annotations to add to pod | `{}` |
| `terminationGracePeriodSeconds` | Duration pod needs to terminate gracefully | `10` |
| `updateStrategy` | Statefulset update strategy | `OnDelete` |
| `extraLabels` | Labels to add to the Resources | `{}` |
@@ -30,6 +30,9 @@ spec:
{{- if and .Values.prometheus.exporter.enabled (not .Values.prometheus.operator.enabled) }}
prometheus.io/scrape: "true"
prometheus.io/port: {{ .Values.prometheus.exporter.port | quote }}
{{- end }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.image.pullSecrets }}
+3
View File
@@ -259,6 +259,9 @@ nodeSelector: {}
##
tolerations: []
## Extra Annotations to be added to pod
podAnnotations: {}
## Pod affinity
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
podAntiAffinity: soft