-
Notifications
You must be signed in to change notification settings - Fork 924
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
kubectl create secret docker-registry omits apiVersion and kind #401
Comments
The purpose of doing |
I am also facing same issue. any workarounds ? I am trying for istio and using this script: its failing with the above mentioned issue. |
resolved in 1.10.1 |
@Vikash082 the same problem .... have you resolved it? |
@liggitt how was this resolved? Does create secret now populate the fields, they aren't required, or what? |
it now populates the fields on output |
Is this a BUG REPORT or FEATURE REQUEST?: Bug
Kubernetes version (use
kubectl version
):Environment:
uname -a
): Linux 4.9.76-38.79.amzn2.x86_64What happened:
What you expected to happen: A successful secret creation. This can be achieved with the following workaround:
The expectation here is that
apiVersion
andkind
are included in the output ofkubectl create secret docker-registry regsecret --dry-run
.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know: I believe this is a regression, but I don't know the precise version number it changed in.
The text was updated successfully, but these errors were encountered: