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

Create new secret if it does not exist #11

Merged
merged 3 commits into from
Jan 10, 2017
Merged

Create new secret if it does not exist #11

merged 3 commits into from
Jan 10, 2017

Conversation

dtan4
Copy link
Owner

@dtan4 dtan4 commented Jan 10, 2017

WHY

If target secret does not exist, valec returns error.
To resolve this, we have to create new secret using kubectl.

$ kubectl create secret generic name

WHAT

If target secret does not exist, create new secret and then set the given secret values.

@dtan4 dtan4 merged commit 9439f4f into master Jan 10, 2017
@dtan4 dtan4 deleted the fix-empty-set branch January 10, 2017 10:18
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.

1 participant