netbox pvc
This commit is contained in:
@@ -294,25 +294,6 @@ spec:
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: netbox
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: netbox
|
||||
app.kubernetes.io/version: v4.4.5
|
||||
helm.sh/chart: netbox-7.2.1
|
||||
name: netbox-media
|
||||
namespace: netbox
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: openebs-3-replicas
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -442,7 +423,7 @@ spec:
|
||||
name: netbox-tmp
|
||||
- mountPath: /opt/netbox/netbox/media
|
||||
name: media
|
||||
subPath: ""
|
||||
subPath: media
|
||||
- mountPath: /opt/unit
|
||||
name: optunit
|
||||
- mountPath: /run/secrets/superuser_password
|
||||
@@ -622,7 +603,7 @@ spec:
|
||||
- mountPath: /opt/netbox/netbox/media
|
||||
name: media
|
||||
readOnly: false
|
||||
subPath: ""
|
||||
subPath: media
|
||||
initContainers:
|
||||
- args:
|
||||
- rollout
|
||||
@@ -794,7 +775,7 @@ spec:
|
||||
- mountPath: /opt/netbox/netbox/media
|
||||
name: media
|
||||
readOnly: false
|
||||
subPath: ""
|
||||
subPath: media
|
||||
restartPolicy: OnFailure
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
|
||||
Reference in New Issue
Block a user