minecraft-servers/pvc-inpsector.yaml
2025-11-22 22:10:09 -06:00

32 lines
685 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: pvc-inspector
namespace: minecraft
spec:
containers:
- image: docker.io/curlimages/curl
name: pvc-inspector
command: ["sleep", "3600"]
env:
- name: FOO
valueFrom:
secretKeyRef:
name: mysecret
key: foo
volumeMounts:
- mountPath: /data
name: data
# subPath: minecraft
#
#
- name: sealed-secret
mountPath: /secret
readOnly: true
volumes:
- name: data
persistentVolumeClaim:
claimName: data
- name: sealed-secret
secret:
secretName: mysecret