mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Configurable podLabels (#2566)
This commit is contained in:
committed by
Matt Farina
parent
b91836d54a
commit
6254496149
@@ -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:
|
||||
|
||||
@@ -12,6 +12,9 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "redis.fullname" . }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{ toYaml .Values.podLabels | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
securityContext:
|
||||
runAsUser: 1001
|
||||
|
||||
@@ -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.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user