I have several files stored as Kubernetes secrets. I can access one of them, but obviously I need them all. How do I access all of them? I tried this but they seem to be overwriting each other.
// In deployment
volumes:
- name: my-secret-volume
secret:
secretName: some-file.yaml
- name: my-secret-volume
secret:
secretName: another-file.yaml
...
volumeMounts:
- name: my-secret-volume
mountPath: /var/config
readOnly: true