-
Notifications
You must be signed in to change notification settings - Fork 18
/
action.yml
45 lines (43 loc) · 1.42 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
name: 'OpenShift Login'
description: 'Log into an OpenShift cluster and set up a Kubernetes context'
author: 'Red Hat'
branding:
icon: circle
color: red
inputs:
##### Inputs for login
openshift_server_url:
description: 'Openshift Server URL.'
required: true
### Authenticating
openshift_token:
description: 'Openshift Bearer Token. Store in a secret.'
required: false
openshift_username:
description: 'Openshift Username. Must be used with openshift_password.'
required: false
openshift_password:
description: 'Openshift Password. Store in a secret. Must be used with openshift_username.'
required: false
### TLS Cert options
insecure_skip_tls_verify:
description: 'Skip TLS certificate verification when connecting to the cluster.'
required: false
default: 'false'
certificate_authority_data:
description: "Contents of a Certificate Authority (.crt) file for your cluster's SSL certificate. Store in a secret."
required: false
##### Inputs for kubeconfig
namespace:
description: "Set current context's namespace to this, after logging in."
required: false
##### Other inputs
reveal_cluster_name:
description: |
"By default, the cluster name is masked, since it can be used to derive the server URL.
Set this to true to skip masking the cluster name."
required: false
default: "false"
runs:
using: 'node20'
main: 'dist/index.js'