-
Notifications
You must be signed in to change notification settings - Fork 68
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
Document decryption flow #207
Comments
Thanks for opening this issue. It's not the first time I hear the confusion between I'll be happy to know:
|
Thanks! Yeah, I suspected an init-container, but looking at the example (https://github.com/Soluto/kamus/tree/master/example/deployment-secret) there's no init-container in there, which is why I started to wonder how this all works. I looked at the drawing, but it really doesn't say anything about what actually performs the decryption. It is mentioned that the decryption flow is handled outside of the app, but it doesn't say much more than that (that said, I didn't study all of the documentation, so I may have missed something). I would probably try and documented in terms of app lifecycle in addition to the existing docs, and describe the steps involved including the "output" of each step. For example,
(I have no idea if that's correct, it's just meant as an example of documenting the flow from from an app lifecycle perspective). It would probably also make sense to document the lifetime of the regular |
Ha, I now better understand where we lack in the documentation. I created a PR to improve it - can you please take a look and provide feedback? Also - yes, using the init container you skip all the regular Kubernetes Secrets mechanism. We do exactly this - mount a shared volume :) |
Awesome! I will look at the pr |
oh man, that makes all the sense in the world. I assumed |
Happy to hear so! I'll merge the PR soon |
It wold be good if the documentation touch a bit on how decryption actually works from the perspective of the "consumer" app. As far as I understand, a secret is sent to Kamus for encryption, which produces an encrypted "version" of that secret. This secret is then stored as a
KamusSecret
CRD.KamusSecret
and the corresponding regularSecret
object?The text was updated successfully, but these errors were encountered: