Skip to content

Commit ea9c4fc

Browse files
author
Robin LIORET
committed
feat: kustomize: add affinity, nodeSelector and tolerations default
1 parent b5a66b0 commit ea9c4fc

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
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,6 +96,8 @@ spec:
9696
# operator: In
9797
# values:
9898
# - linux
99+
nodeSelector: {}
100+
tolerations: []
99101
securityContext:
100102
# Projects are configured by default to adhere to the "restricted" Pod Security Standards.
101103
# This ensures that deployments meet the highest security requirements for Kubernetes.

0 commit comments

Comments
 (0)