Hello,
consul-server-acl-init pod fails with below message:
2023-08-29T12:33:21.644Z [INFO] Success: getting consul-connect-injector-authmethod-svc-account-dockercfg-g98sl Secret
2023-08-29T12:33:21.644Z [ERROR] found no secret of type ‘kubernetes.io/service-account-token’ associated with the consul-connect-injector-authmethod-svc-account service account
Below the relevant values of the Helm chart used for the installation
Please help.
Regards
Pierluigi
Configure ACLs.
acls:
# If true, the Helm chart will automatically manage ACL tokens and policies
# for all Consul and consul-k8s-control-plane components.
# This requires Consul >= 1.4.
#manageSystemACLs: false
manageSystemACLs: true
# A Kubernetes secret containing the bootstrap token to use for
# creating policies and tokens for all Consul and consul-k8s-control-plane components.
# If set, we will skip ACL bootstrapping of the servers and will only
# initialize ACLs for the Consul clients and consul-k8s-control-plane system components.
bootstrapToken:
# The name of the Kubernetes secret.
#secretName: null
secretName: bootstrap-token
# The key of the Kubernetes secret.
#secretKey: null
secretKey: token