tongdun / td-redis-operator

一款强大的云原生redis-operator,经过大规模生产级运行考验,支持分布式集群、支持主备切换等缓存集群解决方案…The powerful cloud-native redis-operator, which has passed the test of large-scale production-level operation, supports distributed clusters and active/standby switching ...
Apache License 2.0
515 stars 90 forks source link

Service account being created twice #23

Closed stevefan1999-personal closed 1 year ago

stevefan1999-personal commented 1 year ago
---
# Source: td-redis-operator/templates/operator-rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: td-redis-operator
  namespace: kube-system
---
# Source: td-redis-operator/templates/operator.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: td-redis-operator
  namespace: kube-system
DoubleJ213 commented 1 year ago

td-redis-operator/templates/operator-rbac.yaml already has been deleted in the version 0.2.0 update it and test again?

jedyang commented 1 year ago

still have this problem

[root@paas-m-k8s-master-1 ~]# helm install -n td-redis tongdun td-redis-operator/td-redis-operator --set type=cluster
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
Error: serviceaccounts "td-redis-operator" already exists
DoubleJ213 commented 1 year ago

My mistake caused the wrong package to be used