kind: Deployment
apiVersion: apps/v1
metadata:
  name: cddemopod
  labels:
    app: cddemo_app
    version: v1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: cddemo
  template:
    metadata:
      labels:
        app: cddemo
        version: v1
    spec:
      containers:
      - name: cddemo
        image: registry.gitlab.com/esnap/cddemo_pub-v1
        imagePullPolicy: "Always"
        ports:
        - containerPort: 8080     
        securityContext:
          privileged: false
    