Changed pasarguard sub page
This commit is contained in:
@@ -21,6 +21,17 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
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:
|
containers:
|
||||||
- name: pasarguard-web
|
- name: pasarguard-web
|
||||||
image: 'pasarguard/panel:v1.4.1'
|
image: 'pasarguard/panel:v1.4.1'
|
||||||
@@ -45,10 +56,14 @@ spec:
|
|||||||
- name: tls
|
- name: tls
|
||||||
mountPath: /app/tls
|
mountPath: /app/tls
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: subscription-template
|
||||||
|
mountPath: /code/app/templates/subscription
|
||||||
volumes:
|
volumes:
|
||||||
- name: tls
|
- name: tls
|
||||||
secret:
|
secret:
|
||||||
secretName: pasarguard-tls
|
secretName: pasarguard-tls
|
||||||
|
- name: subscription-template
|
||||||
|
emptyDir: {}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user