diff --git a/k8s/apps/videohosting/templates/sts-linuxservices.yaml b/k8s/apps/videohosting/templates/sts-linuxservices.yaml index 2e6772e..5e823b3 100644 --- a/k8s/apps/videohosting/templates/sts-linuxservices.yaml +++ b/k8s/apps/videohosting/templates/sts-linuxservices.yaml @@ -75,6 +75,12 @@ spec: values: - med - low + dnsConfig: + nameservers: + - 8.8.8.8 + - 8.8.4.4 + initContainers: + {{- include "homelab.openvpn.initContainer" . | nindent 8 }} containers: - name: {{$k}} image: "{{ $v.repo }}:{{ $v.tag }}" @@ -99,10 +105,12 @@ spec: mountPath: /config - name: torrents mountPath: /torrents + {{- include "homelab.openvpn.container" . | nindent 8 }} volumes: - name: torrents nfs: server: "{{ $.Values.global.nfs.server }}" path: "{{ $.Values.global.nfs.additionalShares.torrents }}" readOnly: false + {{- include "homelab.openvpn.volumes" . | nindent 8 }} {{ end }} \ No newline at end of file