-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
52 lines (52 loc) · 1.48 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "Knative Client Service"
description: "Creating Knative Services using kn"
branding:
icon: book-open
color: yellow
inputs:
service_name:
description: "The Knative Service Name"
required: true
service_namespace:
description: "The Kubernetes Namespace to deploy to "
required: false
default: "default"
service_operation:
description: 'The Knative Service Operation'
required: false
default: "create"
container_image:
description: 'The Knative Serivce Image'
required: true
service_params:
description: 'The extra parameter to pass to service'
required: false
private_registry:
description: 'Whether the image is pushed to private registry'
required: false
default: "yes"
registry_user:
description: 'The registry user to use to create image pull secret'
required: false
registry_password:
description: 'The registry user credentials'
required: false
outputs:
service_url:
description: "The Knative Service URL"
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.k8s_api_server_url }}
- ${{ inputs.openshift_token }}
- ${{ inputs.openshift_user }}
- ${{ inputs.openshift_password }}
- ${{ inputs.service_name }}
- ${{ inputs.service_namespace }}
- ${{ inputs.service_operation }}
- ${{ inputs.container_image }}
- ${{ inputs.service_params }}
- ${{ inputs.private_registry }}
- ${{ inputs.registry_user }}
- ${{ inputs.registry_password }}