Configurable podLabels (#2566)

This commit is contained in:
Louis-Etienne
2017-10-31 15:44:38 -04:00
committed by Matt Farina
parent b91836d54a
commit 6254496149
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: redis
version: 1.0.1
version: 1.0.2
appVersion: 4.0.2
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
keywords:
+3
View File
@@ -12,6 +12,9 @@ spec:
metadata:
labels:
app: {{ template "redis.fullname" . }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
securityContext:
runAsUser: 1001
+4
View File
@@ -75,6 +75,10 @@ resources:
nodeSelector: {}
tolerations: []
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
networkPolicy:
## Enable creation of NetworkPolicy resources.
##