This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit df6ebc076c3df48584826684b3e0df217b298724 Author: John Poth <poth.j...@gmail.com> AuthorDate: Fri Sep 10 09:59:24 2021 +0200 Fix #2553: regen embedded resources, remove obsolete RoleBinding --- .../operator-role-binding-service-binding.yaml | 30 ---------------------- pkg/resources/resources.go | 16 ------------ 2 files changed, 46 deletions(-) diff --git a/config/rbac/operator-role-binding-service-binding.yaml b/config/rbac/operator-role-binding-service-binding.yaml deleted file mode 100644 index 9a2621a..0000000 --- a/config/rbac/operator-role-binding-service-binding.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# --------------------------------------------------------------------------- -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# --------------------------------------------------------------------------- - -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: camel-k-operator-service-binding - labels: - app: "camel-k" -subjects: -- kind: ServiceAccount - name: camel-k-operator -roleRef: - kind: Role - name: camel-k-operator-service-binding - apiGroup: rbac.authorization.k8s.io diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index ddc09e8..ee3f3f2 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -305,13 +305,6 @@ var assets = func() http.FileSystem { compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x2b\x71\xd8\x21\xb5\x8a\xfb\xeb\x0b\xca\x76\x77\x83\xa2\x45\x0f\xe1\x4d\xd0\xf0\x7d\xcc\x7b\x2c\xb0\xfc\x76\xc7\x14\xf8\xc0\x8e\x7c\xa4\x06\x49\x90\x3a\xc2\x26\x58\xd7\x11\x6a\x39\xa5\xc9\x2a\xe1\x51\x46\xdf\xd8\xc4\xe2\xf1\x66\x53\x3f\xbe\xc5\xe8\x1b\x52\x88\x27\x88\x62\x10\x25\x [...] }, - "/rbac/operator-role-binding-service-binding.yaml": &vfsgen۰CompressedFileInfo{ - name: "operator-role-binding-service-binding.yaml", - modTime: time.Time{}, - uncompressedSize: 1237, - - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcf\x6f\xf2\x46\x10\xbd\xef\x5f\xf1\x84\x2f\xdf\x27\x81\x69\x7b\xaa\xe8\xc9\x5f\x02\xad\xd5\x08\x24\x4c\x1a\xe5\xb8\x5e\x0f\xf6\x14\x7b\xc7\xdd\x5d\xc7\xa1\x7f\x7d\xb5\x06\x9a\x44\x55\x2b\x55\xca\xde\x10\x33\xef\xc7\xbc\xe7\x04\x8b\xcf\x7b\x2a\xc1\x03\x1b\xb2\x9e\x2a\x04\x41\x68\x08\x59\xaf\x4d\x43\x28\xe4\x18\x46\xed\x08\x1b\x19\x6c\xa5\x03\x8b\xc5\x97\xac\xd8\x7c\xc5\x60\x2b\x72\x10\x4b\x10\x87\x4e\x1c\xa9\x [...] - }, "/rbac/operator-role-binding-strimzi.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-binding-strimzi.yaml", modTime: time.Time{}, @@ -354,13 +347,6 @@ var assets = func() http.FileSystem { compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x37\xbb\xad\xd0\xc0\x06\x56\x4e\x83\x1c\x69\x6a\x2c\x0d\x96\xe2\xb0\x43\x6a\x95\xed\xaf\x2f\x24\xcb\xcd\x1a\xb9\x86\x17\x8f\xc9\xe1\xfb\xe0\x1b\x15\x58\xff\xb8\x65\x0a\x7c\x64\x47\x21\x51\x83\x2c\xc8\x1d\x61\x17\xad\xeb\x08\xb5\x9c\xf3\x68\x95\xf0\x28\x43\x68\x6c\x66\x09\x78\xb7\xab\x1f\xdf\x63\x08\x0d\x29\x24\x10\x44\xd1\x8b\x92\x29\x [...] }, - "/rbac/operator-role-service-binding.yaml": &vfsgen۰CompressedFileInfo{ - name: "operator-role-service-binding.yaml", - modTime: time.Time{}, - uncompressedSize: 1261, - - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x6e\xdc\x36\x10\xbd\xf3\x2b\x1e\x56\x97\x04\xb0\xe4\xb6\xa7\x62\x7b\xda\x3a\x76\x2b\x34\xd8\x05\xac\x4d\x83\x1c\xb9\xd4\xac\x34\x30\xc5\x51\x87\x94\x15\xf7\xeb\x0b\x6a\xb5\x89\x8d\x5e\xa3\x0b\x47\xe4\xcc\x9b\xf7\xf8\x86\x05\xca\x1f\xf7\x99\x02\x1f\xd9\x51\x88\xd4\x22\x09\x52\x4f\xd8\x8d\xd6\xf5\x84\x46\xce\x69\xb6\x4a\x78\x90\x29\xb4\x36\xb1\x04\xbc\xdb\x35\x0f\xef\x31\x85\x96\x14\x12\x08\xa2\x18\x44\xc9\x [...] - }, "/rbac/operator-role-strimzi.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-strimzi.yaml", modTime: time.Time{}, @@ -604,14 +590,12 @@ var assets = func() http.FileSystem { fs["/rbac/operator-role-binding-knative.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-leases.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-podmonitors.yaml"].(os.FileInfo), - fs["/rbac/operator-role-binding-service-binding.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-strimzi.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding.yaml"].(os.FileInfo), fs["/rbac/operator-role-events.yaml"].(os.FileInfo), fs["/rbac/operator-role-knative.yaml"].(os.FileInfo), fs["/rbac/operator-role-leases.yaml"].(os.FileInfo), fs["/rbac/operator-role-podmonitors.yaml"].(os.FileInfo), - fs["/rbac/operator-role-service-binding.yaml"].(os.FileInfo), fs["/rbac/operator-role-strimzi.yaml"].(os.FileInfo), fs["/rbac/operator-role.yaml"].(os.FileInfo), fs["/rbac/patch-role-to-clusterrole.yaml"].(os.FileInfo),