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

Separate Kubernetes Secret object type #1

Closed
wants to merge 4 commits into from
Closed

Separate Kubernetes Secret object type #1

wants to merge 4 commits into from

Conversation

tonglil
Copy link
Member

@tonglil tonglil commented Sep 13, 2016

Separate secrets values in your .drone.yml apart from regular variables passed to the k8s pod spec.

Setting verbose: true in .drone.yml will not dump/show secret values.

They can still be shown when verbose: true and the secrets.* template values are accessed in .kube.yml, although this should not be done.

Perhaps in the future, secret values are extracted from the data object, and are executed into the secrets template independently of data object's values.

}
data["secrets"] = secrets
Copy link
Member Author

@tonglil tonglil Sep 13, 2016

Choose a reason for hiding this comment

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

TBD: eliminate possibility of using encoded secrets values in .kube.yml, do not set data["secrets"].

contains private keys and github token
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.

2 participants