Skip to content

Commit 06e52ca

Browse files
author
Robin LIORET
committed
feat: recomment affinity, tolerations and nodeSelector
Signed-off-by: Robin LIORET <robin.lioret@darylsocialsoftware.com>
1 parent 9332b7d commit 06e52ca

File tree

1 file changed

+9
-3
lines changed
  • pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager

1 file changed

+9
-3
lines changed

pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager/config.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ spec:
8080
# according to the platforms which are supported by your solution.
8181
# It is considered best practice to support multiple architectures. You can
8282
# build your manager image using the makefile target docker-buildx.
83-
affinity: {}
83+
# affinity:
8484
# nodeAffinity:
8585
# requiredDuringSchedulingIgnoredDuringExecution:
8686
# nodeSelectorTerms:
@@ -96,8 +96,14 @@ spec:
9696
# operator: In
9797
# values:
9898
# - linux
99-
nodeSelector: {}
100-
tolerations: []
99+
# TODO(user): Uncomment the following code to configure the nodeSelector.
100+
# nodeSelector:
101+
# kubernetes.io/os: linux
102+
# TODO(user): Uncomment the following code to configure the tolerations.
103+
# tolerations:
104+
# - key: "key1"
105+
# operator: "Exists"
106+
# effect: "NoSchedule"
101107
securityContext:
102108
# Projects are configured by default to adhere to the "restricted" Pod Security Standards.
103109
# This ensures that deployments meet the highest security requirements for Kubernetes.

0 commit comments

Comments
 (0)