infra/helm/platform/templates/pdb.yaml
Metadata
- Purpose: Kubernetes Helm chart template or values configuration.
- Domain:
infrastructure - Language:
yaml - Bytes: 702
- Lines: 26
- Content hash (short):
37b2e66c - Source (start): infra/helm/platform/templates/pdb.yaml:1
- Source (end): infra/helm/platform/templates/pdb.yaml:26
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 }}