apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
  creationTimestamp: "2023-09-14T09:48:47Z"
  generation: 1
  labels:
    app: callbackstatetimeouts
    sonataflow.org/workflow-app: callbackstatetimeouts
  name: callbackstatetimeouts
  namespace: usecase3
  ownerReferences:
  - apiVersion: sonataflow.org/v1alpha08
    blockOwnerDeletion: true
    controller: true
    kind: SonataFlow
    name: callbackstatetimeouts
    uid: dee4cbe9-bf23-4e77-b425-8cdf5badfe18
  resourceVersion: "325235"
  uid: a5bf2813-5657-4937-b033-b378e8e532b5
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: callbackstatetimeouts
      sonataflow.org/workflow-app: callbackstatetimeouts
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: callbackstatetimeouts
        sonataflow.org/workflow-app: callbackstatetimeouts
    spec:
      containers:
      - image: 10.111.21.213/callbackstatetimeouts:0.0.1
        imagePullPolicy: Always
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /q/health/live
            port: 8080
            scheme: HTTP
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 3
        name: workflow
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /q/health/ready
            port: 8080
            scheme: HTTP
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 3
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          privileged: false
          runAsNonRoot: true
          seccompProfile:
            type: RuntimeDefault
        startupProbe:
          failureThreshold: 5
          httpGet:
            path: /q/health/started
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 10
          periodSeconds: 15
          successThreshold: 1
          timeoutSeconds: 3
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: FallbackToLogsOnError
        volumeMounts:
        - mountPath: /deployments/config
          name: workflow-properties
          readOnly: true
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - configMap:
          defaultMode: 420
          items:
          - key: application.properties
            path: application.properties
          name: callbackstatetimeouts-props
        name: workflow-properties
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2023-09-14T09:49:03Z"
    lastUpdateTime: "2023-09-14T09:49:03Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2023-09-14T09:48:47Z"
    lastUpdateTime: "2023-09-14T09:49:03Z"
    message: ReplicaSet "callbackstatetimeouts-7fb45d5c86" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1
