Changed pasarguard sub page

This commit is contained in:
AB
2025-11-06 22:48:58 +02:00
parent 014db9ad81
commit 7d7906edc7

View File

@@ -21,6 +21,17 @@ spec:
spec:
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
initContainers:
- name: download-template
image: busybox:latest
command:
- sh
- -c
- |
wget -O /templates/subscription/index.html https://github.com/PasarGuard/subscription-template/releases/latest/download/index.html
volumeMounts:
- name: subscription-template
mountPath: /templates/subscription
containers:
- name: pasarguard-web
image: 'pasarguard/panel:v1.4.1'
@@ -45,10 +56,14 @@ spec:
- name: tls
mountPath: /app/tls
readOnly: true
- name: subscription-template
mountPath: /code/app/templates/subscription
volumes:
- name: tls
secret:
secretName: pasarguard-tls
- name: subscription-template
emptyDir: {}
---
apiVersion: v1
kind: Service