apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: ml-pipeline-scheduledworkflow
    app.kubernetes.io/component: scheduledworkflow
    app.kubernetes.io/instance: scheduledworkflow-0.2.0
    app.kubernetes.io/managed-by: kfctl
    app.kubernetes.io/name: scheduledworkflow
    app.kubernetes.io/part-of: kubeflow
    app.kubernetes.io/version: 0.2.0
  name: ml-pipeline-scheduledworkflow
  namespace: kubeflow
spec:
  selector:
    matchLabels:
      app: ml-pipeline-scheduledworkflow
      app.kubernetes.io/component: scheduledworkflow
      app.kubernetes.io/instance: scheduledworkflow-0.2.0
      app.kubernetes.io/managed-by: kfctl
      app.kubernetes.io/name: scheduledworkflow
      app.kubernetes.io/part-of: kubeflow
      app.kubernetes.io/version: 0.2.0
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
      labels:
        app: ml-pipeline-scheduledworkflow
        app.kubernetes.io/component: scheduledworkflow
        app.kubernetes.io/instance: scheduledworkflow-0.2.0
        app.kubernetes.io/managed-by: kfctl
        app.kubernetes.io/name: scheduledworkflow
        app.kubernetes.io/part-of: kubeflow
        app.kubernetes.io/version: 0.2.0
    spec:
      containers:
      - env:
        - name: POD_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        image: uhub.service.ucloud.cn/a4x-kubeflow/ml-pipeline/scheduledworkflow:0.2.5
        imagePullPolicy: IfNotPresent
        name: ml-pipeline-scheduledworkflow
      serviceAccountName: ml-pipeline-scheduledworkflow
