You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mnevadom this is great. What is the main use case for adding that injection? Is this something that we expect people to do a lot? (or maybe we already have people using it this way?)
I needed to build images from inside the container, and for that I had to use the staging buildkit.
Therefore I needed to run okteto context use with the token I used, because I need any user to be able to run it without having an ENV token in staging (cindylopez for example).
I don't know if it is a very common to use it this way :)
Adding the annotation
dev.okteto.com/inject-token: "true"
to the okteto manifest will the the webhook to add the env OKTETO_TOKEN with the uid to de dev container.
Maybe we should find a place to document this
The text was updated successfully, but these errors were encountered: