Add the ability to specify pod labels (#11201)

Signed-off-by: Matthew DeVenny <matt@boxboat.com>
This commit is contained in:
boxboatmatt
2019-04-29 12:05:35 -07:00
committed by Kubernetes Prow Robot
parent c7a5824aae
commit aa13c0e034
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Vault, a tool for managing secrets
name: vault
version: 0.18.3
version: 0.18.4
appVersion: 1.0.1
home: https://www.vaultproject.io/
icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg
+1
View File
@@ -75,6 +75,7 @@ The following table lists the configurable parameters of the Vault chart and the
| `labels` | Extra labels for deployment | `{}` |
| `ingress.labels` | Labels for ingress | `{}` |
| `podAnnotations` | Annotations for pods | `{}` |
| `podLabels` | Extra labels for pods | `{}` |
| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `false` |
| `consulAgent.join` | If set, start start a consul agent | `nil` |
| `consulAgent.repository` | Container image for consul agent | `consul` |
@@ -23,6 +23,9 @@ spec:
labels:
app: {{ template "vault.name" . }}
release: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- range $key, $value := .Values.podAnnotations }}
+5
View File
@@ -117,7 +117,12 @@ annotations: {}
## Extra Deployment labels
labels: {}
## Pod annotations
podAnnotations: {}
## Pod labels
podLabels: {}
## Read more about kube2iam to provide access to s3 https://github.com/jtblin/kube2iam
# iam.amazonaws.com/role: role-arn