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

Update helm to make secret instead of configmap for Nginx External Cert usage #716

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paul42
Copy link
Contributor

@paul42 paul42 commented Nov 11, 2021

In my quest to use my own certs with an internal CA, and with some great help from @style95 I was able to make significant headway and get my deployment working as desired. I did want to make a small tweak so the external cert for nginx is not stored as a configmap, but instead as a secret. (I realize there's not a ton of difference under the hood but it helps me sleep better at night) I have not tested this with any other deployment types, so feel free to give any feedback as needed.

attempt to pipe value to .Files.Get - configmap `{{.Release.Name}}-gen-certs` is empty for tls cert and key when using nodeport and when using external cert for nginx
if user passes in external cert, do not store key in config map, store in secret
convert {{ .Release.Name }}-gen-certs from configMap to secret
Copy link
Member

@dgrove-oss dgrove-oss left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me.

@dgrove-oss
Copy link
Member

Closing & reopening to kick travis

@dgrove-oss dgrove-oss closed this Nov 12, 2021
@dgrove-oss dgrove-oss reopened this Nov 12, 2021
@dgrove-oss dgrove-oss closed this Nov 16, 2021
@dgrove-oss dgrove-oss reopened this Nov 16, 2021
@dgrove-oss
Copy link
Member

Trying to kick travis again...

@dgrove-oss dgrove-oss closed this Jun 23, 2022
@dgrove-oss dgrove-oss reopened this Jun 23, 2022
@dgrove-oss
Copy link
Member

Kicking travis

@dgrove-oss dgrove-oss closed this Aug 15, 2022
@dgrove-oss dgrove-oss reopened this Aug 15, 2022
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