-
Notifications
You must be signed in to change notification settings - Fork 38
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
Added kubernetes token support #101
Conversation
Codecov Report
@@ Coverage Diff @@
## master #101 +/- ##
=======================================
Coverage 35.07% 35.07%
=======================================
Files 18 18
Lines 499 499
=======================================
Hits 175 175
Misses 324 324 Continue to review full report at Codecov.
|
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.
Looks good to me!
Can you add some documentation for new parameters?
Kite concourse resourceWhen you define kite resource you should defind Here is description of parameters, that kite needs to generate kubeconfig:
Where to get this parameters ?Get secret's name kubectl get serviceAccount <service_account_name> -oyaml Then look on secret's yaml. Here you can find certificate-authority and token values: kubectl get secrets <secrets_name> -oyaml Get cluste's name: kubectl config current-context Find server address: kubectl config view Example resource_types:
- name: kite
type: docker-image
source:
repository: heliostech/kite
resources:
- name: kite-test
type: kite
source:
json_key: {{gcp_service_account_key}}
token: {{sa_token}}
endpoint: {{server_ip}}
cluster: {{cluster_name}}
name: {{username}}
certificate-autority: {{certificate-autority}} |
Added parameters to concourse kite-resource for generating kubeconfig