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

Copy tls.crt to ca.crt always unless ca.crt exists #117

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

pschichtel
Copy link
Contributor

Previously the init container only copied tls.crt to ca.crt after generating a new certificate. When using cert-manager with an ACME issuer to generate a certificate, the resulting secret will also not have a ca.crt. When doing the copy like this, both cases would be covered without impacting other cases.

Previously the init container only copied tls.crt to ca.crt after
generating a new certificate. When using cert-manager with an ACME
issuer to generate a certificate, the resulting secret will also not
have a ca.crt. When doing the copy like this, both cases would be
covered without impacting other cases.
@pschichtel
Copy link
Contributor Author

This in combination with reloader allows me to use letsencrypt via cert-manager.

@pschichtel
Copy link
Contributor Author

@jp-gouin tagging you just in case your notification setup is similar to mine.

@jp-gouin
Copy link
Owner

jp-gouin commented Aug 1, 2023

Hi @pschichtel

Thanks for the PR!

@pschichtel
Copy link
Contributor Author

looks like CI is broken due to a broken ubuntu mirror

@pschichtel
Copy link
Contributor Author

@jp-gouin
Copy link
Owner

Yeah looks like it , please bear with me , I'm a bit off at the moment but I'll look into it end of month

@lwj5
Copy link
Contributor

lwj5 commented Aug 29, 2023

@jp-gouin you can take a look at a workflow I made. Looking to get this feature as well

https://github.com/invoiceninja/dockerfiles/blob/master/.github/workflows/test-charts.yaml

These are good to have:

  • lint-chart
  • kubeconform-chart

You can extend install-chart with your tests

templates/statefulset.yaml Outdated Show resolved Hide resolved
Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>
@jp-gouin jp-gouin merged commit 576b282 into jp-gouin:master Sep 19, 2023
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.

3 participants