Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kustomize rbac is missing leases #482

Closed
lazedo opened this issue Sep 19, 2022 · 0 comments · Fixed by #483
Closed

kustomize rbac is missing leases #482

lazedo opened this issue Sep 19, 2022 · 0 comments · Fixed by #483

Comments

@lazedo
Copy link
Contributor

lazedo commented Sep 19, 2022

Expected behaviour

install with kustomize

Actual behaviour

install succeeds but not functional

Steps to reproduce the behaviour

kubectl create -k ./redis

kustomization.yaml

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: operators

resources:
  - https://github.com/spotahome/redis-operator/manifests/kustomize/overlays/minimal

Environment

How are the pieces configured?

  • Redis Operator version
  • Kubernetes version
  • Kubernetes rba is active

Logs

(leaderelection.go:330] error retrieving resource lock operators/redis-failover-lease: leases.coordination.k8s.io "redis-failover-lease" is forbidden: User "system:serviceaccount:operators:redis-operator" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "operators")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant