From 1d197faa9dbc52b282132081110ec7e1686a34e1 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Fri, 28 Jan 2022 09:14:35 +0200 Subject: [PATCH] Update resources Signed-off-by: Anatolii Bazko --- .../che-operator.clusterserviceversion.yaml | 29 +++++++++++++++++-- config/manager/manager.yaml | 2 +- config/rbac/cluster_role.yaml | 23 +++++++++++++++ helmcharts/next/templates/cluster_role.yaml | 23 +++++++++++++++ helmcharts/next/templates/manager.yaml | 2 +- .../dev-workspace/dev_workspace_test.go | 2 +- 6 files changed, 75 insertions(+), 6 deletions(-) diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml index cc89b9a3bd..96b441a431 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml @@ -113,7 +113,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/eclipse-che/che-operator support: Eclipse Foundation - name: eclipse-che-preview-openshift.v7.43.0-412.next + name: eclipse-che-preview-openshift.v7.43.0-414.next namespace: placeholder spec: apiservicedefinitions: {} @@ -925,6 +925,13 @@ spec: - get - list - watch + - apiGroups: + - authorization.k8s.io + resources: + - localsubjectaccessreviews + - subjectaccessreviews + verbs: + - create - apiGroups: - batch resources: @@ -937,6 +944,14 @@ spec: - patch - update - watch + - apiGroups: + - config.openshift.io + resourceNames: + - cluster + resources: + - proxies + verbs: + - get - apiGroups: - controller.devfile.io resources: @@ -965,6 +980,14 @@ spec: - create - get - update + - apiGroups: + - metrics.k8s.io + resources: + - pods + verbs: + - get + - list + - watch - apiGroups: - monitoring.coreos.com resources: @@ -1089,7 +1112,7 @@ spec: - name: RELATED_IMAGE_single_host_gateway_config_sidecar value: quay.io/che-incubator/configbump:0.1.4 - name: RELATED_IMAGE_devworkspace_controller - value: quay.io/devfile/devworkspace-controller:v0.11.0 + value: quay.io/devfile/devworkspace-controller:v0.12.1 - name: RELATED_IMAGE_internal_rest_backup_server value: quay.io/eclipse/che-backup-server-rest:b6cc165 - name: RELATED_IMAGE_gateway_authentication_sidecar @@ -1403,4 +1426,4 @@ spec: maturity: stable provider: name: Eclipse Foundation - version: 7.43.0-412.next + version: 7.43.0-414.next diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index a692ba7217..33f162732a 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -88,7 +88,7 @@ spec: - name: RELATED_IMAGE_single_host_gateway_config_sidecar value: quay.io/che-incubator/configbump:0.1.4 - name: RELATED_IMAGE_devworkspace_controller - value: quay.io/devfile/devworkspace-controller:v0.11.0 + value: quay.io/devfile/devworkspace-controller:v0.12.1 - name: RELATED_IMAGE_internal_rest_backup_server value: quay.io/eclipse/che-backup-server-rest:b6cc165 - name: RELATED_IMAGE_gateway_authentication_sidecar diff --git a/config/rbac/cluster_role.yaml b/config/rbac/cluster_role.yaml index 65709b52b6..e15fc8afea 100644 --- a/config/rbac/cluster_role.yaml +++ b/config/rbac/cluster_role.yaml @@ -558,6 +558,13 @@ rules: - get - list - watch + - apiGroups: + - authorization.k8s.io + resources: + - localsubjectaccessreviews + - subjectaccessreviews + verbs: + - create - apiGroups: - batch resources: @@ -570,6 +577,14 @@ rules: - patch - update - watch + - apiGroups: + - config.openshift.io + resourceNames: + - cluster + resources: + - proxies + verbs: + - get - apiGroups: - controller.devfile.io resources: @@ -598,6 +613,14 @@ rules: - create - get - update + - apiGroups: + - metrics.k8s.io + resources: + - pods + verbs: + - get + - list + - watch - apiGroups: - monitoring.coreos.com resources: diff --git a/helmcharts/next/templates/cluster_role.yaml b/helmcharts/next/templates/cluster_role.yaml index 65709b52b6..e15fc8afea 100644 --- a/helmcharts/next/templates/cluster_role.yaml +++ b/helmcharts/next/templates/cluster_role.yaml @@ -558,6 +558,13 @@ rules: - get - list - watch + - apiGroups: + - authorization.k8s.io + resources: + - localsubjectaccessreviews + - subjectaccessreviews + verbs: + - create - apiGroups: - batch resources: @@ -570,6 +577,14 @@ rules: - patch - update - watch + - apiGroups: + - config.openshift.io + resourceNames: + - cluster + resources: + - proxies + verbs: + - get - apiGroups: - controller.devfile.io resources: @@ -598,6 +613,14 @@ rules: - create - get - update + - apiGroups: + - metrics.k8s.io + resources: + - pods + verbs: + - get + - list + - watch - apiGroups: - monitoring.coreos.com resources: diff --git a/helmcharts/next/templates/manager.yaml b/helmcharts/next/templates/manager.yaml index a692ba7217..33f162732a 100644 --- a/helmcharts/next/templates/manager.yaml +++ b/helmcharts/next/templates/manager.yaml @@ -88,7 +88,7 @@ spec: - name: RELATED_IMAGE_single_host_gateway_config_sidecar value: quay.io/che-incubator/configbump:0.1.4 - name: RELATED_IMAGE_devworkspace_controller - value: quay.io/devfile/devworkspace-controller:v0.11.0 + value: quay.io/devfile/devworkspace-controller:v0.12.1 - name: RELATED_IMAGE_internal_rest_backup_server value: quay.io/eclipse/che-backup-server-rest:b6cc165 - name: RELATED_IMAGE_gateway_authentication_sidecar diff --git a/pkg/deploy/dev-workspace/dev_workspace_test.go b/pkg/deploy/dev-workspace/dev_workspace_test.go index 3fbd2f2e16..0a29172c1a 100644 --- a/pkg/deploy/dev-workspace/dev_workspace_test.go +++ b/pkg/deploy/dev-workspace/dev_workspace_test.go @@ -37,7 +37,7 @@ import ( ) const ( - DevWorkspaceCSVName = "devworkspace-operator.v0.11.0" + DevWorkspaceCSVName = "devworkspace-operator.v0.12.1" ) func TestReconcileDevWorkspace(t *testing.T) {