Compare commits
5 Commits
barman-clo
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
a70137cfbd | |||
dc4df55373 | |||
a3f42e13ce | |||
a48262f115 | |||
bd458a3a3d |
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: barman-cloud
|
name: barman-cloud
|
||||||
version: 0.2.1
|
version: 0.2.5
|
||||||
description: Barman Cloud Plugin
|
description: Barman Cloud Plugin
|
||||||
keywords:
|
keywords:
|
||||||
- barman-cloud
|
- barman-cloud
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# barman-cloud
|
# barman-cloud
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Barman Cloud Plugin
|
Barman Cloud Plugin
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ roleRef:
|
|||||||
name: metrics-auth-role
|
name: metrics-auth-role
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: plugin-barman-cloud
|
name: {{ .Release.Name }}-barman-cloud
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -30,5 +30,5 @@ roleRef:
|
|||||||
name: plugin-barman-cloud
|
name: plugin-barman-cloud
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: plugin-barman-cloud
|
name: {{ .Release.Name }}-barman-cloud
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
@@ -13,7 +13,7 @@ controllers:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
strategy: Recreate
|
strategy: Recreate
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
name: plugin-barman-cloud
|
name: {{ .Release.Name }}-barman-cloud
|
||||||
pod:
|
pod:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
@@ -53,7 +53,7 @@ controllers:
|
|||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
plugin-barman-cloud:
|
barman-cloud:
|
||||||
enabled: true
|
enabled: true
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
@@ -81,11 +81,16 @@ persistence:
|
|||||||
- path: /server
|
- path: /server
|
||||||
readOnly: true
|
readOnly: true
|
||||||
mountPropagation: None
|
mountPropagation: None
|
||||||
subPath: server
|
client-tls:
|
||||||
|
enabled: true
|
||||||
|
type: secret
|
||||||
|
name: {{ .Values.name }}-client-tls
|
||||||
|
advancedMounts:
|
||||||
|
main:
|
||||||
|
main:
|
||||||
- path: /client
|
- path: /client
|
||||||
readOnly: true
|
readOnly: true
|
||||||
mountPropagation: None
|
mountPropagation: None
|
||||||
subPath: client
|
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $_ := mergeOverwrite .Values (include "barman-cloud.hardcodedValues" . | fromYaml) }}
|
{{ $_ := mergeOverwrite .Values (include "barman-cloud.hardcodedValues" . | fromYaml) }}
|
||||||
|
@@ -13,5 +13,5 @@ roleRef:
|
|||||||
name: leader-election-role
|
name: leader-election-role
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: plugin-barman-cloud
|
name: {{ .Release.Name }}-barman-cloud
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 6.3.2
|
version: 6.4.0
|
||||||
description: Cloudnative-pg Cluster
|
description: Cloudnative-pg Cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# postgres-cluster
|
# postgres-cluster
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Cloudnative-pg Cluster
|
Cloudnative-pg Cluster
|
||||||
|
|
||||||
|
@@ -27,11 +27,17 @@ spec:
|
|||||||
isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
|
isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
|
||||||
parameters:
|
parameters:
|
||||||
barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup"
|
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 }}
|
{{- end }}
|
||||||
{{ if eq .Values.recovery.method "objectStore" }}
|
{{ if eq .Values.recovery.method "objectStore" }}
|
||||||
- name: barman-cloud.cloudnative-pg.io
|
- name: barman-cloud.cloudnative-pg.io
|
||||||
parameters:
|
parameters:
|
||||||
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
|
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
|
||||||
|
serverName: {{ include "cluster.recoveryServerName" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
storage:
|
storage:
|
||||||
size: {{ .Values.cluster.storage.size }}
|
size: {{ .Values.cluster.storage.size }}
|
||||||
|
@@ -19,11 +19,6 @@ spec:
|
|||||||
name: {{ .endpointCA.name }}
|
name: {{ .endpointCA.name }}
|
||||||
key: {{ .endpointCA.key }}
|
key: {{ .endpointCA.key }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .clusterName }}
|
|
||||||
serverName: "{{ .clusterName }}-backup-{{ .index }}"
|
|
||||||
{{- else }}
|
|
||||||
serverName: "{{ include "cluster.name" $context }}-backup-{{ .index }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if .wal }}
|
{{- if .wal }}
|
||||||
wal:
|
wal:
|
||||||
compression: {{ .wal.compression | default "snappy" }}
|
compression: {{ .wal.compression | default "snappy" }}
|
||||||
@@ -76,7 +71,6 @@ spec:
|
|||||||
name: {{ .Values.recovery.objectStore.endpointCA.name }}
|
name: {{ .Values.recovery.objectStore.endpointCA.name }}
|
||||||
key: {{ .Values.recovery.objectStore.endpointCA.key }}
|
key: {{ .Values.recovery.objectStore.endpointCA.key }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serverName: {{ include "cluster.recoveryServerName" . }}
|
|
||||||
wal:
|
wal:
|
||||||
compression: {{ .Values.recovery.objectStore.wal.compression }}
|
compression: {{ .Values.recovery.objectStore.wal.compression }}
|
||||||
{{- with .Values.recovery.objectStore.wal.encryption}}
|
{{- with .Values.recovery.objectStore.wal.encryption}}
|
||||||
|
Reference in New Issue
Block a user