kustomize

This commit is contained in:
Steinkirch 2020-04-06 17:23:26 -07:00
parent ae72757665
commit aa0e248a45
330 changed files with 27690 additions and 0 deletions

View file

@ -0,0 +1,39 @@
apiVersion: app.k8s.io/v1beta1
kind: Application
metadata:
name: notebook-controller
spec:
selector:
matchLabels:
app.kubernetes.io/name: notebook-controller
app.kubernetes.io/instance: notebook-controller
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/component: notebook
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v0.6
componentKinds:
- group: core
kind: Service
- group: apps
kind: Deployment
- group: core
kind: ServiceAccount
descriptor:
type: notebook-controller
version: v0.6.2
description: Notebooks controller allows users to create a custom resource \"Notebook\" (jupyter notebook).
maintainers:
- name: Lun-kai Hsu
email: lunkai@google.com
owners:
- name: Lun-kai Hsu
email: lunkai@gogle.com
keywords:
- jupyter
- notebook
- notebook-controller
- jupyterhub
links:
- description: About
url: "https://github.com/kubeflow/kubeflow/tree/master/components/notebook-controller"
addOwnerRef: true

View file

@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
resources:
- application.yaml
commonLabels:
app.kubernetes.io/name: notebook-controller
app.kubernetes.io/instance: notebook-controller
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/component: notebook
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v0.6

View file

@ -0,0 +1,12 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: deployment
spec:
template:
spec:
containers:
- name: manager
env:
- name: USE_ISTIO
value: $(USE_ISTIO)

View file

@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
patchesStrategicMerge:
- deployment.yaml
configMapGenerator:
- name: parameters
behavior: merge
env: params.env
generatorOptions:
disableNameSuffixHash: true

View file

@ -0,0 +1 @@
USE_ISTIO=true