Skip to content

Commit 2a753e2

Browse files
authored
stage developer access auth rules for dev env (#263)
1 parent 53f9b7f commit 2a753e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/kubernetes/terraform/environments/stage/user_access.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ locals {
99

1010
# define Kubernetes policy for developer env deployment
1111
# TODO: given that in a small team, developers are given almost full permissions on Staging here. In the future, may limit the permissions to sub-namepsace per user.
12-
k8s_developer_access = [
12+
k8s_developer_access = concat([
1313
# to support developer environment
1414
{
1515
verbs = ["create", "exec", "list", "get", "delete", "patch", "update", "watch"]
@@ -22,7 +22,7 @@ locals {
2222
"secrets", "externalsecrets"
2323
]
2424
}
25-
]
25+
], local.auth_deploy_rules)
2626

2727
# define Kubernetes policy for operator
2828
k8s_operator_access = [

0 commit comments

Comments
 (0)