Update nightly bundle (#717)

* Update nighlty bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Get DevWorkspace Che CR from its namespace

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
pull/722/head
Anatolii Bazko 2021-03-15 20:19:07 +02:00 committed by GitHub
parent 171d0948df
commit 96d78713c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -76,13 +76,13 @@ metadata:
categories: Developer Tools
certified: "false"
containerImage: quay.io/eclipse/che-operator:nightly
createdAt: "2021-03-10T11:28:00Z"
createdAt: "2021-03-15T13:14:32Z"
description: A Kube-native development solution that delivers portable and collaborative
developer workspaces.
operatorframework.io/suggested-namespace: eclipse-che
repository: https://github.com/eclipse/che-operator
support: Eclipse Foundation
name: eclipse-che-preview-kubernetes.v7.28.0-124.nightly
name: eclipse-che-preview-kubernetes.v7.28.0-126.nightly
namespace: placeholder
spec:
apiservicedefinitions: {}
@ -789,4 +789,4 @@ spec:
maturity: stable
provider:
name: Eclipse Foundation
version: 7.28.0-124.nightly
version: 7.28.0-126.nightly

View File

@ -67,13 +67,13 @@ metadata:
categories: Developer Tools, OpenShift Optional
certified: "false"
containerImage: quay.io/eclipse/che-operator:nightly
createdAt: "2021-03-10T11:28:09Z"
createdAt: "2021-03-15T13:14:43Z"
description: A Kube-native development solution that delivers portable and collaborative
developer workspaces in OpenShift.
operatorframework.io/suggested-namespace: eclipse-che
repository: https://github.com/eclipse/che-operator
support: Eclipse Foundation
name: eclipse-che-preview-openshift.v7.28.0-114.nightly
name: eclipse-che-preview-openshift.v7.28.0-126.nightly
namespace: placeholder
spec:
apiservicedefinitions: {}
@ -866,4 +866,4 @@ spec:
maturity: stable
provider:
name: Eclipse Foundation
version: 7.28.0-114.nightly
version: 7.28.0-126.nightly

View File

@ -319,7 +319,7 @@ func synDwCheCR(deployContext *deploy.DeployContext) (bool, error) {
// once we figure out https://github.com/eclipse/che/issues/19220
obj := &unstructured.Unstructured{}
obj.SetGroupVersionKind(schema.GroupVersionKind{Group: "che.eclipse.org", Version: "v1alpha1", Kind: "CheManager"})
err := deployContext.ClusterAPI.Client.Get(context.TODO(), client.ObjectKey{Name: "devworkspace-che", Namespace: DevWorkspaceNamespace}, obj)
err := deployContext.ClusterAPI.Client.Get(context.TODO(), client.ObjectKey{Name: "devworkspace-che", Namespace: DevWorkspaceCheNamespace}, obj)
if err != nil {
if apierrors.IsNotFound(err) {
obj = nil