-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathaction.yml
42 lines (42 loc) · 1.24 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
name: Knative Service Manager
description: Create and manage Knative Services
author: Red Hat
branding:
icon: circle
color: red
inputs:
service_name:
description: "The Knative Service Name"
required: true
namespace:
description: "The Kubernetes Namespace to deploy to. Defaults to current context's namespace."
required: false
command:
description: "The Knative service command, accepted commands are create, update, apply and delete"
required: false
default: "create"
container_image:
description: "The Knative Service Image"
required: true
kn_extra_args:
description: "Any extra arguments to append to the kn <command>"
required: false
registry_user:
description: "The registry user to use to create the image pull secret"
required: false
registry_password:
description: "The registry user password"
required: false
force_create:
description: |
"Pass --force to kn create. If the service already exists,
the service will be replaced, instead of kn create failing.
This input has no effect if command is not create"
required: false
default: "false"
outputs:
service_url:
description: "The Knative Service URL"
runs:
using: "docker"
image: "Dockerfile"