You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Authentication parameters##auth:
## Role-based access control parameters## ref: https://etcd.io/docs/current/op-guide/authentication/##rbac:
enabled: true## @param auth.rbac.create Switch to enable RBAC authentication##create: true## @param auth.rbac.allowNoneAuthentication Allow to use etcd without configuring RBAC authentication##allowNoneAuthentication: true## @param auth.rbac.rootPassword Root user password. The root user is always `root`##rootPassword: "admin"## @param auth.rbac.existingSecret Name of the existing secret containing credentials for the root user##existingSecret: ""## @param auth.rbac.existingSecretPasswordKey Name of key containing password to be retrieved from the existing secret##existingSecretPasswordKey: ""
I kubectl exec in etcd pod, and run command etcdctl user get root and got error msg:
{"level":"warn","ts":"2023-01-20T01:16:10.846Z","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000430a80/127.0.0.1:2379","attempt":0,"error":"rpc error: code = FailedPrecondition desc = etcdserver: user name not found"}
Error: etcdserver: user name not found
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Error Stack:
System info:
RBAC config in
values.yaml
:I
kubectl exec
in etcd pod, and run commandetcdctl user get root
and got error msg:Beta Was this translation helpful? Give feedback.
All reactions