apiVersion: apps/v1
kind: Deployment
metadata:
  name: missing-volumes
  labels:
    name: missing-volumes
    app: crash-app
spec:
  replicas: 1
  selector:
    matchLabels:
      name: missing-volumes
      app: crash-app
  progressDeadlineSeconds: 15
  template:
    metadata:
      labels:
        name: missing-volumes
        app: crash-app
    spec:
      containers:
      - name: mounts-missing-volumes
        image: busybox
        imagePullPolicy: IfNotPresent
        command: ["tail", "-f", "/dev/null"]
        volumeMounts:
        - mountPath: /server-cert
          name: server-cert
      volumes:
      - name: server-cert
        secret:
          secretName: catphotoscom
