Skip to content
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

Cluster Chart v0.0.1-alpha #179

Merged
merged 108 commits into from
Feb 16, 2024
Merged
Changes from 6 commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
deea68a
Proposed values.yaml for a cluster chart + some basic chart setup
Mar 20, 2023
98782e1
Alternatice mode and cluster recovery method options
Apr 24, 2023
6cb57c8
Changed values.yaml defaults
Apr 25, 2023
0eb4344
Extremely untested standalone and recovery from backup prototype
Apr 25, 2023
34551d1
Fixed small issues and typos with the cluster template, and scheduled…
Apr 26, 2023
a28f4a5
Added a Helm Test and Notes
itay-grudev May 4, 2023
bf3d47b
Added a basic example
itay-grudev May 4, 2023
7708842
Bug Fixes and additional documentation in the values.yaml
itay-grudev May 4, 2023
9ae9717
Performing an Initial Backup allows following WALs and PITR immediate…
itay-grudev May 4, 2023
2c11a5d
Initial backup labels and annotations
itay-grudev May 4, 2023
c77b1be
Bug Fix: Initial backup and barman store location
itay-grudev May 4, 2023
593628c
Automatically deleting the ping job when successful.
May 4, 2023
18a83cb
Bug Fix: imagePullSecrets not rendered correctly
itay-grudev May 5, 2023
2f1b523
Bug Fix: Recovery section not rendered correctly
itay-grudev May 5, 2023
0d20d18
Extracted bootstrap and backup sections
itay-grudev May 5, 2023
c09bdeb
Corrections to postInitTemplateSQL for eventual Timescale support
itay-grudev May 5, 2023
5bf0e05
A big fat note in the README about what is not tested
itay-grudev May 5, 2023
b59ef57
Added Azure and Google Cloud Backup storage options
itay-grudev May 6, 2023
38bc680
Added a basic standalone example and a recovery from backup example
itay-grudev May 6, 2023
40da714
Recovery from Object Store
itay-grudev May 6, 2023
dd9d17d
Updated notes
itay-grudev May 6, 2023
6c91837
Bug Fix: Secret configuration not quoted
itay-grudev May 6, 2023
3c9b354
Improved bootstrap section with errors for PostGIS and Timescale modes
itay-grudev May 8, 2023
769d290
Removed references to TimescaleDB as there is no official TimescaleDB…
May 9, 2023
861e550
Added the ability to add custom user metrics
itay-grudev May 12, 2023
07d93d4
Removed obsolete TODOs
May 12, 2023
92c9652
Changed tags and description of the Operator charts to disambiguate it
itay-grudev Jun 29, 2023
845cb68
Added License and maintainer information to the cluster chart
itay-grudev Jun 29, 2023
098c340
Additional details and a warning message in the cluster chart README
itay-grudev Jun 29, 2023
645d8d5
Improved Notes
itay-grudev Jun 29, 2023
bf48650
Disabled backups by default. Backed by a warning in the NOTES.txt
itay-grudev Jun 29, 2023
e138c78
Corrected the format of the markdown warning message to meet GitHub's…
itay-grudev Jun 29, 2023
ae0878b
Further improvmenets to the documentation. Full list of configuration…
Jun 30, 2023
c94cd60
Replaced initSQL with a fully featured version using initdb
itay-grudev Jul 16, 2023
3c6aa92
Replaced the CloudNativePG figlet, mostly because it's a super cool font
itay-grudev Jul 16, 2023
47167ee
Added more documentation
itay-grudev Aug 16, 2023
35f3a7b
Added more documentation
itay-grudev Aug 16, 2023
8a9d32d
Merge branch 'cloudnative-pg:main' into main
itay-grudev Sep 28, 2023
55deafd
Bug Fix: Incorrect Azure failure message
itay-grudev Sep 28, 2023
56a405d
Type: timescaledb graceful failing due to missing official docker image
itay-grudev Sep 28, 2023
3ebfc22
Added priorityClassName as it's now part of the operator API
itay-grudev Sep 28, 2023
3b4052e
Merge branch 'main' into standalone-cluster
itay-grudev Sep 30, 2023
bc8fdcc
Bug FIx: cluster.initdb values not applied correctly
itay-grudev Oct 5, 2023
61e3b8b
Merge branch 'standalone-cluster' into main
itay-grudev Oct 5, 2023
800d1a0
Fixed typo in the recovery documentation
itay-grudev Oct 8, 2023
9320836
Fixed typo in the recovery documentation
itay-grudev Oct 8, 2023
24218f3
Bug Fix: Azure connectionString exclusion depending on configuration …
itay-grudev Oct 12, 2023
e0792d6
Merge branch 'standalone-cluster'
itay-grudev Oct 12, 2023
0b056ce
Proposed values.yaml for a cluster chart + some basic chart setup
Mar 20, 2023
bca34e4
Alternatice mode and cluster recovery method options
Apr 24, 2023
cf8a3db
Changed values.yaml defaults
Apr 25, 2023
095c0c4
Extremely untested standalone and recovery from backup prototype
Apr 25, 2023
cd9bc85
Fixed small issues and typos with the cluster template, and scheduled…
Apr 26, 2023
5c2138d
Added a Helm Test and Notes
itay-grudev May 4, 2023
cb03223
Added a basic example
itay-grudev May 4, 2023
875890b
Bug Fixes and additional documentation in the values.yaml
itay-grudev May 4, 2023
d3e4c73
Performing an Initial Backup allows following WALs and PITR immediate…
itay-grudev May 4, 2023
889de9d
Initial backup labels and annotations
itay-grudev May 4, 2023
0d16520
Bug Fix: Initial backup and barman store location
itay-grudev May 4, 2023
42c9ccd
Automatically deleting the ping job when successful.
May 4, 2023
7abdc9f
Bug Fix: imagePullSecrets not rendered correctly
itay-grudev May 5, 2023
b3e02f6
Bug Fix: Recovery section not rendered correctly
itay-grudev May 5, 2023
b3f3e92
Extracted bootstrap and backup sections
itay-grudev May 5, 2023
f33a873
Corrections to postInitTemplateSQL for eventual Timescale support
itay-grudev May 5, 2023
8efd791
A big fat note in the README about what is not tested
itay-grudev May 5, 2023
a94077b
Added Azure and Google Cloud Backup storage options
itay-grudev May 6, 2023
712907b
Added a basic standalone example and a recovery from backup example
itay-grudev May 6, 2023
8aa943c
Recovery from Object Store
itay-grudev May 6, 2023
75dd2e4
Updated notes
itay-grudev May 6, 2023
756488d
Bug Fix: Secret configuration not quoted
itay-grudev May 6, 2023
2309513
Improved bootstrap section with errors for PostGIS and Timescale modes
itay-grudev May 8, 2023
a605e82
Removed references to TimescaleDB as there is no official TimescaleDB…
May 9, 2023
5419301
Added the ability to add custom user metrics
itay-grudev May 12, 2023
77a1a01
Removed obsolete TODOs
May 12, 2023
2690420
Changed tags and description of the Operator charts to disambiguate it
itay-grudev Jun 29, 2023
5bef4f6
Added License and maintainer information to the cluster chart
itay-grudev Jun 29, 2023
ade6a6f
Additional details and a warning message in the cluster chart README
itay-grudev Jun 29, 2023
7eb0a10
Improved Notes
itay-grudev Jun 29, 2023
81e6ca8
Disabled backups by default. Backed by a warning in the NOTES.txt
itay-grudev Jun 29, 2023
30034e9
Corrected the format of the markdown warning message to meet GitHub's…
itay-grudev Jun 29, 2023
f00252a
Further improvmenets to the documentation. Full list of configuration…
Jun 30, 2023
27c83c4
Replaced initSQL with a fully featured version using initdb
itay-grudev Jul 16, 2023
6ebdc39
Replaced the CloudNativePG figlet, mostly because it's a super cool font
itay-grudev Jul 16, 2023
617c918
Added more documentation
itay-grudev Aug 16, 2023
eb481d2
Bug Fix: Incorrect Azure failure message
itay-grudev Sep 28, 2023
cb2a297
Type: timescaledb graceful failing due to missing official docker image
itay-grudev Sep 28, 2023
3a494f9
Added priorityClassName as it's now part of the operator API
itay-grudev Sep 28, 2023
8be8364
Bug FIx: cluster.initdb values not applied correctly
itay-grudev Oct 5, 2023
4f237fb
Fixed typo in the recovery documentation
itay-grudev Oct 8, 2023
93674e3
Bug Fix: Azure connectionString exclusion depending on configuration …
itay-grudev Oct 12, 2023
e54167f
Merge branch 'standalone-cluster'
itay-grudev Oct 19, 2023
298d0ac
Bug Fix: Bootstrap section yaml error when .Values.cluster.initdb is …
itay-grudev Nov 7, 2023
365ec51
Merge branch 'cloudnative-pg:main' into main
itay-grudev Nov 7, 2023
e09e442
Corrected Linter issues
itay-grudev Nov 7, 2023
0e82907
Corrected Linter issues
itay-grudev Nov 7, 2023
bc03bd6
Corrected Linter issues
itay-grudev Nov 7, 2023
07551e7
Corrected Linter issues
itay-grudev Nov 7, 2023
32fb87b
Implemented initial backup using the immediate flag
itay-grudev Jan 19, 2024
214ed67
Updated documentation URLs
itay-grudev Jan 19, 2024
39e367b
Disabled monitoring by default to avoid errors due to missing CRDs
itay-grudev Jan 19, 2024
7c249ff
Added Cluster Chart CI
itay-grudev Jan 20, 2024
3431a6a
Fixed typo in values
itay-grudev Jan 29, 2024
a2a4b83
Removed grafana dashboard option as that belongs in the operator
itay-grudev Jan 29, 2024
ec70ff9
Adjusted code owners file to include @itay-grudev to CI and cluster c…
itay-grudev Jan 30, 2024
8c2c466
Updated README to include the new cluster chart. Deleted the now long…
itay-grudev Jan 30, 2024
294e6f9
Improved chart documentation
itay-grudev Jan 31, 2024
b827bfc
Fixed whitespace typo in scheduledBackups example
itay-grudev Jan 31, 2024
07326ec
Update .github/actions/setup-kind/action.yml
itay-grudev Feb 3, 2024
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
4 changes: 2 additions & 2 deletions charts/cluster/templates/_barman_object_store.tpl
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
key: ACCESS_SECRET_KEY
{{- else if eq .scope.provider "azure" }}
{{- if empty .scope.destinationPath }}
destinationPath: "https://{{ required "You need to specify Azure storageAccount if endpointURL is not specified." .scope.azure.storageAccount }}.{{ .scope.azure.serviceName }}.core.windows.net/{{ .scope.azure.containerName }}{{ .scope.azure.path }}"
destinationPath: "https://{{ required "You need to specify Azure storageAccount if destinationPath is not specified." .scope.azure.storageAccount }}.{{ .scope.azure.serviceName }}.core.windows.net/{{ .scope.azure.containerName }}{{ .scope.azure.path }}"
{{- end }}
azureCredentials:
connectionString:
@@ -49,4 +49,4 @@
name: {{ .chartFullname }}-backup-google{{ .secretSuffix }}-creds
key: APPLICATION_CREDENTIALS
{{- end -}}
{{- end -}}
{{- end -}}
4 changes: 3 additions & 1 deletion charts/cluster/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -61,7 +61,9 @@ If a custom imageName is available, use it, otherwise use the defaults based on
{{- "ghcr.io/cloudnative-pg/postgresql:15.2" -}}
{{- else if eq .Values.type "postgis" -}}
{{- "ghcr.io/cloudnative-pg/postgis:14" -}}
{{- else if eq .Values.type "timescaledb" -}}
{{ fail "You need to provide your own cluster.imageName as an official timescaledb image doesn't exist yet." }}
{{- else -}}
{{ fail "Invalid cluster type!" }}
{{- end }}
{{- end -}}
{{- end -}}
1 change: 1 addition & 0 deletions charts/cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ spec:
affinity:
{{- toYaml . | nindent 4 }}
{{- end }}
priorityClassName: {{ .Values.cluster.priorityClassName }}

primaryUpdateMethod: {{ .Values.cluster.primaryUpdateMethod }}
primaryUpdateStrategy: {{ .Values.cluster.primaryUpdateStrategy }}
2 changes: 1 addition & 1 deletion charts/cluster/values.yaml
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ cluster:
# cpu: 2000m
# memory: 8Gi

priorityClassName: "" # TODO: Blocked by https://github.com/cloudnative-pg/cloudnative-pg/discussions/1609
priorityClassName: ""

# Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been
# successfully updated. It can be switchover (default) or in-place (restart).
Loading