exim-docker/examples/deploy.sh
Wolfgang Hottgenroth 81f57a53ce
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fixes
2024-12-21 13:43:41 +01:00

17 lines
406 B
Bash
Executable File

#!/bin/bash
kubectl create secret generic smtp-secrets \
--dry-run=client \
-o yaml \
--save-config \
--from-literal=SMARTHOST="smtprelaypool.ispgateway.de" \
--from-literal=SMARTHOST_USER="pseudosmarthostuser@hottis.de" \
--from-literal=SMARTHOST_PASS="$SMARTHOST_PASSWORD" \
--from-literal=RELAYNETS=":10.0.0.0/8" | \
kubectl apply -n system -f -
kubectl apply -n system -f deploy.yml