feat: added nginx ingress
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
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};
|
||||
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;
|
||||
|
Reference in New Issue
Block a user