switch to rbac/v1 (#829)

* switch to rbac/v1
This commit is contained in:
Felix Kunde
2020-02-17 11:25:07 +01:00
committed by GitHub
parent 3b10dc645d
commit 702a194c41
7 changed files with 15 additions and 15 deletions
@@ -9,7 +9,7 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ template "postgres-operator-ui.name" . }}
@@ -17,7 +17,7 @@ metadata:
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
helm.sh/chart: {{ template "postgres-operator-ui.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/instance: {{ .Release.Name }}
rules:
- apiGroups:
- acid.zalan.do
@@ -78,4 +78,4 @@ subjects:
# note: the cluster role binding needs to be defined
# for every namespace the operator-ui service account lives in.
name: {{ template "postgres-operator-ui.name" . }}
namespace: {{ .Release.Namespace }}
namespace: {{ .Release.Namespace }}