fix mounts adguard
This commit is contained in:
@@ -16,18 +16,6 @@ spec:
|
||||
requests:
|
||||
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
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -44,12 +32,10 @@ spec:
|
||||
- name: adguard
|
||||
image: adguard/adguardhome:v0.107.79 # pin de tag! (Renovate houdt ze bij)
|
||||
ports: [{containerPort: 80}]
|
||||
volumeMounts: [{name: config, mountPath: /opt/AdGuardHome/conf}, {name: work, mountPath: /opt/AdguardHome/work}]
|
||||
volumeMounts: [{name: config, mountPath: /opt/AdGuardHome}]
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim: {claimName: adguard-config}
|
||||
- name: work
|
||||
persistentVolumeClaim: {claimName: adguard-work}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user