forked from gadmin/gsb2023
feat: changed ingress for peertube
This commit is contained in:
parent
8dc1f9a891
commit
52b9f3af87
@ -1,10 +1,6 @@
|
||||
MYHOST=s-peertube.gsb.lan;
|
||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
||||
helm upgrade --install ingress-nginx ingress-nginx \
|
||||
--repo https://kubernetes.github.io/ingress-nginx \
|
||||
--namespace ingress-nginx --create-namespace;
|
||||
sleep 15;
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ${KEY_FILE} -out ${CERT_FILE} -subj "/CN=${HOST}/O=${HOST}" -addext "subjectAltName = DNS:${HOST}";
|
||||
kubectl create secret tls tls-peertube --key ${KEY_FILE} --cert ${CERT_FILE};
|
||||
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;
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user