Skip to content

Commit 06572a9

Browse files
committed
fix: remove unused PVC for vector
1 parent 9fd3ad3 commit 06572a9

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

tutoraspects/patches/k8s-deployments

+2-20
Original file line numberDiff line numberDiff line change
@@ -505,15 +505,6 @@ spec:
505505
name: config
506506
subPath: k8s.toml
507507
readOnly: true
508-
- mountPath: /var/lib
509-
name: var-lib
510-
readOnly: true
511-
- mountPath: /host/proc
512-
name: procfs
513-
readOnly: true
514-
- mountPath: /host/sys
515-
name: sysfs
516-
readOnly: true
517508
securityContext:
518509
allowPrivilegeEscalation: false
519510
terminationGracePeriodSeconds: 60
@@ -525,16 +516,7 @@ spec:
525516
- name: data
526517
hostPath:
527518
path: /var/lib/vector
528-
- hostPath:
519+
- name: var-log
520+
hostPath:
529521
path: /var/log/
530-
name: var-log
531-
- hostPath:
532-
path: /var/lib/
533-
name: var-lib
534-
- hostPath:
535-
path: /proc
536-
name: procfs
537-
- hostPath:
538-
path: /sys
539-
name: sysfs
540522
{% endif %}

tutoraspects/patches/k8s-volumes

-16
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,6 @@ spec:
3030
requests:
3131
storage: 5Mi
3232
{% endif %}
33-
{% if RUN_VECTOR %}
34-
---
35-
apiVersion: v1
36-
kind: PersistentVolumeClaim
37-
metadata:
38-
name: vector
39-
labels:
40-
app.kubernetes.io/component: volume
41-
app.kubernetes.io/name: vector
42-
spec:
43-
accessModes:
44-
- ReadWriteOnce
45-
resources:
46-
requests:
47-
storage: 2Gi
48-
{% endif %}
4933
---
5034
apiVersion: v1
5135
kind: PersistentVolumeClaim

0 commit comments

Comments
 (0)