-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Lines 1 to 11 in f35310c
| {{- if .Values.frontend.podDisruptionBudget }} | |
| apiVersion: policy/v1 | |
| kind: PodDisruptionBudget | |
| metadata: | |
| name: sourcegraph-frontend | |
| spec: | |
| {{- toYaml .Values.frontend.podDisruptionBudget | nindent 2 }} | |
| selector: | |
| {{- include "sourcegraph.selectorLabels" . | nindent 4 }} | |
| app: sourcegraph-frontend | |
| {{- end }} |
This is missing matchLabels and should look like
{{- if .Values.frontend.podDisruptionBudget }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: sourcegraph-frontend
spec:
{{- toYaml .Values.frontend.podDisruptionBudget | nindent 2 }}
selector:
matchLabels: ## <<<
{{- include "sourcegraph.selectorLabels" . | nindent 6 }}
app: sourcegraph-frontend
{{- end }} Metadata
Metadata
Assignees
Labels
No labels