parameters:
- name: kubeflow
  parameters:
  - name: namespace
    value: kubeflow
  - name: version
    value: v1.6.1
  - name: authn.oidcRedirectURI
    value: ${ingress.protocol}://kubeflow.${dns.domain}/login/oidc
  - name: authn.oidcSecret
    brief: |
      OpenID connect client mutual trust secret between Dex and Argo
      tip: you can use random values
    fromEnv: KUBEFLOW_OIDC_CLIENT_SECRET
  - name: authn.volumeSize
    value: 1Gi

  # Kubeflow v1.6.1 points to KFP 2.0alpha while stable 1.8.2 (from v1.5.1)
- name: kubeflow.version
  component: kubeflow-pipelines
  value: v1.5.1

- name: mysql.database
  component: kubeflow-katib
  value: katib
- name: mysql.database
  component: kubeflow-metadata
  value: metadb
- name: mysql.database
  component: kubeflow-pipelines
  value: pipelineDb

- name: bucket.name
  component: kubeflow-pipelines
  fromEnv: ML_PIPELINES_BUCKET
  default: mlpipelines
  brief: Name of the bucket used across KFP, Minio and Argo

- name: argo.oidc.clientSecret
  brief: | 
    OpenID connect client mutual trust secret between Dex and Argo
    tip: you can use random values
  fromEnv: ARGO_OIDC_CLIENT_SECRET
- name: argo.executor
  brief: |
    At the moment k8sapi has been deprecated. It's replacement (emissary) 
    has not been tested yet 
    see more info: https://argoproj.github.io/argo-workflows/workflow-executors/
  default: emissary
  fromEnv: ARGO_EXECUTOR
  # value: k8sapi

- name: bucket
  component: argo
  parameters:
  - name: host
    value: "minio.${minio.namespace}.svc"
  - name: port
    value: 9000

- name: bucket
  component: replikate
  parameters:
  - name: name
    fromEnv: ML_PIPELINES_BUCKET
    default: mlpipelines
    brief: Name of the bucket used across KFP, Minio and Argo
  - name: insecure
    value: 'true'

outputs:
- name: kubeflow.url
  brief: Kubeflow Central Dashboard
  value: ${ingress.protocol}://kubeflow.${dns.domain}
