1
- # # Number of replicas
2
- replicaCount : 1
3
-
4
- annotations : {}
5
- # # Here labels can be added to the kubernetes dashboard deployment
6
-
7
- securityContext :
8
- runAsNonRoot : true
9
- seccompProfile :
10
- type : RuntimeDefault
11
-
12
- # # SecurityContext defaults for the kubernetes dashboard container and metrics scraper container
13
- # # To disable set the following configuration to null:
14
- # containerSecurityContext: null
15
- containerSecurityContext :
16
- allowPrivilegeEscalation : false
17
- readOnlyRootFilesystem : true
18
- runAsUser : 1001
19
- runAsGroup : 2001
20
- capabilities :
21
- drop : ["ALL"]
22
-
23
- # # @param podLabels Extra labels for OAuth2 Proxy pods
24
- # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
25
- # #
26
- podLabels : {}
27
- # # @param podAnnotations Annotations for OAuth2 Proxy pods
28
- # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
29
- # #
30
- podAnnotations :
31
- co.elastic.logs/enabled : " true"
32
-
33
- # # Node labels for pod assignment
34
- # # Ref: https://kubernetes.io/docs/user-guide/node-selection/
35
- # #
36
- nodeSelector :
37
- kubernetes.io/os : linux
38
-
39
- # # List of node taints to tolerate (requires Kubernetes >= 1.6)
40
- tolerations : []
41
-
42
- # # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
43
- affinity :
1
+ # General configuration shared across resources
2
+ app :
3
+ # Mode determines if chart should deploy a full Dashboard with all containers or just the API.
4
+ # - dashboard - deploys all the containers
5
+ # - api - deploys just the API
6
+ mode : ' dashboard'
7
+ scheduling :
8
+ nodeSelector :
9
+ kubernetes.io/os : linux
10
+ tolerations : []
11
+ affinity :
44
12
nodeAffinity :
45
13
requiredDuringSchedulingIgnoredDuringExecution :
46
14
nodeSelectorTerms :
@@ -50,119 +18,89 @@ affinity:
50
18
values :
51
19
- " true"
52
20
53
- # # Name of Priority Class of pods
54
- # priorityClassName: ""
55
-
56
- # # Pod resource requests & limits
57
- resources :
58
- requests :
59
- cpu : 100m
60
- memory : 200Mi
61
- limits :
62
- cpu : 2
63
- memory : 200Mi
64
-
65
- # # Serve application over HTTP without TLS
66
- # #
67
- # # Note: If set to true, you may want to add --enable-insecure-login to extraArgs
68
- protocolHttp : false
69
-
70
- service :
71
- type : ClusterIP
72
- # Dashboard service port
73
- externalPort : 443
74
- annotations : {}
75
-
76
- # # Here labels can be added to the Kubernetes Dashboard service
77
- labels : {}
78
-
79
- # # Enable or disable the kubernetes.io/cluster-service label. Should be disabled for GKE clusters >=1.15.
80
- # # Otherwise, the addon manager will presume ownership of the service and try to delete it.
81
- clusterServiceLabel :
82
- enabled : true
83
- key : " kubernetes.io/cluster-service"
84
-
85
- ingress :
86
- enabled : false
87
- annotations : {}
88
- ingressClassName : ${ingress_class_name}
89
- hostname : ${hostname}
90
-
91
- paths :
92
- - /
93
- # - /*
94
-
95
- # # Custom Kubernetes Dashboard Ingress paths. Will override default paths.
96
- # #
97
- customPaths : []
98
-
99
- settings :
100
- {}
21
+ auth :
22
+ role : auth
23
+ scaling :
24
+ replicas : 1
25
+ revisionHistoryLimit : 10
26
+ service :
27
+ type : ClusterIP
28
+ resources :
29
+ requests :
30
+ cpu : 100m
31
+ memory : 200Mi
32
+ limits :
33
+ cpu : 250m
34
+ memory : 400Mi
35
+ nodeSelector :
36
+ kubernetes.io/os : linux
37
+
38
+ # API deployment configuration
39
+ api :
40
+ role : api
41
+ scaling :
42
+ replicas : 1
43
+ revisionHistoryLimit : 10
44
+ service :
45
+ type : ClusterIP
46
+ resources :
47
+ requests :
48
+ cpu : 100m
49
+ memory : 200Mi
50
+ limits :
51
+ cpu : 250m
52
+ memory : 400Mi
53
+ nodeSelector :
54
+ kubernetes.io/os : linux
55
+
56
+ # WEB UI deployment configuration
57
+ web :
58
+ role : web
59
+ scaling :
60
+ replicas : 1
61
+ revisionHistoryLimit : 10
62
+ service :
63
+ type : ClusterIP
64
+ resources :
65
+ requests :
66
+ cpu : 100m
67
+ memory : 200Mi
68
+ limits :
69
+ cpu : 250m
70
+ memory : 400Mi
71
+ nodeSelector :
72
+ kubernetes.io/os : linux
101
73
102
- # # Pinned CRDs that will be displayed in dashboard's menu
103
74
metricsScraper :
104
- # # Wether to enable dashboard-metrics-scraper
105
- enabled : false
106
- image :
107
- repository : kubernetesui/metrics-scraper
108
- tag : v1.0.9
109
- resources : {}
110
-
111
- metrics-server :
112
- enabled : false
113
- # # Example for additional args
114
- # args:
115
- # - --kubelet-preferred-address-types=InternalIP
116
- # - --kubelet-insecure-tls
117
-
118
- rbac :
119
- # Specifies whether namespaced RBAC resources (Role, Rolebinding) should be created
120
- create : true
121
-
122
- # Specifies whether cluster-wide RBAC resources (ClusterRole, ClusterRolebinding) to access metrics should be created
123
- # Independent from rbac.create parameter.
124
- clusterRoleMetrics : true
125
- clusterReadOnlyRole : false
126
-
127
-
128
- serviceAccount :
129
- # Specifies whether a service account should be created
130
- create : true
131
- # The name of the service account to use.
132
- # If not set and create is true, a name is generated using the fullname template
133
- name :
75
+ enabled : true
76
+ role : metrics-scraper
77
+ scaling :
78
+ replicas : 1
79
+ revisionHistoryLimit : 10
80
+ service :
81
+ type : ClusterIP
82
+ resources :
83
+ requests :
84
+ cpu : 100m
85
+ memory : 200Mi
86
+ limits :
87
+ cpu : 250m
88
+ memory : 400Mi
89
+ nodeSelector :
90
+ kubernetes.io/os : linux
134
91
135
- livenessProbe :
136
- # Number of seconds to wait before sending first probe
137
- initialDelaySeconds : 30
138
- # Number of seconds to wait for probe response
139
- timeoutSeconds : 30
140
92
141
- # # podDisruptionBudget
142
- # # ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
143
- podDisruptionBudget :
144
- enabled : false
145
- # # Minimum available instances; ignored if there is no PodDisruptionBudget
146
- minAvailable :
147
- # # Maximum unavailable instances; ignored if there is no PodDisruptionBudget
148
- maxUnavailable :
149
-
150
-
151
- networkPolicy :
152
- # Whether to create a network policy that allows/restricts access to the service
153
- enabled : false
154
-
155
- # Whether to set network policy to deny all ingress traffic for the kubernetes-dashboard
156
- ingressDenyAll : false
157
-
158
- podSecurityPolicy :
159
- # Specifies whether a pod security policy should be created
93
+ metrics-server :
160
94
enabled : false
161
-
162
- serviceMonitor :
163
- # Whether or not to create a Prometheus Operator service monitor.
164
- enabled : ${enable_service_monitor}
165
- # # Here labels can be added to the serviceMonitor
166
- labels : {}
167
- # # Here annotations can be added to the serviceMonitor
168
- annotations : {}
95
+ args :
96
+ - --kubelet-preferred-address-types=InternalIP
97
+ - --kubelet-insecure-tls
98
+
99
+ # # Required Kong sub-chart with DBless configuration to act as a gateway
100
+ # # for our all containers.
101
+ kong :
102
+ enabled : true
103
+ # # Configuration reference: https://docs.konghq.com/gateway/3.6.x/reference/configuration
104
+ serviceMonitor :
105
+ # Whether to create a Prometheus Operator service monitor.
106
+ enabled : ${enable_service_monitor}
0 commit comments