Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty data fields are stripped from result #29

Open
kim0 opened this issue Jul 12, 2019 · 2 comments
Open

Empty data fields are stripped from result #29

kim0 opened this issue Jul 12, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@kim0
Copy link

kim0 commented Jul 12, 2019

When converting this

apiVersion: v1
kind: Secret
metadata:
  labels:
    k8s-app: kubernetes-dashboard
  name: kubernetes-dashboard-csrf
  namespace: kubernetes-dashboard
type: Opaque
data:
  csrf: ""

The result does not contain the data.csrf field, while it should exist and be an empty value.

@sl1pm4t sl1pm4t added the bug Something isn't working label Aug 13, 2019
@sl1pm4t
Copy link
Owner

sl1pm4t commented Aug 13, 2019

Hi @kim0 - thanks for opening the issue.
With the way k2tf currently works, this is harder to fix than it may seem without introducing undesirable side-effects. It will likely be a while before I can implement a fix.

@daxzhuo
Copy link

daxzhuo commented Oct 11, 2019

I also encountered this problem, where replicas cannot set to zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants