Skip to content

Commit

Permalink
add affinity config for operator pod (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frapschen authored Mar 19, 2024
1 parent 372d1e0 commit cf5e06b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/tailing-sidecar-operator/templates/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,7 @@ spec:
- name: config
configMap:
name: {{ template "tailing-sidecar-operator.configMap.name" . }}
{{- with .Values.operator.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
2 changes: 2 additions & 0 deletions helm/tailing-sidecar-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ operator:
startupProbe: {}
# periodSeconds: 3

affinity: {}

sidecar:
image:
repository: public.ecr.aws/sumologic/tailing-sidecar
Expand Down

0 comments on commit cf5e06b

Please sign in to comment.