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

Add namespace explicitly #461

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

CiraciNicolo
Copy link

The rationale behind this PR is that there are cases where it becomes quite complicated to deploy the application unless the namespace is explicitly provided — for example, when managing the application using a GitOps approach.

charts/cloudnative-pg/Chart.yaml Outdated Show resolved Hide resolved
charts/cluster/Chart.yaml Outdated Show resolved Hide resolved
@itay-grudev itay-grudev added chart( cluster ) Related to the cluster chart chart( operator ) Related to the operator (cloudnative-pg) chart labels Dec 7, 2024
Copy link
Collaborator

@itay-grudev itay-grudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also look at the test failures? Example:

Error: template: cluster/templates/pooler.yaml:7:16: executing "cluster/templates/pooler.yaml" at <include "cluster.namespace" .>: error calling include: template: cluster/templates/_helpers.tpl:5:16: executing "cluster.namespace" at <.Values.namespaceOverride>: nil pointer evaluating interface {}.namespaceOverride

@CiraciNicolo CiraciNicolo force-pushed the fix(namespace) branch 2 times, most recently from a4bb41b to ed5f083 Compare December 9, 2024 09:52
CiraciNicolo and others added 4 commits December 9, 2024 11:00
Signed-off-by: Nicolò Ciraci <[email protected]>
…#453)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
@CiraciNicolo
Copy link
Author

I don't understand the DCO failure, the commits are signed.

@itay-grudev
Copy link
Collaborator

One of your commits isn't, but you can manually set it to pass from here.

@CiraciNicolo
Copy link
Author

No, all my commits are signed. If you notice the error is quite strange:

Summary

Commit sha: [ce9fad6](https://github.com/cloudnative-pg/charts/pull/461/commits/ce9fad60ab1d38a26188117ca187bb07ac007485), Author: Nicolò Ciraci, Committer: Nicolò Ciraci; Expected "Nicolò Ciraci [email protected]", but got "Nicolò Ciraci [[email protected]](mailto:[email protected])".

Screenshot 2024-12-10 at 09 26 41

Am I missing something obvious?

@itay-grudev
Copy link
Collaborator

No matter. This is good enough for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart( cluster ) Related to the cluster chart chart( operator ) Related to the operator (cloudnative-pg) chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants