File tree 2 files changed +13
-70
lines changed
charts/tke-extend-network-controller
2 files changed +13
-70
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
name : {{ include "tke-extend-network-controller.fullname" . }}
7
7
namespace : {{ .Release.Namespace | quote }}
8
8
spec :
9
- replicas : 1
9
+ replicas : {{ .Values.replicaCount }}
10
10
selector :
11
11
matchLabels :
12
12
{{- include "tke-extend-network-controller.selectorLabels" . | nindent 6 }}
59
59
secret :
60
60
defaultMode : 420
61
61
secretName : {{ include "tke-extend-network-controller.fullname" . }}-webhook-server-cert
62
-
62
+ {{- with .Values.nodeSelector }}
63
+ nodeSelector :
64
+ {{- toYaml . | nindent 8 }}
65
+ {{- end }}
66
+ {{- with .Values.affinity }}
67
+ affinity :
68
+ {{- toYaml . | nindent 8 }}
69
+ {{- end }}
70
+ {{- with .Values.tolerations }}
71
+ tolerations :
72
+ {{- toYaml . | nindent 8 }}
73
+ {{- end }}
Original file line number Diff line number Diff line change @@ -22,54 +22,6 @@ imagePullSecrets: []
22
22
nameOverride : " "
23
23
fullnameOverride : " "
24
24
25
- serviceAccount :
26
- # Specifies whether a service account should be created
27
- create : true
28
- # Automatically mount a ServiceAccount's API credentials?
29
- automount : true
30
- # Annotations to add to the service account
31
- annotations : {}
32
- # The name of the service account to use.
33
- # If not set and create is true, a name is generated using the fullname template
34
- name : " "
35
-
36
- podAnnotations : {}
37
- podLabels : {}
38
-
39
- podSecurityContext :
40
- {}
41
- # fsGroup: 2000
42
-
43
- securityContext :
44
- {}
45
- # capabilities:
46
- # drop:
47
- # - ALL
48
- # readOnlyRootFilesystem: true
49
- # runAsNonRoot: true
50
- # runAsUser: 1000
51
-
52
- service :
53
- type : ClusterIP
54
- port : 80
55
-
56
- ingress :
57
- enabled : false
58
- className : " "
59
- annotations :
60
- {}
61
- # kubernetes.io/ingress.class: nginx
62
- # kubernetes.io/tls-acme: "true"
63
- hosts :
64
- - host : chart-example.local
65
- paths :
66
- - path : /
67
- pathType : ImplementationSpecific
68
- tls : []
69
- # - secretName: chart-example-tls
70
- # hosts:
71
- # - chart-example.local
72
-
73
25
resources :
74
26
{}
75
27
# We usually recommend not to specify default resources and to leave this as a conscious
@@ -97,26 +49,6 @@ readinessProbe:
97
49
initialDelaySeconds : 5
98
50
periodSeconds : 10
99
51
100
- autoscaling :
101
- enabled : false
102
- minReplicas : 1
103
- maxReplicas : 100
104
- targetCPUUtilizationPercentage : 80
105
- # targetMemoryUtilizationPercentage: 80
106
-
107
- # Additional volumes on the output Deployment definition.
108
- volumes : []
109
- # - name: foo
110
- # secret:
111
- # secretName: mysecret
112
- # optional: false
113
-
114
- # Additional volumeMounts on the output Deployment definition.
115
- volumeMounts : []
116
- # - name: foo
117
- # mountPath: "/etc/foo"
118
- # readOnly: true
119
-
120
52
nodeSelector : {}
121
53
122
54
tolerations : []
You can’t perform that action at this time.
0 commit comments