exec (OpenShift)

This operation allows a user to execute a command in a container.

Environment/Instance Properties

Property Name

Property Code

Required

Description

OpenShift executable path
FDOC_OPENSHIFT_CLI_HOME

No

Path to the install location of the OpenShift(oc) CLI executable. If no value is provided, it is assumed that the executable is present in the shell PATH
OpenShift Account
FDOC_OPENSHIFT_CLOUD_ACCOUNT
Yes
The OpenShift account used for executing commands in an environment with all the required properties like API URL and API Token.
OpenShift Additional Parameters
FDOC_OPENSHIFT_ADDITIONAL_PARAMS
No
Additional parameters to be used for the login and project commands(eg. --insecure-skip-tls-verify=false)

Project Properties

Property NameProperty CodeRequiredDescription




Inputs

Input Name

Input Code

Required

Description

Project
FDOC_INP_PROJECT
No
The project to use. If no project is specified, commands will be run for the default project of the given OpenShift user.
Pod
FDOC_INP_POD
Yes
Name of the pod where the commands are to be executed.
Additional Parameters
FDOC_INP_ADDITIONAL_PARAMS
Yes
Additional Parameters for the exec command. Commands to be run on the container are specified here.

Outputs

Output NameDescription


Artifacts

This operation doesn’t consume or produce any artifacts.

Endpoint Selection

This operation delegates the selection to the workflow developer to determine.

Endpoint Execution

This operation delegates the execution to the workflow developer to decide.