spa is an swiss knife tool for Spinnaker
Install by this command.
$ brew install kekeniker/tap/spa
- Create Kubeconfig with existing service account
- Create Kubernetes Service Accounts with (Cluster)Role and (Cluster)Binding (and Kubeconfigs)
Here, I will explain what the commands actually do.
It will do the following things:
- Get service account (and retrieve token)
- (Optional)Create dedicated Kubernetes config
- If no
output
option is specified, it will only print the access token
It will do the following things:
- Create a service account with specified name in specified namespace.
- If not exist, create a (Cluster)Binding that Spinnaker requires.
- Bind the service account and the cluster binding.
- (Optional) Create a dedicated Kubernetes config. This can be used to configure Spinnaker Clouddriver.
Copyright 2020 KeisukeYamashita.
SPA is released under the Apache License 2.0.