feat: Set up cloudnative-pg
This commit is contained in:
parent
dae048029c
commit
49e16cba00
3 changed files with 45 additions and 0 deletions
15
k8s-wheatley/cloudnative-pg/kustomization.yaml
Normal file
15
k8s-wheatley/cloudnative-pg/kustomization.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: cnpg-system
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
|
||||
helmCharts:
|
||||
- name: cloudnative-pg
|
||||
repo: https://cloudnative-pg.github.io/charts
|
||||
namespace: cnpg-system
|
||||
releaseName: cloudnative-pg
|
||||
version: 0.26.1
|
||||
valuesFile: values.yaml
|
||||
5
k8s-wheatley/cloudnative-pg/namespace.yaml
Normal file
5
k8s-wheatley/cloudnative-pg/namespace.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cnpg-system
|
||||
25
k8s-wheatley/cloudnative-pg/values.yaml
Normal file
25
k8s-wheatley/cloudnative-pg/values.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
crds:
|
||||
# -- Specifies whether the CRDs should be created when installing the chart.
|
||||
create: true
|
||||
|
||||
# Operator configuration.
|
||||
config:
|
||||
# -- Specifies whether the secret should be created.
|
||||
create: true
|
||||
# -- The name of the configmap/secret to use.
|
||||
name: cnpg-controller-manager-config
|
||||
# -- Specifies whether it should be stored in a secret, instead of a configmap.
|
||||
secret: false
|
||||
# -- This option determines if the operator is responsible for observing
|
||||
# events across the entire Kubernetes cluster or if its focus should be
|
||||
# narrowed down to the specific namespace within which it has been deployed.
|
||||
clusterWide: false
|
||||
# -- The content of the configmap/secret, see
|
||||
# https://cloudnative-pg.io/documentation/current/operator_conf/#available-options
|
||||
# for all the available options.
|
||||
data: {}
|
||||
# INHERITED_ANNOTATIONS: categories
|
||||
# INHERITED_LABELS: environment, workload, app
|
||||
# WATCH_NAMESPACE: namespace-a,namespace-b
|
||||
# -- The maximum number of concurrent reconciles. Defaults to 10.
|
||||
maxConcurrentReconciles: 10
|
||||
Loading…
Add table
Add a link
Reference in a new issue