mitigram/kubectl
Will download (if necessary) and run kubectl
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| config | base64-encoded Kubernetes configuration YAML file | no | "" |
| host | Kubernetes cluster host | no | "" |
| certificate | Kubernetes cluster CA certificate | no | "" |
| username | Username for access to Kubernetes cluster | no | "" |
| password | Password for access to Kubernetes cluster | no | "" |
| token | Token for access to Kubernetes cluster, instead of username/password pair | no | "" |
| args | command-line options for kubectl call | yes | cluster-info |
| root | Root for kubectl download location | no | https://storage.googleapis.com/kubernetes-release/release |
| version | kubectl version to use, latest stable will be used when empty, the default. | no | "" |
| options | Additional options to kubectl wrapper, e.g. -v to print out additional verbose information. This is a semi-internal input and should only be used for debugging. | no | "" |
| cache | How long should installed kubectl binaries and version information, be kept in cache before a new download will be attempted. This is best expressed as a number of seconds, but also supports simple human-readable periods such as 3d or 5 months. The default is one day. | no | 1d |
Outputs
| name | description |
|---|---|
| value | output of the kubectl call. |
| version | kubectl version that was used and/or installed. This will be a semantic version, i.e. <major>.<minor>.<patch>. |