apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
resources:
  # List the Kubeflow applications that should be included
  # TODO(https://github.com/kubeflow/manifests/issues/1073):
  # control plane
  - ../../admission-webhook/webhook/v3
  - ../../common/centraldashboard/overlays/stacks
  - ../../kubeflow-roles/base
  - ./application/jupyter-web-app
  - ../../jupyter/notebook-controller/base_v3
  - ../../profiles/base_v3
  # Training Operators
  - ../../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
  - ../../mxnet-job/mxnet-operator/overlays/application
  - ../../mpi-job/mpi-operator/overlays/application
  - ../../katib/installs/katib-standalone
  # Pipeline
  # Need to change to - ../../pipeline/installs/multi-user
  # Meta data has been included.
  - ../../pipeline/minio/installs/generic
  - ../../pipeline/mysql/installs/generic
  - ../../pipeline/installs/multi-user
  - ../../argo/base_v3
  # Serving components
  - ../../seldon/seldon-core-operator/overlays/application
  # AWS components
  - ../../aws/aws-alb-ingress-controller/base_v3
  - ../../aws/nvidia-device-plugin/overlays/application
  # Kubernetes resources - anonymous user
  - ../../default-install/base
  # Metadata
  - ../../metadata/v3
generatorOptions:
  disableNameSuffixHash: true
configMapGenerator:
- envs:
  - ./config/params.env
  name: kubeflow-config
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
