Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ spec:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: kangalpatch
app.kubernetes.io/component: manager
topologyKey: kubernetes.io/hostname
containers:
- name: manager
image: ghcr.io/uozalp/kangal-patch:0.1.1
Expand Down
9 changes: 8 additions & 1 deletion helm/kangal-patch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ nodeSelector: {}

tolerations: []

affinity: {}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: kangalpatch
app.kubernetes.io/component: manager
topologyKey: kubernetes.io/hostname

# Controller manager settings
controllerManager:
Expand Down
Loading