Skip to content
Snippets Groups Projects
Commit 2158fed6 authored by Pat Riehecky's avatar Pat Riehecky Committed by Derek Su
Browse files

helm: add location for setting PodDisruptionBudget


Signed-off-by: default avatarPat Riehecky <riehecky@fnal.gov>
parent 1b8a42a3
No related branches found
No related tags found
No related merge requests found
{{- if .Values.podDisruptionBudget.enabled -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "local-path-provisioner.fullname" . }}
namespace: {{ include "local-path-provisioner.namespace" . }}
labels:
{{ include "local-path-provisioner.labels" . | indent 4 }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "local-path-provisioner.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- toYaml (omit .Values.podDisruptionBudget "enabled") | indent 2 }}
{{- end -}}
...@@ -146,6 +146,9 @@ tolerations: [] ...@@ -146,6 +146,9 @@ tolerations: []
affinity: {} affinity: {}
podDisruptionBudget:
enabled: false
configmap: configmap:
# specify the config map name # specify the config map name
name: local-path-config name: local-path-config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment