Skip to content

cluster: add projected volume support #510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a8bfa16
cluster: add projected volume support
plesoun-stein Feb 3, 2025
30b9c25
added values.schema.json
plesoun-stein Feb 3, 2025
596cf6c
Increased Scheduled Backups test cleanup timeout (#512)
itay-grudev Feb 4, 2025
16d7e58
Running tests in parallel with a matrix strategy (#381)
itay-grudev Feb 5, 2025
0f4bc67
feat: Allow the user to set the operator update strategy (#450)
kaisoz Feb 6, 2025
26bfbd6
chore(deps): update sigstore/cosign-installer action to v3.8.0 (#513)
renovate[bot] Feb 7, 2025
5fb90a7
chore(deps): update actions/checkout action to v4.2.2 (#514)
renovate[bot] Feb 7, 2025
7c3a73a
chore(deps): update helm/kind-action action to v1.12.0 (#468)
renovate[bot] Feb 7, 2025
316a43c
chore(deps): update dependency ubuntu to v24 (#515)
renovate[bot] Feb 7, 2025
1b10c60
Bug Fix: Added extra check for inheritFromIAMRole when creating recov…
itay-grudev Feb 8, 2025
a9bae1b
Improved release documentation for the operator chart (#474)
itay-grudev Feb 8, 2025
9edd6de
cluster test: add projected volume
plesoun-stein Feb 11, 2025
63efd50
cluster: values.yaml: fix trailing spaces
plesoun-stein Feb 12, 2025
31b4672
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein Feb 12, 2025
ba7b9f4
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein Feb 12, 2025
0141ad8
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein Mar 3, 2025
c9704a8
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein Mar 13, 2025
608a2c2
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein Apr 16, 2025
37b87c2
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein May 7, 2025
b55e436
add assert for pojected volume
plesoun-stein May 7, 2025
269110c
Merge branch 'cloudnative-pg:main' into projected-volumes
plesoun-stein May 13, 2025
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
6 changes: 6 additions & 0 deletions charts/cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,9 @@ spec:
{{- end }}
{{ include "cluster.bootstrap" . | nindent 2 }}
{{ include "cluster.backup" . | nindent 2 }}
{{- with .Values.cluster.projectedVolumeTemplate.sources }}
projectedVolumeTemplate:
sources:
{{- . | toYaml | nindent 6 -}}
{{ end }}

Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,11 @@ spec:
metadata:
annotations:
my-annotation: my-service-account
projectedVolumeTemplate:
sources:
- secret:
items:
- key: ca.crt
path: crt/ca-01.pem
name: ca-secret

Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,12 @@ cluster:
annotations:
my-annotation: my-service-account

projectedVolumeTemplate:
sources:
- secret:
name: ca-secret
items:
- key: ca.crt
path: crt/ca-01.pem
backups:
enabled: false
3 changes: 3 additions & 0 deletions charts/cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@
"priorityClassName": {
"type": "string"
},
"projectedVolumeTemplate": {
"type": "object"
},
"resources": {
"type": "object"
},
Expand Down
11 changes: 11 additions & 0 deletions charts/cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,17 @@ cluster:
additionalLabels: {}
annotations: {}

# -- mounting custom files inside the Postgres pods through .spec.projectedVolumeTemplate
# See https://cloudnative-pg.io/documentation/current/cluster_conf/#projected-volumes
projectedVolumeTemplate: {}
# sources:
# - secret:
# name: sample-secret
# items:
# - key: tls.crt
# path: certificate/tls.crt
# - key: tls.key
# path: certificate/tls.key

backups:
# -- You need to configure backups manually, so backups are disabled by default.
Expand Down