spa is an swiss knife tool for Spinnaker
Install
Install by this command.
$ brew install kekeniker/tap/spa
Supported Features
- Create Kubeconfig with existing service account
- Create Kubernetes Service Accounts with (Cluster)Role and (Cluster)Binding (and Kubeconfigs)
Features in detail
Here, I will explain what the commands actually do.
spa service-account get
: Get Service account
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
spa service-account create
: Create Service Account
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.
Author
License
Copyright 2020 KeisukeYamashita.
SPA is released under the Apache License 2.0.