Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Target Properties

Property Name

Property Code

Required

Description

OpenShift executable path

Code Block
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

Code Block
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

Code Block
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

Code Block
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

Code Block
FDOC_INP_POD

Yes

Name of the pod where the commands are to be executed.

Additional Parameters

Code Block
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.

...