-
Notifications
You must be signed in to change notification settings - Fork 418
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 helm config option to mount ca certs to cost model container (#3760) #3762
Conversation
* add helm config option to mount ca certs to cost model container * update it to be configmap * shift from config map tp secret * nit fix
Why a secret? |
We wanted to give user an option to mount ca certs inside the constiner. We could have used configMap or secret. went ahead with secret for this one. |
I recommend using a ConfigMap instead as it's the industry standard API resource for certificates. |
thank you. let me correct it then. |
And have you actually verified this will work in our container? I'm skeptical it will because of the need to run a command when adding anchors. Adding to the trust store directly usually does not require this but overwrites the store. |
Thinking an initContainer? |
okay- proposing we move to something like this?
|
yes, this looks better to me. Let me get this done. |
Yes, that's what I am driving at. How does this work unless someone/something executes a command after the new anchors are provided to merge them into the store? Normally on Red Hat you have to run |
Yes, we earlier we were expecting the user to run |
Requiring users run commands inside of a container should always be avoided at all costs. If the initContainer works, that'd be a better approach. |
Superseded by #3763 |
add helm config option to mount ca certs to cost model container
update it to be configmap
shift from config map tp secret
nit fix
What does this PR change?
Does this PR rely on any other PRs?
How does this PR impact users? (This is the kind of thing that goes in release notes!)
Links to Issues or tickets this PR addresses or fixes
What risks are associated with merging this PR? What is required to fully test this PR?
How was this PR tested?
Have you made an update to documentation? If so, please provide the corresponding PR.