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

Fix/update-helm-charts #2637

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
4 changes: 2 additions & 2 deletions charts/splunk-connect-for-syslog/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:

spec:
type: {{ .Values.service.type }}
externalTrafficPolicy: Local
externalTrafficPolicy: {{ .Values.externalTrafficPolicy }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
Expand Down Expand Up @@ -92,7 +92,7 @@ metadata:
{{- include "splunk-connect-for-syslog.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
externalTrafficPolicy: Local
externalTrafficPolicy: {{ .Values.externalTrafficPolicy }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions charts/splunk-connect-for-syslog/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
affinity:
{{- with .Values.nodeAffinity }}
nodeAffinity:
{{- toYaml . | nindent 10 }}
{{- end }}
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
Expand Down
4 changes: 4 additions & 0 deletions charts/splunk-connect-for-syslog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,8 @@ autoscaling:

nodeSelector: {}

nodeAffinity: {}

tolerations: []

externalTrafficPolicy: Cluster
Loading