This message was deleted.
# ask-for-help
s
This message was deleted.
๐Ÿฆ„ 1
๐Ÿ‘€ 1
๐Ÿ 1
b
Ok I'm trying to create the Docker password with an existing secret and I see that it's possible with the helm chart
@Aaron Pham do u know which namespace I should create the secret in?
x
You can add two environment variables to the
env
secret in the
yatai-deployment
namespace:
DOCKER_REGISTRY_USERNAME
and
DOCKER_REGISTRY_PASSWORD
Then restart yatai-deployment:
Copy code
kubectl -n yatai-deployment rollout restart deploy/yatai-deployment
b
omg there's some progress!
Copy code
kubectl patch secret  env -n yatai-deployment -p="{\"data\":{\"DOCKER_REGISTRY_USERNAME\": \"_json_key\"}}"

kubectl patch secret  env -n yatai-deployment -p="{\"data\":{\"DOCKER_REGISTRY_PASSWORD\": \"`cat keyfile.json | base64 -w 0`\"}}"
I'll write some instructions for getting GCR to work on Yatai once I get the image to build and pushed ๐Ÿ™‚
๐Ÿ‘ 1
x
@Benjamin Tan Thank you!