Hi Team,
I was trying Flink Kubernetes operator and started HA job cluster,
Getting below error while starting JM pod.
The service account that the pod used to start is "flink" and this is evident in the logs -> 2024-06-06 064607,445 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: kubernetes.service-account, flink
Error:
"Message: configmaps is forbidden: User "system:anonymous" cannot list resource "configmaps" in API group "" in the namespace "flink""
Any help is appreciated.
Note:
Just before this there is a warning that "Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring."