This repository was archived by the owner on Sep 30, 2020. It is now read-only.
File tree 4 files changed +5
-1
lines changed
4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ func NewDefaultCluster() *Cluster {
215
215
AdminPrivileges : true ,
216
216
InsecureLogin : false ,
217
217
AllowSkipLogin : false ,
218
+ Replicas : 1 ,
218
219
Enabled : true ,
219
220
},
220
221
Kubernetes : Kubernetes {
@@ -874,6 +875,7 @@ type KubernetesDashboard struct {
874
875
InsecureLogin bool `yaml:"insecureLogin"`
875
876
AllowSkipLogin bool `yaml:"allowSkipLogin"`
876
877
Enabled bool `yaml:"enabled"`
878
+ Replicas int `yaml:"replicas,omitempty"`
877
879
ComputeResources ComputeResources `yaml:"resources,omitempty"`
878
880
}
879
881
Original file line number Diff line number Diff line change @@ -4214,7 +4214,7 @@ write_files:
4214
4214
name: kubernetes-dashboard
4215
4215
namespace: kube-system
4216
4216
spec:
4217
- replicas: 1
4217
+ replicas: {{ .KubernetesDashboard.Replicas }}
4218
4218
revisionHistoryLimit: 10
4219
4219
selector:
4220
4220
matchLabels:
Original file line number Diff line number Diff line change @@ -1272,6 +1272,7 @@ kubernetesDashboard:
1272
1272
adminPrivileges : true
1273
1273
insecureLogin : false
1274
1274
allowSkipLogin : false # Only set to true when using dashboard image version v1.10.1+
1275
+ replicas : 1 # 1 is the default
1275
1276
enabled : true
1276
1277
# # Optional resource change for Dashboard can be done via using the resources block below and changing the values.
1277
1278
# # Values below are the default already if not set.
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ kubernetesDashboard:
7
7
adminPrivileges : true
8
8
insecureLogin : false
9
9
allowSkipLogin : false # Only set to true when using dashboard image version v1.10.1+
10
+ replicas : 1 # 1 is the default
10
11
enabled : true
11
12
resources :
12
13
requests :
You can’t perform that action at this time.
0 commit comments