Skip to content

Commit

Permalink
allow to override CHE_IMAGE parameter with the custom flags --cheImag…
Browse files Browse the repository at this point in the history
…e for che operator

Change-Id: I522ebfa7e37f8063a4f0a8824cef6ad77b7dfdf0
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Jul 2, 2019
1 parent 6c96c58 commit 8139730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/installers/operator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export class OperatorHelper {
task: async (_ctx: any, task: any) => {
const patch = { data: {
CHE_INFRA_KUBERNETES_INGRESS_DOMAIN : flags.domain,
CHE_OPENSHIFT_API_URL: '' }
CHE_OPENSHIFT_API_URL: '',
CHE_IMAGE: flags.cheimage
}
}
await kube.patchConfigMap(this.operatorConfigMap, patch, flags.chenamespace)
task.title = `${task.title}...done.`
Expand Down

0 comments on commit 8139730

Please sign in to comment.