An administrator needs to deploy a packaged Helm chart onto an OpenShift 4.14 cluster from a private Helm repository. Which oc command should be used to install the chart while securely managing repository credentials?
Trap 1: oc adm helm install my-release private-repo/chart-name
'oc adm helm' is not a valid subcommand in OpenShift 4.
Trap 2: oc create helmchart --name=my-release --source=private-repo
OpenShift does not have a 'create helmchart' subcommand.
Trap 3: oc new-app --helm-chart=private-repo/chart-name
'oc new-app' does not natively accept raw Helm chart references directly from private repositories without operator backing.
- A
oc adm helm install my-release private-repo/chart-name
Why wrong: 'oc adm helm' is not a valid subcommand in OpenShift 4.
- B
helm install my-release private-repo/chart-name --repo https://charts.example.com
The standard 'helm' CLI is used to install charts on OpenShift once authenticated to the cluster context.
- C
oc create helmchart --name=my-release --source=private-repo
Why wrong: OpenShift does not have a 'create helmchart' subcommand.
- D
oc new-app --helm-chart=private-repo/chart-name
Why wrong: 'oc new-app' does not natively accept raw Helm chart references directly from private repositories without operator backing.