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

feat(cloudnative-pg): Add structured field monitoringQueriesConfigMap.queriesData #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

georgebarbarosie
Copy link

Uses same syntax as queries, but it's plain Yaml instead of yaml-as-string. The values in both fields are merged, with queriesData overriding values from queries.

We pass queries through fromYaml, we then merge it with queriesData and use the result as the final value in the ConfigMap.

The advantage of this is that it allows people to override specific queries in the default queries value and it allows composability for those that use e.g. kustomizations to compile the values of the chart (gitops, fluxcd, etc).

@phisco
Copy link
Collaborator

phisco commented Jul 5, 2023

@georgebarbarosie can you check the error with the DCO? https://github.com/cloudnative-pg/charts/runs/14778552401

Uses same syntax as `queries`, but it's plain Yaml instead of yaml-as-string.
The values in both fields are merged.

Signed-off-by: George Barbarosie <[email protected]>
@georgebarbarosie
Copy link
Author

@georgebarbarosie can you check the error with the DCO? https://github.com/cloudnative-pg/charts/runs/14778552401

Done. Apologies, I wasn't aware of the requirement.

@itay-grudev itay-grudev changed the title Proposal to add structured field monitoringQueriesConfigMap.queriesData feat(cloudnative-pg): Add structured field monitoringQueriesConfigMap.queriesData Apr 8, 2024
@itay-grudev itay-grudev added the chart( operator ) Related to the operator (cloudnative-pg) chart label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart( operator ) Related to the operator (cloudnative-pg) chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants