diff --git a/README.md b/README.md index c53c11f..257d32a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # iac-ansible-private -iac-ansible-private \ No newline at end of file +iac-ansible-private + +stolon comes from https://github.com/sorintlab/stolon/blob/master/examples/kubernetes/README.md +qbittorrent comes from https://github.com/j4ym0/pia-qbittorrent-docker?tab=readme-ov-file \ No newline at end of file diff --git a/roles/qbittorrent/files/qbittorrent-deployment.yaml b/roles/qbittorrent/files/qbittorrent-deployment.yaml index 3ec7065..7ec9342 100644 --- a/roles/qbittorrent/files/qbittorrent-deployment.yaml +++ b/roles/qbittorrent/files/qbittorrent-deployment.yaml @@ -42,7 +42,7 @@ spec: name: vpn-secret key: password - name: REGION - value: "us_new_york" # ou outro servidor PIA + value: "us" # ou outro servidor PIA - name: WEBUI_PORT value: "8080" - name: DNS_SERVERS @@ -51,6 +51,8 @@ spec: value: "1013" - name: GID value: "1013" + - name: HOSTHEADERVALIDATION + value: 'false' volumeMounts: - name: config mountPath: /config diff --git a/roles/qbittorrent/files/qbittorrent-service.yaml b/roles/qbittorrent/files/qbittorrent-service.yaml new file mode 100644 index 0000000..1a58201 --- /dev/null +++ b/roles/qbittorrent/files/qbittorrent-service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: qbittorrent-service + namespace: stack-arr +spec: + ports: + - port: 8080 + targetPort: 8080 + selector: + app: qbittorrentvpn + type: LoadBalancer + loadBalancerIP: 10.240.0.101 \ No newline at end of file