apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: ""
  name: ""
spec:
  replicas: 1
  selector:
    matchLabels:
      app: ""
  template:
    metadata:
      labels:
        app: ""
    spec:
      containers:
      - env:
        - name: AUTH_SERVER
          value: ""
        - name: WANAKU_SERVICE_REGISTRATION_URI
          # Comes from Wanaku route
          value: ""
        - name: QUARKUS_OIDC_CLIENT_CREDENTIALS_SECRET
          value: ""
        image: ""
        imagePullPolicy: IfNotPresent
        name: wanaku-capability
        ports:
        - containerPort: 9000
          name: grpc
          protocol: TCP
        livenessProbe:
          failureThreshold: 5
          tcpSocket:
            port: 9000
          initialDelaySeconds: 15
          periodSeconds: 20
          timeoutSeconds: 5
        readinessProbe:
          tcpSocket:
            port: 9000
          initialDelaySeconds: 5
          periodSeconds: 10
          timeoutSeconds: 5
        volumeMounts:
          - mountPath: /home/default/.wanaku/services
            name: ""
      volumes:
        - name: ""
          persistentVolumeClaim:
            claimName: ""