-
Notifications
You must be signed in to change notification settings - Fork 683
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
Getting public-cert is failing with an interactive prompt #183
Comments
I've also tried deleting my .kube/config file and reinstating it with the DigitalOcean CLI, and rolling back to v0.6.0 of the SealedSecrets CLI. |
^ The controller definitely exists and is in the expected namespace. The server-side image is |
no; this is a very old release; I plan to release 0.9.0 soon FWIW. anyway, if |
This seems like bug / regression. We've used that behaviour in ofc-bootstrap for some time and it saves on Kubectl/bash commands. Can you suggest why kubeseal might be getting confused? |
not from the top of my head; 0.7.0 is quite old and possibly it uses some old k8s client libs. Could you try a recent build of the kubeseal client (e.g. from sources or perhaps binaries of the 0.8.0 draft release?) |
I am not sure why it would stop working for me. Could you verify that it's still working as expected for you, on your cluster? |
Here is a quick test, that has been working well since about May last by following the latest release:
Does this hang for you guys? |
@alexellis just to doublecheck: did you try a more recent client build? In the meantime I'm going to try to reproduce this issue. |
I confirm that following the official installation instructions (https://github.com/bitnami-labs/sealed-secrets/tree/v0.7.0#installation) the following works:
(Keep in mind that the helm chart is maintained by the community) |
I also tried the helm install method, on a GKE cluster (v1.13.7-gke.8):
@alexellis could you please share the output of:
In the meantime, I'll try on DigitalOcean Kubernetes (I guess I found a good excuse to play with it) :-) |
I just deployed a DigitalOcean Kubernetes cluster (v1.14.3), installed sealed-secrets using the helm chart ( and:
I used this binary: https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.7.0/kubeseal-darwin-amd64 |
|
|
Here's me removing my kubeconfig and regenerating it:
It's like the .kube/config can't be read / parsed properly? |
@mkmik thanks a lot for helping with this. @LucasRoesler also had this working with KinD. I've added some more debug / info. |
I tired with the standard digital ocean yaml kubeconfig yaml file (which contains a client-certificate-data etc) Are you using some advanced config mechanism? |
I also ran into this issue trying to get everything set up on DigitalOcean. After hammering at it for the evening last night, I may have figured out what's going on. When creating a cluster via the command line, DigitalOcean saves the created cluster's config automatically. This can also be done manually for existing clusters by running The problem seems to lie in the format that DigitalOcean saves the config via the command line. Taking a look at the Here's an example of a config file retrieved via the command line:
Here's a copy that was downloaded via the DigitalOcean control panel:
The config file downloaded via the control panel has the Hope this helps! |
yeah, I didn't use `doctl kubernetes cluster kubeconfig save to save the config. Turns out that I assume DO opted for this (a bit surprising) behaviour on the grounds that I can now reproduce the issue with v0.7.0.
|
Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183
Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183
Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183
Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183
Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183
Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183
188: Upgrade client-go to v12.0.0 r=mkmik a=mkmik Minor API changes (some helpers functions disappeared upstream probably because they were deemed to be trivial to write explicitly). Sore point: a roundtrip test is broken since the reflection based test trips over some non-semantic changes while comparing empty slices (nil != []foo{} in Go) Will address that ASAP but I'd like to unblock this in the meantime. Closes #183 Co-authored-by: Marko Mikulicic <[email protected]>
Thank you Marko 👍 |
@alexellis you can use the (keep in mind that the helm chart for v0.8.x is not yet ready, tracked in helm/charts#15837; but you can use the new client with the v0.7.0 controller) |
@mkmik I'll use the workaround for now and have documented it on the issue. When do you expect a stable binary release and helm chart bump to be available? I'll just update the docs when these are ready. |
Uh, in surprised. I thought it had been fixed in the v0.8.1 release (mentioned in the changelog for https://github.com/bitnami-labs/sealed-secrets/releases/tag/v0.8.1: also this issue gas been tagged with the v0.8.1 milestone). Let me know if you still have problems |
I'm using a KUBECONFIG file pointing at DigitalOcean Kubernetes and I'm getting this odd behaviour.
It gives this text, then blocks indefinitely
I am not sure what's going wrong. Has there been a recent update to the binary release? Did something get nudged, or could it be a problem with the latest k8s version?
Thanks in advance for your assistance
The text was updated successfully, but these errors were encountered: