Skip to main content

infra/helm/platform/templates/pdb.yaml

Metadata

Indexed Symbols

No indexed functions/methods detected in this file.

Markdown Headings (if applicable)

No markdown headings detected.

Source Preview

{{- if and .Values.podDisruptionBudget.enabled .Values.web.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: anchor-web-pdb
namespace: {{ .Values.namespace.name }}
spec:
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app.kubernetes.io/name: anchor-web
---
{{- end }}
{{- if and .Values.podDisruptionBudget.enabled .Values.gateway.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: anchor-gateway-pdb
namespace: {{ .Values.namespace.name }}
spec:
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app.kubernetes.io/name: anchor-gateway
{{- end }}