Open dkirrane opened 6 years ago
@dkirrane im having the same problem! Did you solve it?
hello guys, i have no found any property in spring.cloud.kubernetes related to authentication via token. Any advices?
Hey Guys, Also having this problem, any solution?
Same issue...
2020-10-29 19:28:18.188 WARN 1 --- [ main] o.s.c.k.config.ConfigMapPropertySource : Can't read configMap with name: [accounts] in namespace:[XXXXX]. Ignoring.
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://10.32.0.1/api/v1/namespaces/XXXX/configmaps/accounts. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. configmaps "accounts" is forbidden: User "XXXXX" cannot get resource "configmaps" in API group "" in the namespace "XXXX".
apiVersion: v1
kind: ConfigMap
metadata:
name: accounts
data:
spring.datasource.url: <REMOVED>
I'm using a Kubernetes cluster created with kubeadm. I'm hitting the following:
How do I access ConfigMaps on Kubernetes (Documentation only mentions steps for OpenShift)