-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathaction.yml
More file actions
27 lines (27 loc) · 740 Bytes
/
action.yml
File metadata and controls
27 lines (27 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: 'kubectl-simple'
description: 'The kubectl command line program as a GitHub Action'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.version }}
- ${{ inputs.config }}
- ${{ inputs.command }}
- ${{ inputs.binaries-url }}
branding:
icon: 'terminal'
color: 'blue'
inputs:
version:
description: 'kubectl version, e.g. `v1.21.0`, defaults to latest'
required: false
default: latest
config:
description: 'kube config data'
required: true
command:
description: 'kubectl command to run, without the kubectl, e.g. `get pods`'
required: true
binaries-url:
description: 'Url to download the binaries from, defaults to the official dl.k8s.io url'
required: false