forked from backstage/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
449 lines (342 loc) · 13.6 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# Default values for the Backstage chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Global parameters
# Global Docker image 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
# @default -- See below
global:
# -- Global Docker image registry
imageRegistry: ""
# -- Global Docker registry secret names as an array
# </br> E.g. `imagePullSecrets: [myRegistryKeySecretName]`
imagePullSecrets: []
# -- Common parameters
# -- Override Kubernetes version
kubeVersion: ""
# -- String to partially override common.names.fullname
nameOverride: ""
# -- String to fully override common.names.fullname
fullnameOverride: ""
# -- Default Kubernetes cluster domain
clusterDomain: cluster.local
# -- Labels to add to all deployed objects
commonLabels: {}
# -- Annotations to add to all deployed objects
commonAnnotations: {}
# -- Array of extra objects to deploy with the release
extraDeploy: []
# -- Enable diagnostic mode in the Deployment
diagnosticMode:
# -- Enable diagnostic mode (all probes will be disabled and the command will be overridden)
enabled: false
# -- Command to override all containers in the Deployment
command:
- sleep
# -- Args to override all containers in the Deployment
args:
- infinity
# -- Ingress parameters
ingress:
# -- Enable the creation of the ingress resource
enabled: false
# -- Name of the IngressClass cluster resource which defines which controller will implement the resource (e.g nginx)
className: ""
# -- Additional annotations for the Ingress resource
annotations: {}
# -- Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io)
host: ""
# -- List of additional hostnames to be covered with this ingress record (e.g. a CNAME)
# <!-- E.g.
# extraHosts:
# - name: backstage.env.example.com
# path: / (Optional)
# pathType: Prefix (Optional)
# port: 7007 (Optional) -->
extraHosts: []
# -- Path to be used to expose the full route to access the backstage application (e.g: IP.nip.io/backstage)
path: "/"
# -- Ingress TLS parameters
tls:
# -- Enable TLS configuration for the host defined at `ingress.host` parameter
enabled: false
# -- The name to which the TLS Secret will be called
secretName: ""
# -- The TLS configuration for additional hostnames to be covered with this ingress record.
# <br /> Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
# <!-- E.g.
# extraTls:
# - hosts:
# - backstage.env.example.com
# secretName: backstage-env -->
extraTls: []
# -- Backstage parameters
# @default -- See below
backstage:
# -- Number of deployment replicas
replicas: 1
# -- Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept.
# May be set to 0 in case of GitOps deployment approach.
revisionHistoryLimit: 10
image:
# -- Backstage image registry
registry: ghcr.io
# -- Backstage image repository
repository: backstage/backstage
# -- Backstage image tag (immutable tags are recommended)
tag: latest
# -- Backstage image digest (digest takes precedence over image tag)
digest: ""
# -- Specify a imagePullPolicy.
# Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
# <br /> Ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
pullPolicy: Always
# -- Optionally specify an array of imagePullSecrets.
# Secrets must be manually created in the namespace.
# <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
# <br /> E.g: `pullSecrets: [myRegistryKeySecretName]`
pullSecrets: []
# -- Container ports on the Deployment
containerPorts:
backend: 7007
# -- Backstage container command
command: ["node", "packages/backend"]
# -- Backstage container command arguments
args: []
# -- Extra app configuration files to inline into command arguments
extraAppConfig: []
# -- Deployment sidecars
extraContainers: []
# -- Backstage container environment variables
extraEnvVars: []
# -- Backstage container environment variables from existing ConfigMaps
extraEnvVarsCM: []
# -- Backstage container environment variables from existing Secrets
extraEnvVarsSecrets: []
# -- Backstage container additional volume mounts
extraVolumeMounts: []
# -- Backstage container additional volumes
extraVolumes: []
# -- Backstage container init containers
initContainers: []
# -- Directory containing the backstage installation
installDir: /app
# -- Resource requests/limits
# <br /> Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container
# <!-- E.g.
# resources:
# limits:
# memory: 1Gi
# cpu: 1000m
# requests:
# memory: 250Mi
# cpu: 100m -->
resources: {}
# -- Readiness Probe
# Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks
# <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes
# <!-- E.g.
# readinessProbe:
# failureThreshold: 3
# httpGet:
# path: /healthcheck
# port: 7007
# scheme: HTTP
# initialDelaySeconds: 30
# periodSeconds: 10
# successThreshold: 2
# timeoutSeconds: 2
readinessProbe: {}
# -- Liveness Probe
# Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks
# <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes
# <!-- E.g.
# livenessProbe:
# failureThreshold: 3
# httpGet:
# path: /healthcheck
# port: 7007
# scheme: HTTP
# initialDelaySeconds: 60
# periodSeconds: 10
# successThreshold: 1
# timeoutSeconds: 2
livenessProbe: {}
# -- Startup Probe
# Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks
# <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes
# <!-- E.g.
# startupProbe:
# failureThreshold: 3
# httpGet:
# path: /healthcheck
# port: 7007
# scheme: HTTP
# initialDelaySeconds: 60
# periodSeconds: 10
# successThreshold: 1
# timeoutSeconds: 2
startupProbe: {}
# -- Security settings for a Pod.
# The security settings that you specify for a Pod apply to all Containers in the Pod.
# <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
podSecurityContext: {}
# -- Security settings for a Container.
# <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
containerSecurityContext: {}
# Allows to define the appConfig as a multiline string that generates a ConfigMap
# automatically, not requiring to have it pre provisioned as with the extraAppConfig key.
# DO NOT USE if you need to put sensitive data in the appConfig.
# E.g:
# appConfig:
# app:
# baseUrl: https://somedomain.tld
# -- Generates ConfigMap and configures it in the Backstage pods
appConfig: {}
# -- Affinity for pod assignment
# <br /> Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
affinity: {}
# -- Node labels for pod assignment
# <br /> Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
nodeSelector: {}
# -- Node tolerations for server scheduling to nodes with taints
# <br /> Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute"
# -- Annotations to add to the backend deployment pods
podAnnotations: {}
# -- Labels to add to the backend deployment pods
podLabels: {}
# -- Additional custom annotations for the `Deployment` resource
annotations: {}
## @section Traffic Exposure parameters
## Service parameters
##
# -- Service parameters
# @default -- See below
service:
# -- Kubernetes Service type
type: ClusterIP
# -- Backstage svc port for client connections
ports:
backend: 7007
# -- Backstage svc port name
name: http-backend
# -- Backstage svc target port referencing receiving pod container port
targetPort: backend
# -- Node port for the Backstage client connections
# Choose port between `30000-32767`
nodePorts:
backend: ""
# -- Control where client requests go, to the same pod or round-robin
# (values: `ClientIP` or `None`)
# <br /> Ref: https://kubernetes.io/docs/concepts/services-networking/service/#session-stickiness
sessionAffinity: None
# -- Backstage service Cluster IP
#
# <br /> E.g `clusterIP: None`
clusterIP: ""
# -- Backstage service Load Balancer IP
#
# <br /> Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
loadBalancerIP: ""
# -- Load Balancer sources
#
# <br /> Ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
# <br /> E.g `loadBalancerSourceRanges: [10.10.10.0/24]`
loadBalancerSourceRanges: []
# -- Backstage service external traffic policy
#
# Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
externalTrafficPolicy: Cluster
# -- Additional custom annotations for Backstage service
annotations: {}
# -- Extra ports to expose in the Backstage service (normally used with the `sidecar` value)
extraPorts: []
## @section NetworkPolicy parameters
##
networkPolicy:
# -- Specifies whether a NetworkPolicy should be created
enabled: false
## Ingress Rules
##
ingressRules:
# -- Namespace selector label allowed to access the Backstage instance
namespaceSelector: {}
# -- Pod selector label allowed to access the Backstage instance
podSelector: {}
# -- Additional custom ingress rules
customRules: []
# - to:
# - namespaceSelector:
# matchLabels:
# label: example
## Egress Rules
##
egressRules:
# -- Deny external connections. Should not be enabled when working with an external database.
denyConnectionsToExternal: false
# -- Additional custom egress rules
customRules: []
# - to:
# - namespaceSelector:
# matchLabels:
# label: example
# -- PostgreSQL [chart configuration](https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml)
# @default -- See below
postgresql:
# -- Switch to enable or disable the PostgreSQL helm chart
enabled: false
# -- The authentication details of the Postgres database
auth:
# -- Name for a custom user to create
username: bn_backstage
# -- Password for the custom user to create
password: ""
# -- Name of existing secret to use for PostgreSQL credentials
existingSecret: ""
# -- The secret keys Postgres will look for to retrieve the relevant password
secretKeys:
# -- The key in which Postgres will look for, for the admin password, in the existing Secret
adminPasswordKey: admin-password
# -- The key in which Postgres will look for, for the user password, in the existing Secret
userPasswordKey: user-password
# -- The key in which Postgres will look for, for the replication password, in the existing Secret
replicationPasswordKey: replication-password
# -- PostgreSQL architecture (`standalone` or `replication`)
architecture: standalone
# -- Service Account Configuration
# @default -- See below
serviceAccount:
# -- Enable the creation of a ServiceAccount for Backstage pods
create: false
# -- Name of the ServiceAccount to use
# If not set and `serviceAccount.create` is true, a name is generated
name: ""
# -- Additional custom labels to the service ServiceAccount.
labels: {}
# -- Additional custom annotations for the ServiceAccount.
annotations: {}
# -- Auto-mount the service account token in the pod
automountServiceAccountToken: true
# -- Metrics configuration
metrics:
# -- ServiceMonitor configuration
# <br /> Allows configuring your backstage instance as a scrape target for [Prometheus](https://github.com/prometheus/prometheus) using a ServiceMonitor custom resource that [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator) can understand.
serviceMonitor:
# -- If enabled, a ServiceMonitor resource for Prometheus Operator is created
# <br /> Prometheus Operator must be installed in your cluster prior to enabling.
enabled: false
# -- ServiceMonitor annotations
annotations: {}
# -- Additional ServiceMonitor labels
labels: {}
# -- ServiceMonitor scrape interval
interval: null
# -- ServiceMonitor endpoint path
# <br /> Note that the /metrics endpoint is NOT present in a freshly scaffolded Backstage app. To setup, follow the [Prometheus metrics tutorial](https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md).
path: /metrics