This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Description
I'm using a Kubernetes cluster created with kubeadm.
I'm hitting the following:
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/default/configmaps/my-config. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. configmaps "my-config" is forbidden: User "system:serviceaccount:default:default" cannot get configmaps in the namespace "default".
How do I access ConfigMaps on Kubernetes (Documentation only mentions steps for OpenShift)