| file | Template file
Example frontend/openshift.deploy.yml
| yes | — |
| oc_namespace | OpenShift namespace
Example: abc123-dev, abc123-test, abc123-prod
| yes | — |
| oc_server | OpenShift server URL with port
Example: https://api.silver.devops.gov.bc.ca:6443
| yes | — |
| oc_token | OpenShift access token for authentication
Should be stored as a GitHub secret
| yes | — |
| overwrite | Replace existing objects/artifacts?
Example: true, false
| — | true |
| parameters | Template parameters/variables to pass
Example: -p ZONE=1234
| — | — |
| timeout | Timeout for deployment
Example: 30s, 10m, 1h
| — | 15m |
| triggers | Omit to always build, otherwise trigger by path
Example: ('./backend/', './frontend/)
| — | — |
| lite_mode | Apply 'lite mode' modifications (scaling down, removing PDBs) for pull requests?
Example: true, false
| — | ${{ github.event.pull_request != '' }} |
| debug | Enable debug logging?
Example: true, false
| — | false |
| ref | Branch to diff against
Example: main
| — | ${{ github.event.repository.default_branch }} |
| oc_version | Override default OpenShift CLI (oc) version
Example: 4.16
| — | — |
| repository | Specify a different repo to clone
Example: bcgov/quickstart-openshift
| — | ${{ github.repository }} |
| github_token | Specify token (GH or PAT), instead of inheriting one from the calling workflow
| — | ${{ github.token }} |
| oc_login_attempts | Maximum number of connection retry attempts for logging into OpenShift
Example: 5, 10
| — | 5 |