apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-app-unsupported-secrets-type
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      com.ovai.application: test
      com.ovai.service: test-app-svc
  template:
    metadata:
      annotations:
        ovai.asaintsever.org/inject: "true"
        ovai.asaintsever.org/secrets-type: "kubernetes" # unsupported secrets type
      labels:
        com.ovai.application: test
        com.ovai.service: test-app-svc
    spec:
      serviceAccountName: default
      containers:
        - name: test-app-unsupported-secrets-type
          image: busybox:1.28
          command:
            - "sh"
            - "-c"
            - >
              echo "My secrets are: $(cat /opt/ovai/secrets/secrets.properties)"
          volumeMounts:
            - name: secrets
              mountPath: /opt/ovai/secrets
      volumes:
        - name: secrets
          emptyDir:
            medium: Memory