mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 14:57:22 +08:00
* [bitnami/redis] New major version Signed-off-by: juan131 <juanariza@vmware.com> * Fix schema json Signed-off-by: juan131 <juanariza@vmware.com> * Remove trailing spaces Signed-off-by: juan131 <juanariza@vmware.com> * Improve scripts indentation Signed-off-by: juan131 <juanariza@vmware.com> * Fix scripts for sentinel Signed-off-by: juan131 <juanariza@vmware.com> * Deprecate usePassword Signed-off-by: juan131 <juanariza@vmware.com> * Port name to meet limitations Signed-off-by: juan131 <juanariza@vmware.com> * Include password validations during upgrades Signed-off-by: juan131 <juanariza@vmware.com> * Implemented requested changes from code review Signed-off-by: juan131 <juanariza@vmware.com> * Use port names compatible with IstIO Signed-off-by: juan131 <juanariza@vmware.com> * Add lifecyclehooks and fix typos * Allow custom networkpolicy rules for ingress & egress * [bitnami/redis] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
24 lines
885 B
YAML
24 lines
885 B
YAML
{{- if .Values.pdb.create }}
|
|
apiVersion: policy/v1beta1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ template "common.names.fullname" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- if .Values.pdb.minAvailable }}
|
|
minAvailable: {{ .Values.pdb.minAvailable }}
|
|
{{- end }}
|
|
{{- if .Values.pdb.maxUnavailable }}
|
|
maxUnavailable: {{ .Values.pdb.maxUnavailable }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
|
|
{{- end }}
|