Skip to content

Commit

Permalink
Add missing role to the Katib RBAC (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich authored Nov 8, 2020
1 parent 3440e7b commit 729e3cd
Show file tree
Hide file tree
Showing 563 changed files with 31,127 additions and 224 deletions.
4 changes: 2 additions & 2 deletions katib/components/katib-controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ resources:
- ../../katib-controller/overlays/istio/katib-ui-virtual-service.yaml
images:
- name: docker.io/kubeflowkatib/katib-controller
newTag: v1beta1-6dc1af8
newTag: v1beta1-a96ff59
newName: docker.io/kubeflowkatib/katib-controller
- name: docker.io/kubeflowkatib/katib-ui
newTag: v1beta1-6dc1af8
newTag: v1beta1-a96ff59
newName: docker.io/kubeflowkatib/katib-ui
commonLabels:
app.kubernetes.io/component: katib
Expand Down
2 changes: 1 addition & 1 deletion katib/components/katib-db-manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- ../../katib-controller/base/katib-db-manager-service.yaml
images:
- name: docker.io/kubeflowkatib/katib-db-manager
newTag: v1beta1-6dc1af8
newTag: v1beta1-a96ff59
newName: docker.io/kubeflowkatib/katib-db-manager
commonLabels:
app.kubernetes.io/component: katib
Expand Down
24 changes: 12 additions & 12 deletions katib/katib-controller/base/katib-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ data:
metrics-collector-sidecar: |-
{
"StdOut": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-a96ff59"
},
"File": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-a96ff59"
},
"TensorFlowEvent": {
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v1beta1-a96ff59",
"resources": {
"limits": {
"memory": "1Gi"
Expand All @@ -23,22 +23,22 @@ data:
suggestion: |-
{
"random": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-a96ff59"
},
"grid": {
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v1beta1-a96ff59"
},
"hyperband": {
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v1beta1-a96ff59"
},
"bayesianoptimization": {
"image": "docker.io/kubeflowkatib/suggestion-skopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-skopt:v1beta1-a96ff59"
},
"tpe": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-a96ff59"
},
"enas": {
"image": "docker.io/kubeflowkatib/suggestion-enas:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/suggestion-enas:v1beta1-a96ff59",
"imagePullPolicy": "Always",
"resources": {
"limits": {
Expand All @@ -47,16 +47,16 @@ data:
}
},
"cmaes": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v1beta1-a96ff59"
},
"darts": {
"image": "docker.io/kubeflowkatib/suggestion-darts:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-darts:v1beta1-a96ff59"
}
}
early-stopping: |-
{
"medianstop": {
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v1beta1-a96ff59",
"imagePullPolicy": "Always"
}
}
1 change: 1 addition & 0 deletions katib/katib-controller/base/katib-controller-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ rules:
- tekton.dev
resources:
- pipelineruns
- taskruns
verbs:
- "*"
- apiGroups:
Expand Down
6 changes: 3 additions & 3 deletions katib/katib-controller/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ generatorOptions:
disableNameSuffixHash: true
images:
- name: docker.io/kubeflowkatib/katib-controller
newTag: v1beta1-6dc1af8
newTag: v1beta1-a96ff59
newName: docker.io/kubeflowkatib/katib-controller
- name: docker.io/kubeflowkatib/katib-db-manager
newTag: v1beta1-6dc1af8
newTag: v1beta1-a96ff59
newName: docker.io/kubeflowkatib/katib-db-manager
- name: docker.io/kubeflowkatib/katib-ui
newTag: v1beta1-6dc1af8
newTag: v1beta1-a96ff59
newName: docker.io/kubeflowkatib/katib-ui
- name: mysql
newTag: "8"
Expand Down
4 changes: 2 additions & 2 deletions katib/katib-controller/base/trial-template-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-a96ff59
command:
- "python3"
- "/opt/mxnet-mnist/mnist.py"
Expand All @@ -31,7 +31,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-a96ff59
command:
- python3
- -u
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: docker.io/kubeflowkatib/katib-controller:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-controller:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
name: katib-controller
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
secretKeyRef:
key: KATIB_MYSQL_DB_PORT
name: katib-mysql-secrets-kmcg6hfkfg
image: docker.io/kubeflowkatib/katib-db-manager:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-db-manager:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: docker.io/kubeflowkatib/katib-ui:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-ui:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
name: katib-ui
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ rules:
- tekton.dev
resources:
- pipelineruns
- taskruns
verbs:
- '*'
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ data:
early-stopping: |-
{
"medianstop": {
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v1beta1-a96ff59",
"imagePullPolicy": "Always"
}
}
metrics-collector-sidecar: |-
{
"StdOut": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-a96ff59"
},
"File": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-a96ff59"
},
"TensorFlowEvent": {
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v1beta1-a96ff59",
"resources": {
"limits": {
"memory": "1Gi"
Expand All @@ -27,22 +27,22 @@ data:
suggestion: |-
{
"random": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-a96ff59"
},
"grid": {
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v1beta1-a96ff59"
},
"hyperband": {
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v1beta1-a96ff59"
},
"bayesianoptimization": {
"image": "docker.io/kubeflowkatib/suggestion-skopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-skopt:v1beta1-a96ff59"
},
"tpe": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-a96ff59"
},
"enas": {
"image": "docker.io/kubeflowkatib/suggestion-enas:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/suggestion-enas:v1beta1-a96ff59",
"imagePullPolicy": "Always",
"resources": {
"limits": {
Expand All @@ -51,10 +51,10 @@ data:
}
},
"cmaes": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v1beta1-a96ff59"
},
"darts": {
"image": "docker.io/kubeflowkatib/suggestion-darts:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-darts:v1beta1-a96ff59"
}
}
kind: ConfigMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-a96ff59
command:
- "python3"
- "/opt/mxnet-mnist/mnist.py"
Expand All @@ -25,7 +25,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-a96ff59
command:
- python3
- -u
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: docker.io/kubeflowkatib/katib-controller:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-controller:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
name: katib-controller
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
secretKeyRef:
key: MYSQL_ROOT_PASSWORD
name: katib-mysql-secrets
image: docker.io/kubeflowkatib/katib-db-manager:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-db-manager:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: docker.io/kubeflowkatib/katib-ui:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-ui:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
name: katib-ui
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ rules:
- tekton.dev
resources:
- pipelineruns
- taskruns
verbs:
- '*'
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ data:
early-stopping: |-
{
"medianstop": {
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:v1beta1-a96ff59",
"imagePullPolicy": "Always"
}
}
metrics-collector-sidecar: |-
{
"StdOut": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-a96ff59"
},
"File": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/file-metrics-collector:v1beta1-a96ff59"
},
"TensorFlowEvent": {
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v1beta1-a96ff59",
"resources": {
"limits": {
"memory": "1Gi"
Expand All @@ -27,22 +27,22 @@ data:
suggestion: |-
{
"random": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-a96ff59"
},
"grid": {
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-chocolate:v1beta1-a96ff59"
},
"hyperband": {
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperband:v1beta1-a96ff59"
},
"bayesianoptimization": {
"image": "docker.io/kubeflowkatib/suggestion-skopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-skopt:v1beta1-a96ff59"
},
"tpe": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:v1beta1-a96ff59"
},
"enas": {
"image": "docker.io/kubeflowkatib/suggestion-enas:v1beta1-6dc1af8",
"image": "docker.io/kubeflowkatib/suggestion-enas:v1beta1-a96ff59",
"imagePullPolicy": "Always",
"resources": {
"limits": {
Expand All @@ -51,10 +51,10 @@ data:
}
},
"cmaes": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-goptuna:v1beta1-a96ff59"
},
"darts": {
"image": "docker.io/kubeflowkatib/suggestion-darts:v1beta1-6dc1af8"
"image": "docker.io/kubeflowkatib/suggestion-darts:v1beta1-a96ff59"
}
}
kind: ConfigMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-a96ff59
command:
- "python3"
- "/opt/mxnet-mnist/mnist.py"
Expand All @@ -25,7 +25,7 @@ data:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-a96ff59
command:
- python3
- -u
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: docker.io/kubeflowkatib/katib-controller:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-controller:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
name: katib-controller
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
secretKeyRef:
key: MYSQL_ROOT_PASSWORD
name: katib-mysql-secrets
image: docker.io/kubeflowkatib/katib-db-manager:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-db-manager:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: docker.io/kubeflowkatib/katib-ui:v1beta1-6dc1af8
image: docker.io/kubeflowkatib/katib-ui:v1beta1-a96ff59
imagePullPolicy: IfNotPresent
name: katib-ui
ports:
Expand Down
Loading

0 comments on commit 729e3cd

Please sign in to comment.