Skip to content

Commit cf315ce

Browse files
committed
helm: update for supported arches
Signed-off-by: Danielle Lancashire <[email protected]>
1 parent 2992ccd commit cf315ce

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

charts/spin-operator/templates/deployment.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ spec:
2222
annotations:
2323
kubectl.kubernetes.io/default-container: manager
2424
spec:
25+
affinity:
26+
nodeAffinity:
27+
requiredDuringSchedulingIgnoredDuringExecution:
28+
nodeSelectorTerms:
29+
- matchExpressions:
30+
- key: kubernetes.io/arch
31+
operator: In
32+
values:
33+
- amd64
34+
- arm64
35+
- key: kubernetes.io/os
36+
operator: In
37+
values:
38+
- linux
2539
containers:
2640
- args: {{- toYaml .Values.controllerManager.manager.args | nindent 8 }}
2741
command:

0 commit comments

Comments
 (0)