Commit 700b9946 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update service account role bindings to allow for test & stage

parent c9845ee1
Pipeline #32915 passed with stages
in 2 minutes and 4 seconds
apiVersion: v2
name: import-api
name: api-import
description: A helm chart for the import api
type: application
version: 0.0.0
......
......@@ -9,7 +9,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: {{ .Values.k8sNamespace }}
name: import-api-roles
name: import-api-roles-{{ .Values.k8sEnvironment }}
rules:
- apiGroups: ["", "batch"] # "" indicates the core API group
resources: ["pods", "secrets", "configmaps", "jobs"]
......@@ -18,7 +18,7 @@ rules:
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: import-api-roles
name: import-api-roles-{{ .Values.k8sEnvironment }}
namespace: {{ .Values.k8sNamespace }}
subjects:
- kind: ServiceAccount
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment