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,26 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: katib-ui
labels:
app: katib
component: ui
spec:
replicas: 1
template:
metadata:
name: katib-ui
labels:
app: katib
component: ui
spec:
containers:
- name: katib-ui
image: gcr.io/kubeflow-images-public/katib/v1alpha2/katib-ui:v0.1.2-alpha-289-g14dad8b
imagePullPolicy: IfNotPresent
command:
- './katib-ui'
ports:
- name: ui
containerPort: 80
serviceAccountName: katib-ui

View file

@ -0,0 +1,35 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: katib-ui
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- "*"
- apiGroups:
- kubeflow.org
resources:
- experiments
- trials
verbs:
- "*"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: katib-ui
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: katib-ui
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: katib-ui
subjects:
- kind: ServiceAccount
name: katib-ui

View file

@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: katib-ui
labels:
app: katib
component: ui
spec:
type: ClusterIP
ports:
- port: 80
protocol: TCP
name: ui
selector:
app: katib
component: ui

View file

@ -0,0 +1,30 @@
namespace: kubeflow
resources:
- katib-ui-deployment.yaml
- katib-ui-rbac.yaml
- katib-ui-service.yaml
configMapGenerator:
- name: katib-parameters
env: params.env
generatorOptions:
disableNameSuffixHash: true
images:
- name: gcr.io/kubeflow-images-public/katib/v1alpha2/katib-ui
newTag: v0.6.0-rc.0
vars:
- name: clusterDomain
objref:
kind: ConfigMap
name: katib-parameters
apiVersion: v1
fieldref:
fieldpath: data.clusterDomain
- name: namespace
objref:
kind: Service
name: katib-ui
apiVersion: v1
fieldref:
fieldpath: metadata.namespace
configurations:
- params.yaml

View file

@ -0,0 +1 @@
clusterDomain=cluster.local

View file

@ -0,0 +1,7 @@
varReference:
- path: data/config
kind: ConfigMap
- path: data/config
kind: Deployment
- path: metadata/annotations/getambassador.io\/config
kind: Service