Compare commits
8 Commits
barman-clo
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
5cca3b2717 | |||
a70137cfbd | |||
dc4df55373 | |||
a3f42e13ce | |||
a48262f115 | |||
bd458a3a3d | |||
3aa9113d24 | |||
1fe8881dfb |
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: barman-cloud
|
||||
version: 0.1.0
|
||||
version: 0.2.5
|
||||
description: Barman Cloud Plugin
|
||||
keywords:
|
||||
- barman-cloud
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# barman-cloud
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Barman Cloud Plugin
|
||||
|
||||
@@ -25,11 +25,9 @@ Barman Cloud Plugin
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret |
|
||||
| existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token |
|
||||
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/plugin-barman-cloud","tag":"v0.4.0"}` | Default image |
|
||||
| name | string | `"barman-cloud"` | Name override of release |
|
||||
| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources |
|
||||
| service | object | `{"listenPort":9090}` | Default service |
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||
|
@@ -12,7 +12,7 @@ roleRef:
|
||||
name: metrics-auth-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: plugin-barman-cloud
|
||||
name: {{ .Release.Name }}-barman-cloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
---
|
||||
@@ -30,5 +30,5 @@ roleRef:
|
||||
name: plugin-barman-cloud
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: plugin-barman-cloud
|
||||
name: {{ .Release.Name }}-barman-cloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
@@ -12,7 +12,8 @@ controllers:
|
||||
app: {{ .Values.name }}
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
serviceAccountName: plugin-barman-cloud
|
||||
serviceAccount:
|
||||
name: {{ .Release.Name }}-barman-cloud
|
||||
pod:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
@@ -41,7 +42,6 @@ controllers:
|
||||
secretKeyRef:
|
||||
key: SIDECAR_IMAGE
|
||||
name: plugin-barman-cloud-m76km67hd7
|
||||
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
@@ -53,8 +53,8 @@ controllers:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccount:
|
||||
plugin-barman-cloud:
|
||||
enabled: {{ .Values.serviceAccount.enabled }}
|
||||
barman-cloud:
|
||||
enabled: true
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
@@ -81,11 +81,16 @@ persistence:
|
||||
- path: /server
|
||||
readOnly: true
|
||||
mountPropagation: None
|
||||
subPath: server
|
||||
client-tls:
|
||||
enabled: true
|
||||
type: secret
|
||||
name: {{ .Values.name }}-client-tls
|
||||
advancedMounts:
|
||||
main:
|
||||
main:
|
||||
- path: /client
|
||||
readOnly: true
|
||||
mountPropagation: None
|
||||
subPath: client
|
||||
|
||||
{{ end }}
|
||||
{{ $_ := mergeOverwrite .Values (include "barman-cloud.hardcodedValues" . | fromYaml) }}
|
||||
|
@@ -13,5 +13,5 @@ roleRef:
|
||||
name: leader-election-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: plugin-barman-cloud
|
||||
name: {{ .Release.Name }}-barman-cloud
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
@@ -1,20 +1,12 @@
|
||||
# -- Name override of release
|
||||
name: barman-cloud
|
||||
|
||||
# -- Name of existing secret that contains Cloudflare token
|
||||
existingSecretName: cloudflared-secret
|
||||
|
||||
# -- Name of key that contains the token in the existingSecret
|
||||
existingSecretKey: cf-tunnel-token
|
||||
|
||||
# -- Default image
|
||||
image:
|
||||
repository: ghcr.io/cloudnative-pg/plugin-barman-cloud
|
||||
tag: "v0.4.0"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# -- Default resources
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
# -- Default service
|
||||
service:
|
||||
listenPort: 9090
|
||||
|
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: postgres-cluster
|
||||
version: 6.3.2
|
||||
version: 6.4.1
|
||||
description: Cloudnative-pg Cluster
|
||||
keywords:
|
||||
- database
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# postgres-cluster
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Cloudnative-pg Cluster
|
||||
|
||||
|
@@ -131,6 +131,7 @@ externalClusters:
|
||||
- name: {{ include "cluster.recoveryServerName" . }}
|
||||
plugin:
|
||||
name: barman-cloud.cloudnative-pg.io
|
||||
enabled: true
|
||||
parameters:
|
||||
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
|
||||
serverName: {{ include "cluster.recoveryServerName" . }}
|
||||
|
@@ -80,7 +80,7 @@ Generate recovery server name
|
||||
{{- if .Values.recovery.recoveryServerName -}}
|
||||
{{- .Values.recovery.recoveryServerName -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.recoveryIndex) | trunc 63 | trimSuffix "-" -}}
|
||||
{{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.objectStore.index) | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
@@ -24,14 +24,22 @@ spec:
|
||||
{{ end }}
|
||||
{{- range $objectStore := .Values.backup.objectStore }}
|
||||
- name: barman-cloud.cloudnative-pg.io
|
||||
enabled: true
|
||||
isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
|
||||
parameters:
|
||||
barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup"
|
||||
{{- if $objectStore.clusterName }}
|
||||
serverName: "{{ $objectStore.clusterName }}-backup-{{ $objectStore.index }}"
|
||||
{{- else }}
|
||||
serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ if eq .Values.recovery.method "objectStore" }}
|
||||
- name: barman-cloud.cloudnative-pg.io
|
||||
enabled: true
|
||||
parameters:
|
||||
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
|
||||
serverName: {{ include "cluster.recoveryServerName" . }}
|
||||
{{ end }}
|
||||
storage:
|
||||
size: {{ .Values.cluster.storage.size }}
|
||||
|
@@ -19,11 +19,6 @@ spec:
|
||||
name: {{ .endpointCA.name }}
|
||||
key: {{ .endpointCA.key }}
|
||||
{{- end }}
|
||||
{{- if .clusterName }}
|
||||
serverName: "{{ .clusterName }}-backup-{{ .index }}"
|
||||
{{- else }}
|
||||
serverName: "{{ include "cluster.name" $context }}-backup-{{ .index }}"
|
||||
{{- end }}
|
||||
{{- if .wal }}
|
||||
wal:
|
||||
compression: {{ .wal.compression | default "snappy" }}
|
||||
@@ -76,7 +71,6 @@ spec:
|
||||
name: {{ .Values.recovery.objectStore.endpointCA.name }}
|
||||
key: {{ .Values.recovery.objectStore.endpointCA.key }}
|
||||
{{- end }}
|
||||
serverName: {{ include "cluster.recoveryServerName" . }}
|
||||
wal:
|
||||
compression: {{ .Values.recovery.objectStore.wal.compression }}
|
||||
{{- with .Values.recovery.objectStore.wal.encryption}}
|
||||
|
Reference in New Issue
Block a user