diff --git a/charts/kubedb-ui-server/README.md b/charts/kubedb-ui-server/README.md index 8578bc635..6137c8e39 100644 --- a/charts/kubedb-ui-server/README.md +++ b/charts/kubedb-ui-server/README.md @@ -48,7 +48,7 @@ The following table lists the configurable parameters of the `kubedb-ui-server` |--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------| | nameOverride | Overrides name template | `""` | | fullnameOverride | Overrides fullname template | `""` | -| replicaCount | Number of Identity Server replicas to create (only 1 is supported) | `1` | +| replicaCount | Number of UI Server replicas to create (only 1 is supported) | `1` | | image.registry | Docker registry used to pull operator image | `kubedb` | | image.repository | Name of operator container image | `kubedb-ui-server` | | image.tag | Operator container image tag | `v0.0.1_linux_amd64` | diff --git a/charts/kubedb-ui-server/templates/NOTES.txt b/charts/kubedb-ui-server/templates/NOTES.txt index 09b9a4fdc..8bb844543 100644 --- a/charts/kubedb-ui-server/templates/NOTES.txt +++ b/charts/kubedb-ui-server/templates/NOTES.txt @@ -1,3 +1,3 @@ -To verify that Identity Server has started, run: +To verify that UI Server has started, run: kubectl get deployment --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "kubedb-ui-server.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/charts/kubedb-ui-server/templates/user-roles.yaml b/charts/kubedb-ui-server/templates/user-roles.yaml index f75fa223f..fd69e3f59 100644 --- a/charts/kubedb-ui-server/templates/user-roles.yaml +++ b/charts/kubedb-ui-server/templates/user-roles.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: kubeops:identity:admin + name: kubedb:ui:viewer labels: rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" @@ -11,7 +11,7 @@ metadata: "helm.sh/hook-delete-policy": before-hook-creation rules: - apiGroups: - - identity.k8s.appscode.com + - ui.kubedb.com resources: - - whoamis - verbs: ["create"] + - "*" + verbs: ["get", "list"] diff --git a/charts/kubedb-ui-server/values.yaml b/charts/kubedb-ui-server/values.yaml index 738cbedf3..0362ee0fa 100644 --- a/charts/kubedb-ui-server/values.yaml +++ b/charts/kubedb-ui-server/values.yaml @@ -6,7 +6,7 @@ nameOverride: "" # Overrides fullname template fullnameOverride: "" -# Number of Identity Server replicas to create (only 1 is supported) +# Number of UI Server replicas to create (only 1 is supported) replicaCount: 1 image: # Docker registry used to pull operator image