-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX secrets and mysql app selector for kubeflow install #2510
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -11,18 +11,16 @@ resources: | |||||
images: | ||||||
- name: docker.io/kubeflowkatib/katib-controller | ||||||
newName: docker.io/kubeflowkatib/katib-controller | ||||||
newTag: latest | ||||||
newTag: v0.17.0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
The head branch should use the |
||||||
- name: docker.io/kubeflowkatib/katib-db-manager | ||||||
newName: docker.io/kubeflowkatib/katib-db-manager | ||||||
newTag: latest | ||||||
newTag: v0.17.0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- name: docker.io/kubeflowkatib/katib-ui | ||||||
newName: docker.io/kubeflowkatib/katib-ui | ||||||
newTag: latest | ||||||
|
||||||
patchesStrategicMerge: | ||||||
- patches/remove-namespace.yaml | ||||||
newTag: v0.17.0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
patches: | ||||||
- path: patches/remove-namespace.yaml | ||||||
# Extend RBAC permission list of katib-ui so it can | ||||||
# create SubjectAccessReview resources. | ||||||
- target: | ||||||
|
@@ -42,15 +40,36 @@ patches: | |||||
kind: Deployment | ||||||
name: katib-ui | ||||||
path: patches/istio-sidecar-injection.yaml | ||||||
|
||||||
vars: | ||||||
- fieldref: | ||||||
fieldPath: metadata.namespace | ||||||
name: KATIB_UI_NAMESPACE | ||||||
objref: | ||||||
apiVersion: apps/v1 | ||||||
# Use mysql secrets, since katib-mysql is not used, only the already existing mysql | ||||||
- target: | ||||||
kind: Deployment | ||||||
name: katib-db-manager | ||||||
path: patches/katib-db-manager-env.yaml | ||||||
# Fix select the app mysql | ||||||
- target: | ||||||
kind: Service | ||||||
name: katib-mysql | ||||||
namespace: kubeflow | ||||||
path: patches/katib-mysql-service-select-app.yaml | ||||||
|
||||||
replacements: | ||||||
- source: | ||||||
fieldPath: metadata.namespace | ||||||
group: apps | ||||||
kind: Deployment | ||||||
name: katib-ui | ||||||
version: v1 | ||||||
targets: | ||||||
- fieldPaths: | ||||||
- spec.http.0.route.0.destination.host | ||||||
options: | ||||||
delimiter: . | ||||||
index: 1 | ||||||
select: | ||||||
group: networking.istio.io | ||||||
kind: VirtualService | ||||||
name: katib-ui | ||||||
version: v1alpha3 | ||||||
|
||||||
configurations: | ||||||
- params.yaml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
- op: replace | ||
path: /spec/template/spec/containers/0/env | ||
value: | ||
- name: DB_NAME | ||
value: mysql | ||
- name: DB_USER | ||
valueFrom: | ||
secretKeyRef: | ||
key: username | ||
name: mysql-secret | ||
- name: DB_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
key: password | ||
name: mysql-secret |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
- op: replace | ||
path: /spec/selector | ||
value: | ||
app: mysql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is latest not the correct tag on the master branch?