Skip to content

Commit 549ccb2

Browse files
feat: add PDBs
1 parent 163c0fa commit 549ccb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/gitops-runtime/templates/_components/cap-app-proxy/_pdb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ spec:
1717
{{- fail (printf "ERROR: pdb.minAvailable or pdb.maxUnavailable is required!" ) }}
1818
{{- end }}
1919
selector:
20-
{{- include "cap-app-proxy.selectorLabels" . | nindent 4 }}
20+
matchLabels: {{- include "cap-app-proxy.selectorLabels" . | nindent 6 }}
2121
{{- end }}

charts/gitops-runtime/templates/_components/internal-router/_pdb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ spec:
1717
{{- fail (printf "ERROR: pdb.minAvailable or pdb.maxUnavailable is required!" ) }}
1818
{{- end }}
1919
selector:
20-
{{- include "internal-router.selectorLabels" . | nindent 4 }}
20+
matchLabels: {{- include "internal-router.selectorLabels" . | nindent 6 }}
2121
{{- end }}

0 commit comments

Comments
 (0)