cluster chart generates invalid YAML when type is not equal to timescaledb
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- helm, yaml
- Domain
- build-system
Research direction
Start with charts/cluster/templates/cluster.yaml around line 88 and compare the rendered .spec.postgresql value for non-TimescaleDB clusters with the linked Cluster specification. Render the chart with a type other than timescaledb, then validate the output with kubeconform. Done when .spec.postgresql is an empty object and the rendered YAML validates.
Written by the indexing model from the issue text.
Description
I noticed that the cluster chart generates invalid YAML. kubeconform complains that .spec.postgresql is null when type is not set to timescaledb (https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/templates/cluster.yaml#L88) while the specification requires an empty object: https://cloudnative-pg.io/docs/1.30/cloudnative-pg.v1#clusterspec
- Dominant language
- Go Template
- Stars
- 635
- Forks
- 270
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudnative-pg/charts
-
Plugin Barman chart has unused imagePullPolicy parameterPossibly taken @vivek-raj1 claimed this 10 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cloudnative-pg/charts#1060 ·
Maintainers usually reply within 3 days
-
Azure recovery Secret is not created with recovery.method=pluginPossibly taken A pull request linked to this issue is open or already merged. Openchart( cluster )
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
cloudnative-pg/charts#1040 ·
Maintainers usually reply within 3 days
-
chart( cluster )
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
cloudnative-pg/charts#1020 ·
Maintainers usually reply within 3 days
-
chart( cluster )
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
cloudnative-pg/charts#1013 ·
Maintainers usually reply within 3 days
-
Feature request: Add an excludeQueries list to exclude certain queries from the default monitoring queries setMay be free again A pull request for this issue was closed without being merged. Openchart( operator )
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cloudnative-pg/charts#1001 ·
Maintainers usually reply within 3 days
All issues in cloudnative-pg/charts
Similar issues
-
Use pnpm 12Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vercel/ai-elements#524 ·
Maintainers usually reply within 1 day
-
mock-core-configs/etc/mock/rocky-10-riscv64.cfg contains the wrong architecture in config_opts['root']Possibly taken @jasonmontleon claimed this 4 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 94/100
rpm-software-management/mock#1834 ·
-
missing `catch.hpp`Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/inflatelib#34 · 1 comment ·
-
status:in-linear
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
n8n-io/n8n#43006 · 3 comments ·
Maintainers usually reply within 1 day
-
is:build
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day