fix mounts adguard
This commit is contained in:
@@ -16,18 +16,6 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 5Gi
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: adguard-work
|
|
||||||
namespace: adguard
|
|
||||||
spec:
|
|
||||||
storageClassName: nfs-client
|
|
||||||
accessModes: [ReadWriteMany]
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -44,12 +32,10 @@ spec:
|
|||||||
- name: adguard
|
- name: adguard
|
||||||
image: adguard/adguardhome:v0.107.79 # pin de tag! (Renovate houdt ze bij)
|
image: adguard/adguardhome:v0.107.79 # pin de tag! (Renovate houdt ze bij)
|
||||||
ports: [{containerPort: 80}]
|
ports: [{containerPort: 80}]
|
||||||
volumeMounts: [{name: config, mountPath: /opt/AdGuardHome/conf}, {name: work, mountPath: /opt/AdguardHome/work}]
|
volumeMounts: [{name: config, mountPath: /opt/AdGuardHome}]
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim: {claimName: adguard-config}
|
persistentVolumeClaim: {claimName: adguard-config}
|
||||||
- name: work
|
|
||||||
persistentVolumeClaim: {claimName: adguard-work}
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user