Skip to content

Instantly share code, notes, and snippets.

@cws-khuntly
Last active January 18, 2026 14:35
Show Gist options
  • Select an option

  • Save cws-khuntly/08e458e01075a05e40cf31392aad8d40 to your computer and use it in GitHub Desktop.

Select an option

Save cws-khuntly/08e458e01075a05e40cf31392aad8d40 to your computer and use it in GitHub Desktop.
debug pod
apiVersion: v1
kind: Pod
metadata:
name: debug-pod
spec:
containers:
- name: fedora
image: fedora:43
command: ["sleep", "infinity"]
volumeMounts:
- name: keystore-volume
mountPath: "/mnt/data/ssl"
readOnly: true
- name: truststore-volume
mountPath: "/mnt/data/ssl"
readOnly: true
env:
- name: KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: store-password-secret
key: keystore-password
- name: TRUSTSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: store-password-secret
key: truststore-password
volumes:
- name: keystore-volume
secret: store-file-secret
secretName: keystore.jks
- name: truststore-volume
secret: store-file-secret
secretName: truststore.jks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment