diff --git a/chart/kubedb/templates/cluster-role.yaml b/chart/kubedb/templates/cluster-role.yaml index ec7758974..722145fce 100644 --- a/chart/kubedb/templates/cluster-role.yaml +++ b/chart/kubedb/templates/cluster-role.yaml @@ -84,6 +84,11 @@ rules: resources: - "*" verbs: ["*"] +- apiGroups: + - appcatalog.appscode.com + resources: + - "*" + verbs: ["*"] - apiGroups: - monitoring.coreos.com resources: diff --git a/chart/kubedb/templates/user-roles.yaml b/chart/kubedb/templates/user-roles.yaml index b70b77264..383fc9dd3 100644 --- a/chart/kubedb/templates/user-roles.yaml +++ b/chart/kubedb/templates/user-roles.yaml @@ -12,6 +12,7 @@ rules: - apiGroups: - kubedb.com - catalog.kubedb.com + - appcatalog.appscode.com resources: - "*" verbs: ["*"] @@ -52,6 +53,11 @@ rules: - postgresversions - redisversions verbs: ["get", "list", "watch"] +- apiGroups: + - appcatalog.appscode.com + resources: + - "*" + verbs: ["get", "list", "watch"] --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 @@ -85,4 +91,9 @@ rules: - postgresversions - redisversions verbs: ["get", "list", "watch"] +- apiGroups: + - appcatalog.appscode.com + resources: + - "*" + verbs: ["get", "list", "watch"] {{ end }} diff --git a/hack/deploy/rbac-list.yaml b/hack/deploy/rbac-list.yaml index dfcff97de..fbde84628 100644 --- a/hack/deploy/rbac-list.yaml +++ b/hack/deploy/rbac-list.yaml @@ -80,6 +80,11 @@ rules: resources: - "*" verbs: ["*"] +- apiGroups: + - appcatalog.appscode.com + resources: + - "*" + verbs: ["*"] - apiGroups: - monitoring.coreos.com resources: diff --git a/hack/deploy/user-roles.yaml b/hack/deploy/user-roles.yaml index 13a333e32..90ad0587e 100644 --- a/hack/deploy/user-roles.yaml +++ b/hack/deploy/user-roles.yaml @@ -8,6 +8,7 @@ rules: - apiGroups: - kubedb.com - catalog.kubedb.com + - appcatalog.appscode.com resources: - "*" verbs: ["*"] @@ -45,6 +46,11 @@ rules: - postgresversions - redisversions verbs: ["get", "list", "watch"] +- apiGroups: + - appcatalog.appscode.com + resources: + - "*" + verbs: ["get", "list", "watch"] --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 @@ -75,3 +81,8 @@ rules: - postgresversions - redisversions verbs: ["get", "list", "watch"] +- apiGroups: + - appcatalog.appscode.com + resources: + - "*" + verbs: ["get", "list", "watch"]