generated from frostebite/K8s-Download-Volume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
25 lines (25 loc) · 850 Bytes
/
action.yml
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
name: 'Kubernetes Download Volume'
description: 'This action makes it easy to download any folder on a Persistent Volume (Claim) to the local filesystem.'
branding:
icon: 'arrow-down'
color: 'blue'
inputs:
kubeConfig:
description: 'Base64 encoded kubeconfig, either this or the KUBECONFIG environment variable is required'
required: true
default: ''
name:
require: true
default: ''
description: 'Name of the Kubernetes Persistent Volume Claim'
size:
required: true
default: '5Gi'
description: 'Amount of disc space to assign the Kubernetes Persistent Volume (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes)'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.kubeConfig }}
- ${{ inputs.name }}
- ${{ inputs.size }}