From a5f0d258a5951022825c4d9e660f254666075d8e Mon Sep 17 00:00:00 2001 From: Elam Monnot Date: Fri, 7 Apr 2023 08:49:45 +0200 Subject: [PATCH] feat: peertube work --- roles/peertube/files/finish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/peertube/files/finish b/roles/peertube/files/finish index 8a30a4c..588db3f 100644 --- a/roles/peertube/files/finish +++ b/roles/peertube/files/finish @@ -1,6 +1,7 @@ MYHOST=s-peertube.gsb.lan; export KUBECONFIG=/etc/rancher/k3s/k3s.yaml; -openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}";kubectl create secret tls tls-peertube --key key.tls --cert tls.cert; +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}"; +kubectl create secret tls tls-peertube --key tls.key --cert tls.cert; helm repo add postgresql https://charts.bitnami.com/bitnami; helm repo add redis https://charts.bitnami.com/bitnami; helm repo add mail https://bokysan.github.io/docker-postfix;