apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubeflow
resources:
  - ../../../../pipeline/minio/installs/ibm
  - ../../../../pipeline/mysql/installs/ibm
  - ../../../../pipeline/installs/multi-user
configMapGenerator:
- name: pipeline-mysql-parameters
  behavior: merge
  literals:
  - mysqlPvcName=mysql-pv-claim
- name: pipeline-minio-parameters
  behavior: merge
  literals:
  - minioPvcName=minio-pv-claim
- 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
