Skip to content

Commit

Permalink
Merge pull request #31 from mattsre/patch-1
Browse files Browse the repository at this point in the history
fix: check pdb under agent
  • Loading branch information
ryanwohara authored Nov 16, 2023
2 parents 7df49b8 + 78f203d commit a610e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ spec:
{{- if .Values.agent.pdb.minAvailable }}
minAvailable: {{ .Values.agent.pdb.minAvailable }}
{{- end }}
{{- if .Values.pdb.maxUnavailable }}
{{- if .Values.agent.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.agent.pdb.maxUnavailable }}
{{- end }}
selector:
matchLabels: {{- toYaml .Values.agent.matchLabels | indent 6 }}
{{- end }}
{{- end }}

0 comments on commit a610e38

Please sign in to comment.