1
0
Fork 0

fix: update the traefik-cert.sh script to use the lo.mixinet.net domain

This commit is contained in:
Sergio Talens-Oliag 2025-05-08 09:47:09 +02:00
parent 38c0b98fa8
commit fb7cbc0edb
Signed by: sto
GPG key ID: 821AEE0FD167FBDF

View file

@ -1,8 +1,8 @@
#!/bin/sh
# Script to update the
secret="localhost-mixinet-net-ingress-cert"
cert="${1:-localhost.mixinet.net.crt}"
key="${2:-localhost.mixinet.net.key}"
secret="lo-mixinet-net-ingress-cert"
cert="${1:-lo.mixinet.net.crt}"
key="${2:-lo.mixinet.net.key}"
if [ -f "$cert" ] && [ -f "$key" ]; then
kubectl -n kube-system create secret tls $secret \
--key=$key \