From 3e98f7149f134f8ba33808177a3e53a6cc67fa97 Mon Sep 17 00:00:00 2001 From: Elam Monnot Date: Tue, 4 Apr 2023 10:43:31 +0200 Subject: [PATCH] fix: changed services names in values.yaml --- roles/peertube/files/values.yaml | 6 +++--- roles/peertube/tasks/main.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/peertube/files/values.yaml b/roles/peertube/files/values.yaml index 19fa790..779c62a 100644 --- a/roles/peertube/files/values.yaml +++ b/roles/peertube/files/values.yaml @@ -44,7 +44,7 @@ peertube: dbUser: user # must be consistent with postgresql configuration dbPasswd: user # must be consistent with postgresql configuration dbSsl: false # disabled by default WARNING: ssl connection feature not tested, use at your own risk - dbHostname: peertube-postgresql # must be consistent with postgresql configuration + dbHostname: peertube-gsb-postgresql # must be consistent with postgresql configuration webHostname: peertube # must be changed to your local setup secret: b2753b0f37444974de0e81f04815e6a889fcf8960bd203a01b624d8fa8a37683 smtpHostname: peertube-mail # must be consistent with mail configuration @@ -53,7 +53,7 @@ peertube: smtpTls: false # disabled by default WARNING: tls connection feature not tested, use at your own risk smtpDisableStartTls: false # unless crashes related to tls/ssl, this should be unchanged adminEmail: root@localhost.lan # use this if you want peopleto be able to reach you - redisHostname: peertube-redis-master # must be consistent with redis configuration + redisHostname: peertube-gsb-redis-master # must be consistent with redis configuration redisAuth: peertube # must be consistent with redis configuration app: userCanRegister: true # control if people can register by themselves @@ -116,7 +116,7 @@ ingress: resources: {} autoscaling: - enabled: true + enabled: false minimumReplicas: 3 maximumReplicas: 20 targetCPUUtilizationPercentage: 90 diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml index 821814a..3ced74f 100644 --- a/roles/peertube/tasks/main.yml +++ b/roles/peertube/tasks/main.yml @@ -21,11 +21,11 @@ - name: installation de helm... shell: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash - - name: installation de peertube... - shell: 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 - - name: exposition du cluster... shell: export KUBECONFIG=/etc/rancher/k3s/k3s.yaml + - name: installation de peertube... + shell: 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 + - name: lancement du helm chart peertube... shell: helm install --create-namespace -n peertube peertube-gsb /root/tools/peertube/helm