update kubeflow dip-catalog
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# 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
|
||||
@@ -0,0 +1,2 @@
|
||||
user=user@example.com
|
||||
profile-name=kubeflow-user-example-com
|
||||
@@ -0,0 +1,5 @@
|
||||
varReference:
|
||||
- path: spec/owner/name
|
||||
kind: Profile
|
||||
- path: metadata/name
|
||||
kind: Profile
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: kubeflow.org/v1beta1
|
||||
kind: Profile
|
||||
metadata:
|
||||
name: $(profile-name)
|
||||
spec:
|
||||
owner:
|
||||
kind: User
|
||||
name: $(user)
|
||||
Reference in New Issue
Block a user