You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
967 B
41 lines
967 B
# This is a kustomization package used to allow kfctl to
|
|
# bootstrap a profile for the user running kfctl.
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- profile-instance.yaml
|
|
configMapGenerator:
|
|
- envs:
|
|
- params.env
|
|
name: default-install-config
|
|
# These vars are used for substituing in the parameters from the config map
|
|
# into the Profiles custom resource.
|
|
configurations:
|
|
- params.yaml
|
|
replacements:
|
|
- source:
|
|
fieldPath: data.user
|
|
kind: ConfigMap
|
|
name: default-install-config
|
|
version: v1
|
|
targets:
|
|
- fieldPaths:
|
|
- spec.owner.name
|
|
select:
|
|
group: kubeflow.org
|
|
kind: Profile
|
|
name: $(profile-name)
|
|
version: v1beta1
|
|
- source:
|
|
fieldPath: data.profile-name
|
|
kind: ConfigMap
|
|
name: default-install-config
|
|
version: v1
|
|
targets:
|
|
- fieldPaths:
|
|
- metadata.name
|
|
select:
|
|
group: kubeflow.org
|
|
kind: Profile
|
|
name: $(profile-name)
|
|
version: v1beta1
|
|
|