8000 Allow optional ConfigMap / Secrets by theobarberbany · Pull Request #61 · wave-k8s/wave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow optional ConfigMap / Secrets #61

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

Merged
merged 3 commits into from
Aug 9, 2019
Merged

Conversation

theobarberbany
Copy link
Contributor

It's possible to specify Secrets and ConfigMaps as optional for a Deployment (and potentially other resource types), and Wave appears to have support for this with regards to values in the EnvFrom section, but not when mounting a Secret or ConfigMap.

This allows secrets and config maps mounted from a Volume, EnvFrom or Env to be optional.

@theobarberbany theobarberbany requested a review from a team August 7, 2019 14:01
Copy link
Collaborator
@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

Added some comments about consistency in naming, not too fussed about fixing them but if we can keep them consistent it would be nice!

For the optional CMs and Secrets it perhaps calling them optional-volume, optional-env, optional-envfrom? Does that make sense?

@theobarberbany theobarberbany force-pushed the optional-volume-sources branch from d4662d2 to cd71562 Compare August 8, 2019 10:37
Copy link
Collaborator
@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

Some things could do with a rename eventually but the whole thing is inconsistent so let's fix it later

@theobarberbany theobarberbany merged commit 9830484 into master Aug 9, 2019
@pusher-ci pusher-ci deleted the optional-volume-sources branch August 9, 2019 10:06
@JoelSpeed JoelSpeed changed the title [IS-398] Allow optional ConfigMap / Secrets Allow optional ConfigMap / Secrets Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0