19 lines
634 B
Bash
19 lines
634 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
#
|
||
|
|
# portainer module install — thin wrapper.
|
||
|
|
#
|
||
|
|
# The VM is created by the cluster:vm provider (Debian 13 cloud image) and
|
||
|
|
# OS-prepped by templates:debian. identity:identity has, by this point, created
|
||
|
|
# the OIDC application in Authentik and written OIDC_CLIENT_ID /
|
||
|
|
# OIDC_CLIENT_SECRET / OIDC_DISCOVERY_URI to the VM's secrets env file. This
|
||
|
|
# script applies the module-specific step; all real work lives in update.sh
|
||
|
|
# (install == update for this module).
|
||
|
|
#
|
||
|
|
# Usage: install.sh <module-name>
|
||
|
|
#
|
||
|
|
|
||
|
|
set -euo pipefail
|
||
|
|
|
||
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||
|
|
exec "${SCRIPT_DIR}/update.sh" "$@"
|