Files
bridgehead/cce/modules/lens-setup.sh
T
2026-07-31 12:24:53 +02:00

7 lines
344 B
Bash

#!/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