Article 4SSEW kubectl ConfigMap creation fails (or so it seems)..

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
Emonlatest?d=yIl2AUoC8zA latest?i=BS6f8jnTrrg:cAD8P5te_pI:F7zBnMy latest?i=BS6f8jnTrrg:cAD8P5te_pI:V_sGLiP latest?d=qj6IDK7rITs latest?i=BS6f8jnTrrg:cAD8P5te_pI:gIN9vFwBS6f8jnTrrg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments