|
{{- 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 }}
deploy-sourcegraph-helm/charts/sourcegraph/templates/frontend/sourcegraph-frontend.PodDisruptionBudget.yaml
Lines 1 to 11 in f35310c
This is missing matchLabels and should look like