Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/plugin-barman-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Helm Chart for CloudNativePG's CNPG-I backup plugin using Barman Cloud
| certificate.duration | string | `"2160h"` | The duration of the certificates. |
| certificate.issuerName | string | `"selfsigned-issuer"` | The name of the issuer to use for the certificates. |
| certificate.renewBefore | string | `"360h"` | The renew before time for the certificates. |
| certificate.revisionHistoryLimit | int | `1` | The maximum number of CertificateRequests to retain for each certificate. |
| commonAnnotations | object | `{}` | Annotations to be added to all other resources. |
| containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":10001,"runAsUser":10001,"seccompProfile":{"type":"RuntimeDefault"}}` | Container Security Context. |
| crds.create | bool | `true` | Specifies whether the CRDs should be created when installing the chart. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
kind: Issuer
name: {{ include "plugin-barman-cloud.fullname" . }}-selfsigned-issuer
renewBefore: {{ .Values.certificate.renewBefore | default "360h" }}
{{- with .Values.certificate.revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- end }}
secretName: barman-cloud-client-tls
usages:
- client auth
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ spec:
kind: Issuer
name: {{ include "plugin-barman-cloud.fullname" . }}-selfsigned-issuer
renewBefore: {{ .Values.certificate.renewBefore | default "360h" }}
{{- with .Values.certificate.revisionHistoryLimit }}
revisionHistoryLimit: {{ . }}
{{- end }}
secretName: barman-cloud-server-tls
usages:
- server auth
Expand Down
10 changes: 9 additions & 1 deletion charts/plugin-barman-cloud/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,22 @@
"required": [],
"title": "renewBefore",
"type": "string"
},
"revisionHistoryLimit": {
"default": 1,
"description": "The maximum number of CertificateRequests to retain for each certificate.",
"required": [],
"title": "revisionHistoryLimit",
"type": "integer"
}
},
"required": [
"createClientCertificate",
"createServerCertificate",
"issuerName",
"duration",
"renewBefore"
"renewBefore",
"revisionHistoryLimit"
],
"title": "certificate",
"type": "object"
Expand Down
2 changes: 2 additions & 0 deletions charts/plugin-barman-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,5 @@ certificate:
duration: 2160h
# -- The renew before time for the certificates.
renewBefore: 360h
# -- The maximum number of CertificateRequests to retain for each certificate.
revisionHistoryLimit: 1