Compare commits
9 Commits
mysql-clus
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
668d50dfdb | |||
93a232947e | |||
667236239d | |||
875f0c143c | |||
670b6e600c | |||
6f5b5ffcb4 | |||
|
295a7296bc | ||
f1b4020287 | |||
969357a664 |
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: cloudflared
|
||||
version: 1.4.0
|
||||
version: 1.4.1
|
||||
description: Cloudflared Tunnel
|
||||
keywords:
|
||||
- cloudflare
|
||||
@@ -15,4 +15,4 @@ dependencies:
|
||||
repository: https://bjw-s.github.io/helm-charts/
|
||||
version: 3.2.1
|
||||
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
|
||||
image:
|
||||
repository: cloudflare/cloudflared
|
||||
tag: "2024.6.0"
|
||||
tag: "2024.6.1"
|
||||
pullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: mysql-cluster
|
||||
version: 0.2.2
|
||||
version: 0.2.4
|
||||
description: Chart for a mysql cluster
|
||||
keywords:
|
||||
- database
|
||||
|
@@ -15,43 +15,43 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
instances: {{ required "serverInstances is required" .Values.cluster.serverInstances }}
|
||||
baseServerId: {{ required "baseServerId is required" .Values.cluster.baseServerId }}
|
||||
serviceAccountName: {{ include "mysql.serviceAccountName" . }}
|
||||
baseServerId: {{ required "baseServerId is required" .Values.cluster.baseServerId }}
|
||||
serviceAccountName: {{ include "mysql.serviceAccountName" . }}
|
||||
imagePullPolicy : {{ .Values.cluster.image.pullPolicy }}
|
||||
version: {{ .Values.cluster.image.version }}
|
||||
tlsUseSelfSigned: true
|
||||
secretName: {{ .Values.cluster.exisitingCredentialsSecret }}
|
||||
{{- if .Values.cluster.podSpec }}
|
||||
podSpec:
|
||||
{{- with .Values.cluster.podSpec }}
|
||||
{{ toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.cluster.podSpec | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.cluster.podAnnotations }}
|
||||
podAnnotations:
|
||||
{{- with .Values.cluster.podAnnotations }}
|
||||
{{ toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.cluster.podAnnotations | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.cluster.podLabels }}
|
||||
podLabels:
|
||||
{{- with .Values.cluster.podLabels }}
|
||||
{{ toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.cluster.podLabels | nindent 4 }}
|
||||
{{- end }}
|
||||
router:
|
||||
instances: {{ required "router.instances is required" .Values.cluster.router.instances }}
|
||||
{{- if .Values.cluster.router.podSpec }}
|
||||
podSpec:
|
||||
{{- with .Values.cluster.router.podSpec }}
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- toYaml .Values.cluster.router.podSpec | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.cluster.router.podAnnotations }}
|
||||
podAnnotations:
|
||||
{{- with .Values.cluster.router.podAnnotations }}
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- toYaml .Values.cluster.router.podAnnotations | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.cluster.router.podLabels }}
|
||||
podLabels:
|
||||
{{- with .Values.cluster.router.podLabels }}
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- toYaml .Values.cluster.router.podLabels | nindent 6 }}
|
||||
{{- end }}
|
||||
tlsSecretName: {{ include "cluster.name" . }}-router-tls
|
||||
logs:
|
||||
{{- with .Values.cluster.logs }}
|
||||
{{ toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
mycnf: |
|
||||
{{ .Values.cluster.serverConfig.mycnf | indent 4 }}
|
||||
{{- if .Values.cluster.datadirVolumeClaimTemplate }}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: postgres-cluster
|
||||
version: 3.6.0
|
||||
version: 3.8.3
|
||||
description: Chart for cloudnative-pg cluster
|
||||
keywords:
|
||||
- database
|
||||
|
@@ -19,12 +19,24 @@ backup:
|
||||
name: {{ include "cluster.backupCredentials" . }}
|
||||
key: ACCESS_SECRET_KEY
|
||||
wal:
|
||||
{{- if .Values.backup.wal.compression }}
|
||||
compression: {{ .Values.backup.wal.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.wal.encryption }}
|
||||
encryption: {{ .Values.backup.wal.encryption }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.wal.maxParallel }}
|
||||
maxParallel: {{ .Values.backup.wal.maxParallel }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- if .Values.backup.data.compression }}
|
||||
compression: {{ .Values.backup.data.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.data.encryption }}
|
||||
encryption: {{ .Values.backup.data.encryption }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.data.jobs }}
|
||||
jobs: {{ .Values.backup.data.jobs }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@@ -7,6 +7,7 @@ bootstrap:
|
||||
{{- . | toYaml | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (.Values.cluster.initdb) }}
|
||||
postInitApplicationSQL:
|
||||
{{- if eq .Values.type "postgis" }}
|
||||
- CREATE EXTENSION IF NOT EXISTS postgis;
|
||||
@@ -21,6 +22,7 @@ bootstrap:
|
||||
{{- printf "- %s" . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- else if eq .Values.mode "replica" }}
|
||||
initdb:
|
||||
import:
|
||||
@@ -78,13 +80,25 @@ externalClusters:
|
||||
name: {{ include "cluster.recoveryCredentials" . }}
|
||||
key: ACCESS_SECRET_KEY
|
||||
wal:
|
||||
{{- if .Values.recovery.wal.compression }}
|
||||
compression: {{ .Values.recovery.wal.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.wal.encryption }}
|
||||
encryption: {{ .Values.recovery.wal.encryption }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.wal.maxParallel }}
|
||||
maxParallel: {{ .Values.recovery.wal.maxParallel }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- if .Values.recovery.data.compression }}
|
||||
compression: {{ .Values.recovery.data.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.data.encryption }}
|
||||
encryption: {{ .Values.recovery.data.encryption }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.data.jobs }}
|
||||
jobs: {{ .Values.recovery.data.jobs }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{ fail "Invalid cluster mode!" }}
|
||||
{{- end }}
|
||||
|
@@ -32,15 +32,17 @@ spec:
|
||||
affinity:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.cluster.priorityClassName }}
|
||||
priorityClassName: {{ .Values.cluster.priorityClassName }}
|
||||
{{- end }}
|
||||
primaryUpdateMethod: {{ .Values.cluster.primaryUpdateMethod }}
|
||||
primaryUpdateStrategy: {{ .Values.cluster.primaryUpdateStrategy }}
|
||||
logLevel: {{ .Values.cluster.logLevel }}
|
||||
postgresql:
|
||||
{{- if eq .Values.type "timescaledb" }}
|
||||
shared_preload_libraries:
|
||||
{{- if eq .Values.type "timescaledb" }}
|
||||
- timescaledb
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.cluster.postgresql.parameters }}
|
||||
parameters:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
|
Reference in New Issue
Block a user