This commit is contained in:
33
debug-pod.yaml
Normal file
33
debug-pod.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bind-debug
|
||||
labels:
|
||||
app: bind-debug
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: bind-debug
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: bind-debug
|
||||
spec:
|
||||
containers:
|
||||
- name: bind-debug
|
||||
image: alpine:latest
|
||||
command: ["sleep", "3600"]
|
||||
volumeMounts:
|
||||
- name: bind-zones
|
||||
mountPath: /mnt/zones
|
||||
- name: transfer-key-secret
|
||||
mountPath: /mnt/keys
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: bind-zones
|
||||
persistentVolumeClaim:
|
||||
claimName: bind-hidden-primary-zones
|
||||
- name: transfer-key-secret
|
||||
secret:
|
||||
secretName: transfer-key
|
||||
Reference in New Issue
Block a user