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

avoid empty dnsNames if custom issuerRef is set #1023

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

Conversation

reytech-dev
Copy link
Contributor

Hi,
after turning off the "external"-attribute in the redpanda chart, I ran into an issue because the certificate got created with no "dnsNames".
The proposed change always adds "dnsNames" to the certificates if no external domains are provided.
Please let me know if there are further changes required or anything is not right with my changes.
Regards

@@ -23,7 +23,7 @@ type: application
# The chart version and the app version are not the same and will not track
# together. The chart version is a semver representation of changes to this
# chart.
version: 5.7.23
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm confused why patch version was bumped +2, but not +1?

@@ -0,0 +1,26 @@

Copy link
Contributor

Choose a reason for hiding this comment

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

This file name should be charts/redpanda/ci/19-certs-dns-names-values.yaml, right?

Comment on lines +19 to +23
certs:
default:
issuerRef:
name: custom-internal-issuer-ref
kind: ClusterIssuer
Copy link
Contributor

Choose a reason for hiding this comment

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

The test will always fail as CI doesn't creates external issuer. It would require injecting ClusterIssuer in to template folder. That will only test helm install, but upgrade test would not work at all (helm upgrade) as chart-testing downloads previous version from the upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants