redhat-actions/oc-new-app
Deploy and expose an application on OpenShift
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| app_name | Name to use for generated application artifacts | yes | — |
| build_env | "Environment variable key-value pairs to pass to the build container at the run time. Use the form env_name=env_value, and separate arguments with newlines." | no | — |
| create_pull_secret_from | "Registry credentials file to use to create a pull secret. Set this to "docker" or "podman" depending on which tool you used to log in" | no | — |
| image | "The name (reference) of the image to create deployment. It can be a container image or an image stream" | yes | — |
| image_pull_secret_name | "In the case of private images, provide the image pull secret if you have already created that. Otherwise, provide inputs create_pull_secret_from or registry_hostname, registry_username and registry_password" | no | — |
| namespace | The OpenShift project/Kubernetes namespace to deploy to. Defaults to current context's. | no | — |
| port | "A port to expose from the application container through a Service. If exactly one port is exposed in the container metadata, then this input can be omitted." | no | — |
| registry_hostname | The Hostname/domain of the container image registry such as quay.io, docker.io. to create pull secret | no | — |
| registry_username | Registry username to use for the pull secret | no | — |
| registry_password | Password, encrypted password, or access token of the provided registry to use for the pull secret | no | — |
Outputs
| name | description |
|---|---|
| route | Service route of the deployed application |
| selector | Selector to filter out the deployment |