deployment.yaml 392 B

12345678910111213141516171819
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: ssl-exporter
  5. spec:
  6. template:
  7. spec:
  8. containers:
  9. - name: ssl-exporter
  10. volumeMounts:
  11. - mountPath: /etc/kubernetes/pki
  12. name: etc-kubernetes-pki
  13. volumes:
  14. - name: etc-kubernetes-pki
  15. hostPath:
  16. path: /etc/kubernetes/pki
  17. type: Directory
  18. readOnly: true