chore: oauth2 in lens

This commit is contained in:
David Juarez
2026-07-31 12:24:53 +02:00
parent 32d7974d38
commit 5e07fc3e83
3 changed files with 54 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
if [ -n "$ENABLE_LENS" ];then
LENS_AUTH_COOKIE_SECRET="$(echo "This is a salt string to generate one consistent cookie secret for the Lens oauth2 proxy." | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | tr -d '\n' | head -c 32)"
OVERRIDE+=" -f ./$PROJECT/modules/lens-compose.yml"
fi
fi