chore: Update manifests after change
This commit is contained in:
@@ -54,10 +54,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
key: proton-password
|
key: proton-password
|
||||||
name: tubearchivist-wireguard-conf
|
name: tubearchivist-wireguard-conf
|
||||||
- name: VPN_PORT_FORWARDING
|
|
||||||
value: "on"
|
|
||||||
- name: PORT_FORWARD_ONLY
|
|
||||||
value: "on"
|
|
||||||
- name: FIREWALL_OUTBOUND_SUBNETS
|
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||||
value: 10.0.0.0/8
|
value: 10.0.0.0/8
|
||||||
- name: FIREWALL_INPUT_PORTS
|
- name: FIREWALL_INPUT_PORTS
|
||||||
|
|||||||
@@ -34,6 +34,65 @@ spec:
|
|||||||
hostPID: false
|
hostPID: false
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
containers:
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: VPN_SERVICE_PROVIDER
|
||||||
|
value: protonvpn
|
||||||
|
- name: VPN_TYPE
|
||||||
|
value: wireguard
|
||||||
|
- name: WIREGUARD_PRIVATE_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: private-key
|
||||||
|
name: yubal-playlist-wireguard-conf
|
||||||
|
- name: UPDATER_PROTONVPN_EMAIL
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: proton-email
|
||||||
|
name: yubal-playlist-wireguard-conf
|
||||||
|
- name: UPDATER_PROTONVPN_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
key: proton-password
|
||||||
|
name: yubal-playlist-wireguard-conf
|
||||||
|
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||||
|
value: 10.0.0.0/8
|
||||||
|
- name: FIREWALL_INPUT_PORTS
|
||||||
|
value: 80,8000,24000
|
||||||
|
- name: DNS_UPSTREAM_RESOLVER_TYPE
|
||||||
|
value: dot
|
||||||
|
image: ghcr.io/qdm12/gluetun:v3.41.0@sha256:6b54856716d0de56e5bb00a77029b0adea57284cf5a466f23aad5979257d3045
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
lifecycle:
|
||||||
|
postStart:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- (ip rule del table 51820; ip -6 rule del table 51820) || true
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- /gluetun-entrypoint
|
||||||
|
- healthcheck
|
||||||
|
failureThreshold: 5
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 30
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 15
|
||||||
|
name: gluetun
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
devic.es/tun: "1"
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
devic.es/tun: "1"
|
||||||
|
memory: 128Mi
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
privileged: true
|
||||||
- env:
|
- env:
|
||||||
- name: YUBAL_TZ
|
- name: YUBAL_TZ
|
||||||
value: America/Chicago
|
value: America/Chicago
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: yubal-playlist-wireguard-conf
|
||||||
|
namespace: yubal-playlist
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: yubal-playlist-wireguard-conf
|
||||||
|
app.kubernetes.io/instance: yubal-playlist
|
||||||
|
app.kubernetes.io/part-of: yubal-playlist
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: vault
|
||||||
|
data:
|
||||||
|
- secretKey: private-key
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /protonvpn/conf/cl01tl
|
||||||
|
metadataPolicy: None
|
||||||
|
property: private-key
|
||||||
|
- secretKey: proton-email
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /protonvpn/conf/cl01tl
|
||||||
|
metadataPolicy: None
|
||||||
|
property: email
|
||||||
|
- secretKey: proton-password
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /protonvpn/conf/cl01tl
|
||||||
|
metadataPolicy: None
|
||||||
|
property: password
|
||||||
Reference in New Issue
Block a user