Skip to content

Commit

Permalink
Extra podLabels for NetworkPolicies (hyperledger#34)
Browse files Browse the repository at this point in the history
* extra podlabels for networkpolicies

Signed-off-by: hfuss <[email protected]>

* fixing pod labels when nil

Signed-off-by: hfuss <[email protected]>
  • Loading branch information
onelapahead authored May 2, 2022
1 parent 8fc2e3f commit 4ca55e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/ffperf/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- if .Values.podLabels }}
{{- toYaml .Values.podLabels | nindent 8 }}
{{- end }}
{{- include "ffperf.selectorLabels" . | nindent 8 }}
spec:
terminationGracePeriodSeconds: 60
Expand Down
2 changes: 2 additions & 0 deletions charts/ffperf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""

podLabels: {}

podAnnotations: {}

podSecurityContext: {}
Expand Down

0 comments on commit 4ca55e5

Please sign in to comment.