Skip to content

Labels added to namespace not being deployed #3655

Closed Answered by stefanprodan
ohheyrj asked this question in Q&A
Discussion options

You must be logged in to vote

You need to add make the value a string e.g. "true", otherwise the value of the label is of type boolean and the Kubernetes API drops it as being invalid.

apiVersion: v1
kind: Namespace
metadata:
  name: traefik
  labels:
    goldilocks.fairwinds.com/enabled: "true"

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@ohheyrj
Comment options

@apuri1-arqit
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@DevSecNinja
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanprodan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants