che icon indicating copy to clipboard operation
che copied to clipboard

customize devworkspace operator image

Open LMantovan opened this issue 1 year ago • 3 comments

Is your enhancement related to a problem? Please describe

I'm trying to use my own registry with eclipse-che images. I can change the registry with che-cluster CR and by --che-operator-image flag on chectl.

Describe the solution you'd like

I'd like to change registry even on devworkspace-controller-manager and devworkspace-webhook-server pod

Describe alternatives you've considered

No response

Additional context

No response

LMantovan avatar Feb 06 '24 09:02 LMantovan

Hi @LMantovan are you running Che on Kubernetes or OpenShift?

dkwon17 avatar Feb 06 '24 21:02 dkwon17

@dkwon17 I'm running it on Kubernetes

LMantovan avatar Feb 07 '24 07:02 LMantovan

@LMantovan There is no way to configure image registry for DevWorkspace operator image. But it is possible to achieve in the following steps;

  1. Download DWO templates https://github.com/devfile/devworkspace-operator/blob/main/deploy/deployment/kubernetes/combined.yaml
  2. Replace images in template
  3. Apply customized template kubectl apply -f <template>
  4. Deploy Eclipse Che and skip installing DWO chectl server:deploy --skip-devworkspace-operator ...

tolusha avatar Feb 07 '24 14:02 tolusha