kubectl ConfigMap creation fails (or so it seems)..
by emon_lq from LinuxQuestions.org on (#4SSEW)
Hi everyone
I am trying to setup 'Single Sign On' via Active Directory on my Kubernetes cluster.
So I am trying to deploy Dex+Gangway.
Weird thing is that I can't seem to deploy a ConfigMap for Dex!!?
I am following this link
https://github.com/vmware-tanzu/tgik...39/yaml/05-dex
I have downloaded the files and modified them to work with LDAP.
Now when I do
Code:kubectl apply -f ~/path/to/03-dex-configmap.yamlIt says
Code:configmap/dex createdBut can't seem to find it?!
Code:kubectl delete configmap dex
Error from server (NotFound): configmaps "dex" not foundAlso
Code:kubectl get configmaps | grep dexReturns nothing
I also tried
Code:kubectl get configmapsIt lists other ConfigMaps that I have previously installed, but there is no 'dex'
But when I do
Code:kubectl delete -f ~/path/to/03-dex-configmap.yamlIt says
Code:configmap "dex" deletedHow did it delete something that did not exist!??
What am I doing wrong??
Thanks in advance
Emon


I am trying to setup 'Single Sign On' via Active Directory on my Kubernetes cluster.
So I am trying to deploy Dex+Gangway.
Weird thing is that I can't seem to deploy a ConfigMap for Dex!!?
I am following this link
https://github.com/vmware-tanzu/tgik...39/yaml/05-dex
I have downloaded the files and modified them to work with LDAP.
Now when I do
Code:kubectl apply -f ~/path/to/03-dex-configmap.yamlIt says
Code:configmap/dex createdBut can't seem to find it?!
Code:kubectl delete configmap dex
Error from server (NotFound): configmaps "dex" not foundAlso
Code:kubectl get configmaps | grep dexReturns nothing
I also tried
Code:kubectl get configmapsIt lists other ConfigMaps that I have previously installed, but there is no 'dex'
But when I do
Code:kubectl delete -f ~/path/to/03-dex-configmap.yamlIt says
Code:configmap "dex" deletedHow did it delete something that did not exist!??
What am I doing wrong??
Thanks in advance
Emon