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
The following commit(s) were added to refs/heads/main by this push: new de123db fix(RBAC): Add permission to send termination signals to builder pods de123db is described below commit de123db6d3d1f47b21381e402aa138d00821b357 Author: Antonin Stefanutti <anto...@stefanutti.fr> AuthorDate: Fri Jun 11 12:15:19 2021 +0200 fix(RBAC): Add permission to send termination signals to builder pods --- config/rbac/operator-role-kubernetes.yaml | 6 ++++++ helm/camel-k/templates/operator-role.yaml | 6 ++++++ pkg/resources/resources.go | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/rbac/operator-role-kubernetes.yaml b/config/rbac/operator-role-kubernetes.yaml index da21d9f..a285970 100644 --- a/config/rbac/operator-role-kubernetes.yaml +++ b/config/rbac/operator-role-kubernetes.yaml @@ -48,6 +48,12 @@ rules: - update - watch - apiGroups: + - "" + resources: + - pods/exec + verbs: + - create +- apiGroups: - policy resources: - poddisruptionbudgets diff --git a/helm/camel-k/templates/operator-role.yaml b/helm/camel-k/templates/operator-role.yaml index fda8c95..1e9fc34 100644 --- a/helm/camel-k/templates/operator-role.yaml +++ b/helm/camel-k/templates/operator-role.yaml @@ -49,6 +49,12 @@ rules: - update - watch - apiGroups: + - "" + resources: + - pods/exec + verbs: + - create +- apiGroups: - policy resources: - poddisruptionbudgets diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index ca9a86b..7c77381 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -283,9 +283,9 @@ var assets = func() http.FileSystem { "/rbac/operator-role-kubernetes.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-kubernetes.yaml", modTime: time.Time{}, - uncompressedSize: 2275, + uncompressedSize: 2342, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x55\xc1\x6e\x1b\x37\x10\xbd\xef\x57\x3c\x68\x2f\x49\x61\xc9\x6d\x4f\x85\x7a\x52\x13\xbb\x15\x1a\x48\x80\x57\x69\x90\x23\x97\x1c\xad\xa6\xe6\x72\x58\x92\x6b\x59\xfd\xfa\x82\x5c\x29\x91\xa3\x18\xc8\xc1\x68\xbb\x17\x0d\xb9\xc3\x37\xef\xcd\x1b\x71\x6b\x4c\x5f\xee\xa9\x6a\xbc\x63\x4d\x2e\x92\x41\x12\xa4\x1d\x61\xe1\x95\xde\x11\x1a\xd9\xa6\xbd\x0a\x84\x5b\x19\x9c\x51\x89\xc5\xe1\xd5\xa2\xb9\x7d\x8d\xc1\x19\x0a\x10\x47\x [...] + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x55\xc1\x6e\xe3\x36\x10\xbd\xeb\x2b\x1e\xac\xcb\x6e\x11\xdb\x6d\x4f\x85\x7b\x72\x77\x93\xd6\xe8\xc2\x06\x22\x6f\x17\x7b\xa4\xa8\xb1\x3c\x0d\xc5\x61\x49\x2a\x8a\xfb\xf5\x05\x29\x7b\xd7\x59\x27\x40\x0e\x41\x5b\x5d\x3c\xa4\x86\x6f\xde\x9b\x37\xa6\x4a\x4c\x5f\xef\x29\x4a\x7c\x60\x4d\x36\x50\x83\x28\x88\x7b\xc2\xd2\x29\xbd\x27\x54\xb2\x8b\x83\xf2\x84\x1b\xe9\x6d\xa3\x22\x8b\xc5\x9b\x65\x75\xf3\x16\xbd\x6d\xc8\x43\x2c\x [...] }, "/rbac/operator-role-leases.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-leases.yaml",