---
version: 1
kind: component

requires:
  - kubernetes

parameters:
  - name: kubeflow
    parameters:
      - name: namespace
        value: kubeflow
        env: NAMESPACE
      - name: version
        value: v1.5.1
        env: VERSION

  - name: dex.passwordDb.email
    value: bdaml
  - name: hub.backup.file
    empty: allow
    env: BACKUP_FILE

  - name: kustomize.tarball.url
    value: "https://codeload.github.com/kubeflow/manifests/tar.gz/${kubeflow.version}"
    env: HUB_KUSTOMIZE_TARBALL_URL
  - name: kustomize.tarball.subpath
    value: apps/profiles/upstream
    env: HUB_KUSTOMIZE_TARBALL_SUBPATH

templates:
  files:
    - "*.template"

lifecycle:
  verbs:
    - deploy
    - undeploy
    - backup
