---
# Source: ccsm-helm/charts/tasklist/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: ccsm-helm-test-tasklist
  labels:
    app: camunda-cloud-self-managed
    app.kubernetes.io/name: tasklist
    helm.sh/chart: tasklist-0.0.17
    app.kubernetes.io/instance: ccsm-helm-test
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: 1.3.1
    app.kubernetes.io/part-of: camunda-cloud-self-managed
    app.kubernetes.io/component: tasklist
spec:
  replicas: 1
  selector:
    matchLabels:
      app: camunda-cloud-self-managed
      app.kubernetes.io/name: tasklist
      helm.sh/chart: tasklist-0.0.17
      app.kubernetes.io/instance: ccsm-helm-test
      app.kubernetes.io/managed-by: Helm
      app.kubernetes.io/version: 1.3.1
      app.kubernetes.io/part-of: camunda-cloud-self-managed
      app.kubernetes.io/component: tasklist
  template:
    metadata:
      labels:
        app: camunda-cloud-self-managed
        app.kubernetes.io/name: tasklist
        helm.sh/chart: tasklist-0.0.17
        app.kubernetes.io/instance: ccsm-helm-test
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/version: 1.3.1
        app.kubernetes.io/part-of: camunda-cloud-self-managed
        app.kubernetes.io/component: tasklist
    spec:
      containers:
      - name: tasklist
        image: "camunda/tasklist:1.3.4"
        env:
          - name: SPRING_PROFILES_ACTIVE
            value: "auth"
          - name: GRAPHQL_PLAYGROUND_ENABLED
            value: "true"
          - name: GRAPHQL_PLAYGROUND_SETTINGS_REQUEST_CREDENTIALS
            value: "include"      
        resources:
          limits:
            cpu: 1000m
            memory: 2Gi
          requests:
            cpu: 400m
            memory: 1Gi
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        volumeMounts:
        - name: config
          mountPath: /app/resources/application.yml
          subPath: application.yml
      volumes:
      - name: config
        configMap:
          name: ccsm-helm-test-tasklist
          defaultMode: 0744