Apply suggestions from code review

Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
TheRealNoob 2024-06-12 09:40:39 -07:00 committed by GitHub
parent b2c8a8bb00
commit a40ee5ae0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 11 deletions

View file

@ -203,7 +203,7 @@ spec:
tolerations: {{ toYaml .Values.controller.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.controller.affinity }}
affinity: {{ tpl ( toYaml .Values.controller.affinity ) $ | nindent 8 }}
affinity: {{ tpl (toYaml .Values.controller.affinity) $ | nindent 8 }}
{{- end }}
{{- if .Values.controller.topologySpreadConstraints }}
topologySpreadConstraints: {{ tpl (toYaml .Values.controller.topologySpreadConstraints) $ | nindent 8 }}

View file

@ -206,7 +206,7 @@ spec:
tolerations: {{ toYaml .Values.controller.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.controller.affinity }}
affinity: {{ tpl ( toYaml .Values.controller.affinity ) $ | nindent 8 }}
affinity: {{ tpl (toYaml .Values.controller.affinity) $ | nindent 8 }}
{{- end }}
{{- if .Values.controller.topologySpreadConstraints }}
topologySpreadConstraints: {{ tpl (toYaml .Values.controller.topologySpreadConstraints) $ | nindent 8 }}

View file

@ -107,7 +107,7 @@ spec:
tolerations: {{ toYaml .Values.defaultBackend.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.defaultBackend.affinity }}
affinity: {{ tpl ( toYaml .Values.defaultBackend.affinity ) $ | nindent 8 }}
affinity: {{ tpl (toYaml .Values.defaultBackend.affinity) $ | nindent 8 }}
{{- end }}
{{- if .Values.defaultBackend.topologySpreadConstraints }}
topologySpreadConstraints: {{ tpl (toYaml .Values.defaultBackend.topologySpreadConstraints) $ | nindent 8 }}

View file

@ -260,13 +260,11 @@ controller:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - |-
# {{ include "ingress-nginx.name" . }}
# - '{{ include "ingress-nginx.name" . }}'
# - key: app.kubernetes.io/instance
# operator: In
# values:
# - |-
# {{ .Release.Name }}
# - '{{ .Release.Name }}'
# - key: app.kubernetes.io/component
# operator: In
# values:
@ -281,13 +279,11 @@ controller:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - |-
# {{ include "ingress-nginx.name" . }}
# - '{{ include "ingress-nginx.name" . }}'
# - key: app.kubernetes.io/instance
# operator: In
# values:
# - |-
# {{ .Release.Name }}
# - '{{ .Release.Name }}'
# - key: app.kubernetes.io/component
# operator: In
# values: