Compare commits
12 Commits
cloudflare
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
875f0c143c | |||
670b6e600c | |||
6f5b5ffcb4 | |||
|
295a7296bc | ||
f1b4020287 | |||
969357a664 | |||
5685190e43 | |||
5e88f116fc | |||
f99ebfaa44 | |||
64e3612762 | |||
a6821995ca | |||
4291c3d18c |
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
version: 1.4.0
|
version: 1.4.1
|
||||||
description: Cloudflared Tunnel
|
description: Cloudflared Tunnel
|
||||||
keywords:
|
keywords:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
@@ -15,4 +15,4 @@ dependencies:
|
|||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.2.1
|
version: 3.2.1
|
||||||
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
||||||
appVersion: "2024.6.0"
|
appVersion: "2024.6.1"
|
||||||
|
@@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret
|
|||||||
existingSecretKey: cf-tunnel-token
|
existingSecretKey: cf-tunnel-token
|
||||||
image:
|
image:
|
||||||
repository: cloudflare/cloudflared
|
repository: cloudflare/cloudflared
|
||||||
tag: "2024.6.0"
|
tag: "2024.6.1"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: mysql-cluster
|
name: mysql-cluster
|
||||||
version: 0.2.1
|
version: 0.2.4
|
||||||
description: Chart for a mysql cluster
|
description: Chart for a mysql cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -21,32 +21,32 @@ spec:
|
|||||||
version: {{ .Values.cluster.image.version }}
|
version: {{ .Values.cluster.image.version }}
|
||||||
tlsUseSelfSigned: true
|
tlsUseSelfSigned: true
|
||||||
secretName: {{ .Values.cluster.exisitingCredentialsSecret }}
|
secretName: {{ .Values.cluster.exisitingCredentialsSecret }}
|
||||||
|
{{- if .Values.cluster.podSpec }}
|
||||||
podSpec:
|
podSpec:
|
||||||
{{- with .Values.cluster.podSpec }}
|
{{ toYaml .Values.cluster.podSpec | nindent 4 }}
|
||||||
{{ toYaml . | nindent 4 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.cluster.podAnnotations }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{- with .Values.cluster.podAnnotations }}
|
{{ toYaml .Values.cluster.podAnnotations | nindent 4 }}
|
||||||
{{ toYaml . | nindent 4 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.cluster.podLabels }}
|
||||||
podLabels:
|
podLabels:
|
||||||
{{- with .Values.cluster.podLabels }}
|
{{ toYaml .Values.cluster.podLabels | nindent 4 }}
|
||||||
{{ toYaml . | nindent 4 }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
router:
|
router:
|
||||||
instances: {{ required "router.instances is required" .Values.cluster.router.instances }}
|
instances: {{ required "router.instances is required" .Values.cluster.router.instances }}
|
||||||
|
{{- if .Values.cluster.router.podSpec }}
|
||||||
podSpec:
|
podSpec:
|
||||||
{{- with .Values.cluster.router.podSpec }}
|
{{- toYaml .Values.cluster.router.podSpec | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.cluster.router.podAnnotations }}
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
{{- with .Values.cluster.router.podAnnotations }}
|
{{- toYaml .Values.cluster.router.podAnnotations | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- if .Values.cluster.router.podLabels }}
|
||||||
podLabels:
|
podLabels:
|
||||||
{{- with .Values.cluster.router.podLabels }}
|
{{- toYaml .Values.cluster.router.podLabels | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
tlsSecretName: {{ include "cluster.name" . }}-router-tls
|
tlsSecretName: {{ include "cluster.name" . }}-router-tls
|
||||||
logs:
|
logs:
|
||||||
{{- with .Values.cluster.logs }}
|
{{- with .Values.cluster.logs }}
|
||||||
|
@@ -40,7 +40,6 @@ cluster:
|
|||||||
|
|
||||||
logs:
|
logs:
|
||||||
error:
|
error:
|
||||||
enabled: true
|
|
||||||
collect: false
|
collect: false
|
||||||
general:
|
general:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 3.1.0
|
version: 3.8.1
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
@@ -10,4 +10,4 @@ sources:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
||||||
appVersion: v1.22.2
|
appVersion: v1.23.1
|
||||||
|
@@ -19,12 +19,24 @@ backup:
|
|||||||
name: {{ include "cluster.backupCredentials" . }}
|
name: {{ include "cluster.backupCredentials" . }}
|
||||||
key: ACCESS_SECRET_KEY
|
key: ACCESS_SECRET_KEY
|
||||||
wal:
|
wal:
|
||||||
|
{{- if .Values.backup.wal.compression }}
|
||||||
compression: {{ .Values.backup.wal.compression }}
|
compression: {{ .Values.backup.wal.compression }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.backup.wal.encryption }}
|
||||||
encryption: {{ .Values.backup.wal.encryption }}
|
encryption: {{ .Values.backup.wal.encryption }}
|
||||||
maxParallel: {{ .Values.backup.wal.maxParallel }}
|
{{- end }}
|
||||||
|
{{- if .Values.backup.wal.jobs }}
|
||||||
|
jobs: {{ .Values.backup.wal.jobs }}
|
||||||
|
{{- end }}
|
||||||
data:
|
data:
|
||||||
|
{{- if .Values.backup.data.compression }}
|
||||||
compression: {{ .Values.backup.data.compression }}
|
compression: {{ .Values.backup.data.compression }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.backup.data.encryption }}
|
||||||
encryption: {{ .Values.backup.data.encryption }}
|
encryption: {{ .Values.backup.data.encryption }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.backup.data.jobs }}
|
||||||
jobs: {{ .Values.backup.data.jobs }}
|
jobs: {{ .Values.backup.data.jobs }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -78,13 +78,25 @@ externalClusters:
|
|||||||
name: {{ include "cluster.recoveryCredentials" . }}
|
name: {{ include "cluster.recoveryCredentials" . }}
|
||||||
key: ACCESS_SECRET_KEY
|
key: ACCESS_SECRET_KEY
|
||||||
wal:
|
wal:
|
||||||
|
{{- if .Values.recovery.wal.compression }}
|
||||||
compression: {{ .Values.recovery.wal.compression }}
|
compression: {{ .Values.recovery.wal.compression }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.recovery.wal.encryption }}
|
||||||
encryption: {{ .Values.recovery.wal.encryption }}
|
encryption: {{ .Values.recovery.wal.encryption }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.recovery.wal.maxParallel }}
|
||||||
maxParallel: {{ .Values.recovery.wal.maxParallel }}
|
maxParallel: {{ .Values.recovery.wal.maxParallel }}
|
||||||
|
{{- end }}
|
||||||
data:
|
data:
|
||||||
|
{{- if .Values.recovery.data.compression }}
|
||||||
compression: {{ .Values.recovery.data.compression }}
|
compression: {{ .Values.recovery.data.compression }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.recovery.data.encryption }}
|
||||||
encryption: {{ .Values.recovery.data.encryption }}
|
encryption: {{ .Values.recovery.data.encryption }}
|
||||||
jobs: {{ .Values.recovery.data.jobs }}
|
{{- end }}
|
||||||
|
{{- if .Values.recovery.data.maxParallel }}
|
||||||
|
maxParallel: {{ .Values.recovery.data.maxParallel }}
|
||||||
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{ fail "Invalid cluster mode!" }}
|
{{ fail "Invalid cluster mode!" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -32,15 +32,17 @@ spec:
|
|||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.cluster.priorityClassName }}
|
||||||
priorityClassName: {{ .Values.cluster.priorityClassName }}
|
priorityClassName: {{ .Values.cluster.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
primaryUpdateMethod: {{ .Values.cluster.primaryUpdateMethod }}
|
primaryUpdateMethod: {{ .Values.cluster.primaryUpdateMethod }}
|
||||||
primaryUpdateStrategy: {{ .Values.cluster.primaryUpdateStrategy }}
|
primaryUpdateStrategy: {{ .Values.cluster.primaryUpdateStrategy }}
|
||||||
logLevel: {{ .Values.cluster.logLevel }}
|
logLevel: {{ .Values.cluster.logLevel }}
|
||||||
postgresql:
|
postgresql:
|
||||||
|
{{- if eq .Values.type "timescaledb" }}
|
||||||
shared_preload_libraries:
|
shared_preload_libraries:
|
||||||
{{- if eq .Values.type "timescaledb" }}
|
|
||||||
- timescaledb
|
- timescaledb
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.cluster.postgresql.parameters }}
|
{{- with .Values.cluster.postgresql.parameters }}
|
||||||
parameters:
|
parameters:
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
|
@@ -68,7 +68,7 @@ cluster:
|
|||||||
podMonitor:
|
podMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
prometheusRule:
|
prometheusRule:
|
||||||
enabled: true
|
enabled: false
|
||||||
excludeRules: []
|
excludeRules: []
|
||||||
|
|
||||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration
|
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration
|
||||||
@@ -81,8 +81,7 @@ cluster:
|
|||||||
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
||||||
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
||||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb
|
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb
|
||||||
initdb:
|
initdb: {}
|
||||||
{}
|
|
||||||
# database: app
|
# database: app
|
||||||
# owner: app
|
# owner: app
|
||||||
# secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
|
# secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
|
||||||
@@ -126,7 +125,7 @@ recovery:
|
|||||||
# Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
# Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||||
encryption: ""
|
encryption: ""
|
||||||
# Number of data files to be archived or restored in parallel.
|
# Number of data files to be archived or restored in parallel.
|
||||||
jobs: 2
|
maxParallel: 2
|
||||||
|
|
||||||
replica:
|
replica:
|
||||||
# See https://cloudnative-pg.io/documentation/current/database_import/
|
# See https://cloudnative-pg.io/documentation/current/database_import/
|
||||||
@@ -181,7 +180,7 @@ backup:
|
|||||||
# Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
# Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||||
encryption: ""
|
encryption: ""
|
||||||
# Number of WAL files to be archived or restored in parallel.
|
# Number of WAL files to be archived or restored in parallel.
|
||||||
maxParallel: 2
|
jobs: 2
|
||||||
data:
|
data:
|
||||||
# Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
# Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
||||||
compression: snappy
|
compression: snappy
|
||||||
|
Reference in New Issue
Block a user