apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
resources:
  - ../../admission-webhook/webhook/v3
  - ../../common/centraldashboard/overlays/stacks
  - ../../kubeflow-roles/base
  - application/jupyter-web-app
  - application/notebook-controller
  - application/profiles
  - ../../argo/base_v3
  - ../../pipeline/api-service/overlays/application
  - ../../pipeline/minio/installs/ibm
  - ../../pipeline/mysql/installs/ibm
  - ../../pipeline/persistent-agent/overlays/application
  - ../../pipeline/pipelines-runner/overlays/application
  - application/pipelines-ui
  - ../../pipeline/pipelines-viewer/overlays/application
  - ../../pipeline/scheduledworkflow/overlays/application
  - ../../pipeline/pipeline-visualization-service/overlays/application
  - ../../pytorch-job/pytorch-job-crds/overlays/application
  - ../../pytorch-job/pytorch-operator/overlays/application
  - ../../tf-training/tf-job-crds/overlays/application
  - ../../tf-training/tf-job-operator/overlays/application
  - ../../katib/installs/katib-standalone-ibm
  - ../../seldon/seldon-core-operator/overlays/application
configMapGenerator:
- name: pipeline-mysql-parameters
  behavior: merge
  literals:
  - mysqlPvcName=mysql-pv-claim
- name: pipeline-minio-parameters
  behavior: merge
  literals:
  - minioPvcName=minio-pv-claim
- name: workflow-controller-parameters
  behavior: merge
  literals:
  - containerRuntimeExecutor=pns
- name: profiles-config
  behavior: merge
  literals:
  - admin=example@kubeflow.org
- name: kubeflow-config
  envs:
  - ./config/params.env
vars:
# We need to define vars at the top level otherwise we will get
# conflicts. 
- fieldref:
    fieldPath: data.clusterDomain
  name: clusterDomain
  objref:
    apiVersion: v1
    kind: ConfigMap
    name: kubeflow-config
- fieldref:
    fieldPath: metadata.namespace
  name: namespace
  objref:
    apiVersion: v1
    kind: ConfigMap
    name: kubeflow-config
- fieldref:
    fieldpath: metadata.namespace
  name: katib-ui-namespace
  objref:
    kind: Service
    name: katib-ui
    apiVersion: v1
