Add secret management

This commit is contained in:
Roberto Alsina 2023-07-17 20:08:45 -03:00
parent a1ffdaf758
commit 3fa1975c69

View File

@ -6,7 +6,12 @@ docker run --rm --privileged \
multiarch/qemu-user-static \ multiarch/qemu-user-static \
--reset -p yes --reset -p yes
# docker run --rm --privileged aptman/qus -s -- -p aarch64 # secrets
pass iol-pass | faas-cli secret create iol-pass
pass iol-user | faas-cli secret create iol-user
pass iol-api-secret | faas-cli secret create iol-api-secret
faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $* faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $*
faas-cli deploy -f functions.yml $* faas-cli deploy -f functions.yml $*