This implements custom Alpine-based Smart SPIRE Server and Agent Docker images with self-seeding configuration entrypoints. It also updates the docker-compose configuration to utilize a single host storage volume and a dedicated named socket volume. Setup build pipelines are expanded to compile and push these custom SPIRE images. Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
14 lines
277 B
Bash
Executable File
14 lines
277 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
mkdir -p /opt/spire/data/server
|
|
|
|
if [ ! -f /opt/spire/server.conf ]; then
|
|
echo "Writing default SPIRE server.conf..."
|
|
cp /etc/spire/templates/server.conf /opt/spire/server.conf
|
|
chmod 644 /opt/spire/server.conf
|
|
fi
|
|
|
|
exec /usr/local/bin/spire-server "$@"
|