-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvalues.yaml
96 lines (79 loc) · 2.36 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
# Default values for patroni.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 3
image:
repository: artifacts.developer.gov.bc.ca/bcgov-docker-local
pullPolicy: Always
# Overrides the image name whose default is the chart name.
name: patroni-postgres
# Overrides the image tag whose default is the chart appVersion.
tag: ~
imagePullSecrets: []
nameOverride: ~
fullnameOverride: ~
credentials: {}
# # Username of replication account
# replicationUsername: replication
# # Username of superuser account
# superuserUsername: postgres
# # Application database name
# appDbName: app
# # Username of application account
# appDbUserame: app
# To use an existing secret instead of having the chart generate one, provide the name of the existing secret here.
# Note that this secret must be formatted the same way as the secret generated by the chart.
# Leave it blank to allow the helm chart to generate a secret for you.
secretOverride: ~
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ~
podAnnotations: {}
podAntiAffinity: true
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
enableReadOnly: true
# Annotations to add to the service account
annotations: {}
type: ClusterIP
port: 5432
portName: db
networkPolicy:
enabled: true
probes:
liveness:
enabled: true
readiness:
enabled: true
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 20m
memory: 256Mi
persistentVolume:
enabled: true
accessModes:
- ReadWriteOnce
annotations: {}
mountPath: "/home/postgres/pgdata"
size: 2Gi
storageClass: "netapp-block-standard"