-
Notifications
You must be signed in to change notification settings - Fork 1
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 service account to support deploying from CI/CD #9
Conversation
c85e823
to
040faf5
Compare
a0c9d4c
to
cb40035
Compare
040faf5
to
69c431f
Compare
2a9bacf
to
f12d8e1
Compare
78f9647
to
56aa4ee
Compare
e42500e
to
c2eb92c
Compare
56aa4ee
to
b45bf05
Compare
b45bf05
to
501d716
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked for me. I did hit #12 once, but successive deploys worked. Added one comment.
|
||
- name: Create/update templates in Kubernetes | ||
k8s: | ||
api_key: "{{ k8s_auth_api_key }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we support a path that doesn't require a deploy account? One idea would be to use the default(omit) pattern here and only perform the above deploy-account tasks or call out to another tasks file if k8s_auth_host
is defined. I also see the value in always using the deploy account, so just an idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #13 for this idea
Depends on #7 which should be merged first.
The service/role definitions are heavily based on: https://www.digitalocean.com/community/tutorials/how-to-automate-deployments-to-digitalocean-kubernetes-with-circleci
This seems to work but does complicate things a little for normal deploys. Is this a useful feature to have and if so are there any ways we could simplify things?
To do:
master
before merging