-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
74 lines (66 loc) · 1.68 KB
/
values.yaml
File metadata and controls
74 lines (66 loc) · 1.68 KB
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
# Initium Helm Chart - Default Values
#
# This chart installs nothing by default. It provides templates for
# injecting Initium initContainers into your workloads.
image:
repository: ghcr.io/kitstream/initium
tag: "0.1.0"
pullPolicy: IfNotPresent
# Common security context for all Initium initContainers.
# These are best-practice defaults and should not be relaxed without reason.
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
# Shared volume for initContainers to write output that the main container reads.
workdir: /work
# Enable the sample deployment that demonstrates Initium usage.
sampleDeployment:
enabled: false
name: sample-app
replicas: 1
mainContainer:
image: nginx:1.27-alpine
port: 80
# Define initContainers that Initium should run.
# Each entry becomes an initContainer in the sample deployment.
#
# Example: wait for Postgres, then render config
initContainers:
# - name: wait-for-postgres
# command: ["wait-for"]
# args:
# - --target
# - tcp://postgres:5432
# - --timeout
# - "120s"
# - --max-attempts
# - "30"
# - name: render-config
# command: ["render"]
# args:
# - --template
# - /templates/app.conf.tmpl
# - --output
# - config/app.conf
# - --workdir
# - /work
# env:
# - name: DB_HOST
# value: postgres
# - name: DB_PORT
# value: "5432"
# Additional volumes to mount into initContainers
extraVolumes: []
# - name: templates
# configMap:
# name: app-templates
extraVolumeMounts: []
# - name: templates
# mountPath: /templates
# readOnly: true