Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HPA, PDB and Pod Affinity for both Operator and Connect components #170

Merged
merged 9 commits into from
Aug 27, 2024
Prev Previous commit
Next Next commit
Fix indents for both deployments
  • Loading branch information
dapama authored and volodymyrZotov committed Aug 27, 2024
commit fa6272126710206b2c00db13d974c980f5d59db2
6 changes: 3 additions & 3 deletions charts/connect/templates/connect-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ spec:
spec:
{{- with .Values.connect.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.operator.affinity }}
{{- with .Values.connect.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand All @@ -53,7 +53,7 @@ spec:
secretName: {{ .Values.connect.tls.secret }}
{{- end }}
tolerations:
{{ toYaml .Values.connect.tolerations | indent 8 }}
{{- toYaml .Values.connect.tolerations | nindent 8 }}
containers:
- name: {{ .Values.connect.api.name }}
image: {{ .Values.connect.api.imageRepository }}:{{ tpl .Values.connect.version . }}
Expand Down
4 changes: 2 additions & 2 deletions charts/connect/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ spec:
spec:
{{- with .Values.operator.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.operator.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
tolerations:
{{ toYaml .Values.operator.tolerations | indent 8 }}
{{- toYaml .Values.operator.tolerations | nindent 8 }}
serviceAccountName: {{ .Values.operator.serviceAccount.name }}
containers:
- name: {{ .Values.connect.applicationName }}
Expand Down