-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
103 lines (90 loc) · 3.96 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
## @param fullnameOverride String to fully override deployment.fullname template
## Used by APL to set the name for all resources based on the workload name
##
fullnameOverride: ''
## @param instances Number of instances required in the cluster
## default set to 2 for smooth migration between nodes
instances: 2
## @param postgresMajor Major version of PostgreSQL to be used
## This specifies the major version of PostgreSQL to deploy.
## Ensure compatibility with any extensions or configuration settings.
## Allowed values are 15 and 17.
## @param imageName Fully qualified image name for the PostgreSQL container
## When set, this takes precedence over the `imageCatalogRef` parameter.
## Use this to specify an exact container image for deployment.
## Set to `null` if `imageCatalogRef` should be used instead.
imageName: null
## @param imageCatalogRef Reference to a ClusterImageCatalog resource for PostgreSQL
## Specifies the catalog reference for resolving the PostgreSQL container image.
## Ignored if `imageName` is set.
## Use this to dynamically resolve the image based on the catalog. More info: https://cloudnative-pg.io/documentation/1.24/image_catalog/
imageCatalogRef:
apiGroup: postgresql.cnpg.io
kind: ClusterImageCatalog
name: platform
major: 17
# @param primaryUpdateStrategy Rolling update strategy
# Select between unsupervised (automated update of the primary once all
# replicas have been upgraded) or supervised (requires manual supervision to perform
# the switchover of the primary).
primaryUpdateStrategy: unsupervised
## @param walStorage Configuration of the storage for PostgreSQL database data
## @param storageClass StorageClass to use for database data.
## If not specified, generated PVCs will be satisfied by the default storage class.
## @param size Size of the storage. Required if not already specified in the PVC template.
## Changes to this field are automatically reapplied to the created PVCs.
## Size cannot be decreased.
##
storage:
storageClass: ''
size: 1Gi
## @param walStorage Configuration of the storage for PostgreSQL WAL (Write-Ahead Log)
## @param storageClass StorageClass to use for the WAL.
## If not specified, generated PVCs will be satisfied by the default storage class.
## @param size Size of the WAL storage. Required if not already specified in the PVC template.
## Changes to this field are automatically reapplied to the created PVCs.
## Size cannot be decreased.
walStorage:
storageClass: ''
size: 1Gi
## @param monitoring Will create a PodMonitor and metrics will be scraped by the team Prometheus
## Requires Managed prometheus and alert manager Enabled for the Team
## @param dashboard Will add a ConfigMap with a Grafana dashboard for CloudNativePG
##
monitoring: false
dashboard: false
## @param byoSuperUserSecret BYO secret for super admin credentials
## @param enabled Set to true to use a BYO secret
## @param The name of the secret containing the super admin credentials
##
byoSuperUserSecret:
enabled: false
name: ''
## @param bootstrap Initialize a new PostgreSQL cluster (default)
## ref: https://cloudnative-pg.io/documentation/1.20/bootstrap/ for more information
## @param dataChecksums Whether the -k option should be passed to initdb
## enabling checksums on data pages (default: false)
##
bootstrap:
initdb:
dataChecksums: false
## Containers' resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## You can change default resource request in the workload values. This increases the chance the charts will run on environments with little
## resources, such as Minikube.
## @param resources.limits The resources limits for the container
## @param resources.requests The requested resources for the container
##
resources:
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 200m
memory: 256Mi
## @param networkpolicies Create network policies for the PostgreSQL deployment
## @param create Set to true to create network policies
##
otomi:
networkpolicies:
create: true