lwolf / stolon-chart

Kubernetes Helm chart to deploy HA Postgresql cluster based on Stolon
MIT License
105 stars 39 forks source link

cannot install stolon-chart #21

Closed candysmurf closed 6 years ago

candysmurf commented 6 years ago

When I ran the following command, it generated an error. Do I need to do anything else before issue this command?

▶ helm install --name my-release -f values.yaml .
Error: release my-release failed: roles.rbac.authorization.k8s.io "my-release-stolon" is forbidden: attempt to grant extra privileges: [PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["*"]} PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["*"]} PolicyRule{Resources:["configmaps"], APIGroups:[""], Verbs:["*"]}] user=&{system:serviceaccount:kube-system:tiller 66ab3855-5185-11e8-9cac-080027e29233 [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]} ownerrules=[] ruleResolutionErrors=[clusterroles.rbac.authorization.k8s.io "cluster-admin" not found]
Flowkap commented 6 years ago

Do you have RBAC in place? If not deactivate the roles option in your values file.

lwolf commented 6 years ago

closing due to inactivity, @candysmurf reopen if you still have the issue