Automated Manifest Update (#3793)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #3793 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #3793.
This commit is contained in:
@@ -151,6 +151,7 @@ data:
|
||||
vault IN CNAME traefik-cl01tl
|
||||
whodb IN CNAME traefik-cl01tl
|
||||
yamtrack IN CNAME traefik-cl01tl
|
||||
yubal IN CNAME traefik-cl01tl
|
||||
yubal-playlist IN CNAME traefik-cl01tl
|
||||
|
||||
blocking:
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/configMaps: 8b396fac7b997c2ffbdd8b821f1d2f1dd9149676beca334d686d80a02f6fa481
|
||||
checksum/configMaps: 4e7e93d0d3e718f156fdb3a34151b5dd8efe5158ea917431ba199fd3f8d1aba8
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: blocky
|
||||
|
||||
@@ -581,6 +581,15 @@ data:
|
||||
interval: 30s
|
||||
name: spotisub
|
||||
url: https://spotisub.alexlebens.net
|
||||
- alerts:
|
||||
- type: ntfy
|
||||
conditions:
|
||||
- '[STATUS] == 200'
|
||||
- '[CERTIFICATE_EXPIRATION] > 240h'
|
||||
group: core
|
||||
interval: 30s
|
||||
name: yubal
|
||||
url: https://yubal.alexlebens.net
|
||||
- alerts:
|
||||
- type: ntfy
|
||||
conditions:
|
||||
|
||||
@@ -26,7 +26,7 @@ spec:
|
||||
app.kubernetes.io/name: gatus
|
||||
app.kubernetes.io/instance: gatus
|
||||
annotations:
|
||||
checksum/config: fc0d6464232dcce73118c4c06a8a4813480a4020a930d1ec2aa47d19a80e6570
|
||||
checksum/config: 5bfcb241ed2300d9653143bc63d2eccac44ed7a36cc992b6d2a361bb7cf7fa16
|
||||
spec:
|
||||
serviceAccountName: default
|
||||
automountServiceAccountToken: false
|
||||
|
||||
@@ -588,6 +588,12 @@ data:
|
||||
url: http://lidarr.lidarr:80
|
||||
key: {{HOMEPAGE_VAR_LIDARR_KEY}}
|
||||
fields: ["wanted", "queued", "artists"]
|
||||
- Yubal:
|
||||
icon: sh-yubal.webp
|
||||
description: Download Youtube playlist
|
||||
href: https://yubal.alexlebens.net
|
||||
siteMonitor: http://yubal.yubal:80
|
||||
statusStyle: dot
|
||||
- Yubal Playlist:
|
||||
icon: sh-yubal.webp
|
||||
description: Replicate Youtube playlist
|
||||
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/configMaps: b4d37b507fc487990d152d8a04811d7403bf2e5f747f251297c5e933cceb0f49
|
||||
checksum/configMaps: 5b485b6a7d842310e91f3605f42c0ad322a67b349be9868f89b9d8968504630f
|
||||
checksum/secrets: d3ba83f111cd32f92c909268c55ad8bbd4f9e299b74b35b33c1a011180d8b378
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
|
||||
128
clusters/cl01tl/manifests/yubal/Deployment-yubal.yaml
Normal file
128
clusters/cl01tl/manifests/yubal/Deployment-yubal.yaml
Normal file
@@ -0,0 +1,128 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: yubal
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: yubal
|
||||
helm.sh/chart: yubal-4.6.2
|
||||
namespace: yubal
|
||||
spec:
|
||||
revisionHistoryLimit: 3
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/name: yubal
|
||||
app.kubernetes.io/instance: yubal
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/name: yubal
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
serviceAccountName: default
|
||||
automountServiceAccountToken: true
|
||||
hostIPC: false
|
||||
hostNetwork: false
|
||||
hostPID: false
|
||||
dnsPolicy: ClusterFirst
|
||||
containers:
|
||||
- env:
|
||||
- name: VPN_SERVICE_PROVIDER
|
||||
value: protonvpn
|
||||
- name: VPN_TYPE
|
||||
value: wireguard
|
||||
- name: WIREGUARD_PRIVATE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: private-key
|
||||
name: yubal-wireguard-conf
|
||||
- name: UPDATER_PROTONVPN_EMAIL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: proton-email
|
||||
name: yubal-wireguard-conf
|
||||
- name: UPDATER_PROTONVPN_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: proton-password
|
||||
name: yubal-wireguard-conf
|
||||
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||
value: 10.0.0.0/8
|
||||
- name: FIREWALL_INPUT_PORTS
|
||||
value: "8080"
|
||||
- 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:
|
||||
- name: YUBAL_TZ
|
||||
value: America/Chicago
|
||||
- name: YUBAL_HOST
|
||||
value: 0.0.0.0
|
||||
- name: YUBAL_PORT
|
||||
value: "8080"
|
||||
- name: YUBAL_LOG_LEVEL
|
||||
value: DEBUG
|
||||
image: ghcr.io/guillevc/yubal:0.4.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: main
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- mountPath: /app/config
|
||||
name: config
|
||||
- mountPath: /app/data
|
||||
name: music
|
||||
- mountPath: /app/ytdlp
|
||||
name: ytdlp
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: yubal-config
|
||||
- name: music
|
||||
persistentVolumeClaim:
|
||||
claimName: yubal-nfs-storage
|
||||
- name: ytdlp
|
||||
persistentVolumeClaim:
|
||||
claimName: yubal-ytdlp
|
||||
@@ -0,0 +1,35 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: yubal-wireguard-conf
|
||||
namespace: yubal
|
||||
labels:
|
||||
app.kubernetes.io/name: yubal-wireguard-conf
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/part-of: yubal
|
||||
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
|
||||
30
clusters/cl01tl/manifests/yubal/HTTPRoute-yubal.yaml
Normal file
30
clusters/cl01tl/manifests/yubal/HTTPRoute-yubal.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: yubal
|
||||
labels:
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: yubal
|
||||
helm.sh/chart: yubal-4.6.2
|
||||
namespace: yubal
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: traefik-gateway
|
||||
namespace: traefik
|
||||
hostnames:
|
||||
- "yubal.alexlebens.net"
|
||||
rules:
|
||||
- backendRefs:
|
||||
- group: ""
|
||||
kind: Service
|
||||
name: yubal
|
||||
namespace: yubal
|
||||
port: 80
|
||||
weight: 100
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
11
clusters/cl01tl/manifests/yubal/Namespace-yubal.yaml
Normal file
11
clusters/cl01tl/manifests/yubal/Namespace-yubal.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: yubal
|
||||
labels:
|
||||
app.kubernetes.io/name: yubal
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/part-of: yubal
|
||||
pod-security.kubernetes.io/audit: privileged
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
pod-security.kubernetes.io/warn: privileged
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: yubal-nfs-storage
|
||||
namespace: yubal
|
||||
labels:
|
||||
app.kubernetes.io/name: yubal-nfs-storage
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/part-of: yubal
|
||||
spec:
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: nfs-client
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
nfs:
|
||||
path: /volume2/Storage/Music Youtube/
|
||||
server: synologybond.alexlebens.net
|
||||
mountOptions:
|
||||
- vers=4
|
||||
- minorversion=1
|
||||
- noac
|
||||
@@ -0,0 +1,19 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: yubal-config
|
||||
labels:
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: yubal
|
||||
helm.sh/chart: yubal-4.6.2
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
namespace: yubal
|
||||
spec:
|
||||
accessModes:
|
||||
- "ReadWriteOnce"
|
||||
resources:
|
||||
requests:
|
||||
storage: "1Gi"
|
||||
storageClassName: "ceph-block"
|
||||
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: yubal-nfs-storage
|
||||
namespace: yubal
|
||||
labels:
|
||||
app.kubernetes.io/name: yubal-nfs-storage
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/part-of: yubal
|
||||
spec:
|
||||
volumeName: yubal-nfs-storage
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
@@ -0,0 +1,19 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: yubal-ytdlp
|
||||
labels:
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: yubal
|
||||
helm.sh/chart: yubal-4.6.2
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
namespace: yubal
|
||||
spec:
|
||||
accessModes:
|
||||
- "ReadWriteOnce"
|
||||
resources:
|
||||
requests:
|
||||
storage: "1Gi"
|
||||
storageClassName: "ceph-block"
|
||||
22
clusters/cl01tl/manifests/yubal/Service-yubal.yaml
Normal file
22
clusters/cl01tl/manifests/yubal/Service-yubal.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: yubal
|
||||
labels:
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: yubal
|
||||
app.kubernetes.io/service: yubal
|
||||
helm.sh/chart: yubal-4.6.2
|
||||
namespace: yubal
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: yubal
|
||||
app.kubernetes.io/name: yubal
|
||||
Reference in New Issue
Block a user