bitnami/sealed-secrets

--insecure-skip-tls-verify works only for K8s API connections

Offen

#596 geöffnet am 28.05.2021

 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Go (771 Forks)auto 404
backlogbuggood first issue

Repository-Metriken

Stars
 (9.222 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

I am fetching a cert from the sealed secrets like this:

 kubeseal --raw --insecure-skip-tls-verify=true --from-file=foo.secret --cert https://sealed-secrets.my-ingress.com/v1/cert.pem --namespace team-a --name team-a-foo

The ingresses certificate is self signed. I expected --insecure-skip-tls-verify to ignore tls verification, but looking at the code of sealed-secrets, this flag is never used inside this project and is probably only passed down to K8s Go client.

I believe it should be an easy fix though - should this flag be used for both use cases? If yes, I can try to submit a quick fix.

Contributor Guide