fix
This commit is contained in:
25
apps/openproject/openproject_rbac.tf
Normal file
25
apps/openproject/openproject_rbac.tf
Normal file
@@ -0,0 +1,25 @@
|
||||
resource "kubectl_manifest" "ServiceAccount_openproject" {
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: openproject
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
namespace: ${var.namespace}
|
||||
ownerReferences: ${jsonencode(var.install_owner)}
|
||||
EOF
|
||||
}
|
||||
|
||||
resource "kubectl_manifest" "ServiceAccount_openproject-memcached" {
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
automountServiceAccountToken: false
|
||||
metadata:
|
||||
name: openproject-memcached
|
||||
namespace: ${var.namespace}
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
ownerReferences: ${jsonencode(var.install_owner)}
|
||||
EOF
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user