Skip to content

Instantly share code, notes, and snippets.

@muvaf
Last active July 14, 2020 19:30
Show Gist options
  • Save muvaf/b9e7bf5f93b20569d063abbaeb6b2012 to your computer and use it in GitHub Desktop.
Save muvaf/b9e7bf5f93b20569d063abbaeb6b2012 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Config
clusters:
- cluster:
server: https://proxy.upbound.io/env/<env-id>
name: uimeta
contexts:
- context:
cluster: uimeta
user: acme-corp
name: uimeta
current-context: uimeta
preferences: {}
users:
- name: acme-corp
user:
token: <long-token>
@muvaf
Copy link
Author

muvaf commented Jul 14, 2020

Then the users will just need to run the following command in their app cluster:

kubectl create secret generic sa-secret --from-file=kubeconfig=example-kubeconfig
# Install the agent
helm install crossplane/agent --set credentials-secret-name=sa-secret

cc @prasek @mattheilman @lukeweber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment