/
values.yaml
181 lines (171 loc) · 6.57 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
## @section Global parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
global:
## @param global.certManagerEnabled Enable this value to install Keptn Certificate Manager
certManagerEnabled: true
## @param global.imageRegistry Global container image registry
imageRegistry: "ghcr.io"
## @param global.imagePullSecrets Global Docker registry secret names as an array
## E.g.
## imagePullSecrets:
## - myRegistryKeySecretName
##
imagePullSecrets: []
## @param global.imagePullPolicy specify global pull policy
imagePullPolicy: ""
## @param global.commonLabels Common labels to add to all Keptn resources. Evaluated as a template
##
commonLabels: { }
## @param global.commonAnnotations Common annotations to add to all Keptn resources. Evaluated as a template
##
commonAnnotations: { }
## @param global.caInjectionAnnotations CA injection annotations for cert-manager.io configuration
##
caInjectionAnnotations: { }
openShift:
## @param global.openShift.enabled Enable this value to install on Openshift
enabled: false
## @section Keptn Metrics Operator common
## @extra operatorService.ports[0] webhook port (must correspond to Mutating Webhook Configurations)
## @extra operatorService.ports[1] port to integrate with the K8s custom metrics API
## @extra operatorService.ports[2] port to integrate with metrics API (e.g. Keda)
operatorService:
ports:
## @param operatorService.ports[0].name
- name: https
## @param operatorService.ports[0].port
port: 8443
## @param operatorService.ports[0].protocol
protocol: TCP
## @param operatorService.ports[0].targetPort
targetPort: https
## @param operatorService.ports[1].name
- name: custom-metrics
## @param operatorService.ports[1].port
port: 443
## @param operatorService.ports[1].targetPort
targetPort: custom-metrics
## @param operatorService.ports[2].name
- name: metrics
## @param operatorService.ports[2].port
port: 9999
## @param operatorService.ports[2].protocol
protocol: TCP
## @param operatorService.ports[2].targetPort
targetPort: metrics
## @param operatorService.type
type: ClusterIP
config:
health:
## @param config.health.healthProbeBindAddress setup on what address to start the default health handler
healthProbeBindAddress: :8081
leaderElection:
## @param config.leaderElection.leaderElect decides whether to enable leader election with multiple replicas
leaderElect: true
## @param config.leaderElection.resourceName defines LeaderElectionID
resourceName: 3f8532ca.keptn.sh
metrics:
## @param config.metrics.bindAddress MetricsBindAddress is the TCP address that the controller should bind to for serving prometheus metrics. It can be set to "0" to disable the metrics serving.
bindAddress: 127.0.0.1:8080
webhook:
## @param config.webhook.port
port: 9443
## @extra Mutating Webhook Configurations for metrics Operator
webhookService:
ports:
## @param webhookService.ports[0].port
- port: 443
## @param webhookService.ports[0].protocol
protocol: TCP
## @param webhookService.ports[0].targetPort
targetPort: 9443
## @param webhookService.type
type: ClusterIP
## @param nodeSelector add custom nodes selector to metrics operator
nodeSelector: { }
## @param replicas customize number of installed metrics operator replicas
replicas: 1
## @param tolerations add custom tolerations to metrics operator
tolerations: [ ]
## @param topologySpreadConstraints add custom topology constraints to metrics operator
topologySpreadConstraints: [ ]
## @param annotations add deployment level annotations
annotations: {}
## @param podAnnotations adds pod level annotations
podAnnotations: {}
## @param kubernetesClusterDomain overrides cluster.local
kubernetesClusterDomain: cluster.local
customMetricsAPIService:
## @param customMetricsAPIService.enabled enable/disable the K8s APIService installation
enabled: "true"
## @section Keptn Metrics Operator controller
## @extra containerSecurityContext Sets security context privileges
containerSecurityContext:
## @param containerSecurityContext.allowPrivilegeEscalation
allowPrivilegeEscalation: false
capabilities:
## @param containerSecurityContext.capabilities.drop
drop:
- ALL
## @param containerSecurityContext.privileged
privileged: false
## @param containerSecurityContext.runAsGroup
runAsGroup: 65532
## @param containerSecurityContext.runAsNonRoot
runAsNonRoot: true
## @param containerSecurityContext.runAsUser
runAsUser: 65532
seccompProfile:
## @param containerSecurityContext.seccompProfile.type
type: RuntimeDefault
env:
## @param env.exposeKeptnMetrics enable metrics exporter
exposeKeptnMetrics: "true"
## @param env.metricsControllerLogLevel sets the log level of Metrics Controller
metricsControllerLogLevel: "0"
## @param env.analysisControllerLogLevel sets the log level of Analysis Controller
analysisControllerLogLevel: "0"
image:
## @param image.registry specify the container registry for the metrics-operator image
registry: ""
## @param image.repository specify registry for manager image
repository: keptn/metrics-operator
## @param image.tag select tag for manager image
tag: v1.0.1 # x-release-please-version
## @param image.imagePullPolicy specify pull policy for the manager image. This overrides global values
imagePullPolicy: ""
## @extra livenessProbe custom livenessprobe for manager container
## @skip livenessProbe.httpGet.path
## @skip livenessProbe.httpGet.port
## @skip livenessProbe.initialDelaySeconds
## @skip livenessProbe.periodSeconds
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
## @extra readinessProbe custom readinessprobe for manager container
## @skip readinessProbe.httpGet.path
## @skip readinessProbe.httpGet.port
## @skip readinessProbe.initialDelaySeconds
## @skip readinessProbe.periodSeconds
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
## @extra resources specify limits and requests for manager container
## @skip resources.limits.cpu
## @skip resources.limits.memory
## @skip resources.requests.cpu
## @skip resources.requests.memory
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 10m
memory: 64Mi