Skip to content

Commit

Permalink
Merge branch 'main' into check_klm_roles
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Jul 29, 2024
2 parents d0b9774 + 7d8c619 commit 0d2b723
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
18 changes: 18 additions & 0 deletions config/rbac/namespace_bindings/remote_namespace_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,24 @@ rules:
- watch
- delete
- get
- create
- patch
- update
- apiGroups:
- operator.kyma-project.io
resources:
- kymas/finalizers
verbs:
- update
- apiGroups:
- operator.kyma-project.io
resources:
- kymas/status
verbs:
- get
- patch
- update
- watch
- apiGroups:
- operator.kyma-project.io
resources:
Expand Down
2 changes: 1 addition & 1 deletion config/watcher/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ patches:
value: --skr-watcher-path=/skr-webhook
- op: add
path: /spec/template/spec/containers/0/args/-
value: --skr-watcher-image-tag=0.1.1
value: --skr-watcher-image-tag=1.1.1
- op: add
path: /spec/template/spec/containers/0/args/-
value: --enable-domain-name-pinning=true
Expand Down
2 changes: 1 addition & 1 deletion sec-scanners-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module-name: lifecycle-manager
protecode:
- europe-docker.pkg.dev/kyma-project/prod/lifecycle-manager:latest
- europe-docker.pkg.dev/kyma-project/prod/lifecycle-manager:1.1.0
- europe-docker.pkg.dev/kyma-project/prod/lifecycle-manager:1.1.1
whitesource:
language: golang-mod
exclude:
Expand Down
12 changes: 11 additions & 1 deletion tests/e2e/rbac_privileges_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,17 @@ var _ = Describe("RBAC Privileges", func() {
{
APIGroups: []string{"operator.kyma-project.io"},
Resources: []string{"kymas"},
Verbs: []string{"list", "watch", "delete", "create"},
Verbs: []string{"list", "watch", "delete", "get", "create", "patch", "update"},
},
{
APIGroups: []string{"operator.kyma-project.io"},
Resources: []string{"kymas/finalizers"},
Verbs: []string{"update"},
},
{
APIGroups: []string{"operator.kyma-project.io"},
Resources: []string{"kymas/status"},
Verbs: []string{"get", "patch", "update", "watch"},
},
{
APIGroups: []string{"operator.kyma-project.io"},
Expand Down

0 comments on commit 0d2b723

Please sign in to comment.