-
Notifications
You must be signed in to change notification settings - Fork 28
Add controller to deploy topology service #204
base: master
Are you sure you want to change the base?
Add controller to deploy topology service #204
Conversation
…nsole-operator into topology-service
…pology_service * shbose/topology-service: keep lint happy route is not needed Deploy the App Topology REST service and watch it
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@akashshinde can we please add some tests for these changes? |
@Avni-Sharma Can we deploy it in a different namespace? |
@sbose78 How do you suggest to parameterize docker image path of topology service ? |
Containers: []corev1.Container{ | ||
{ | ||
Name: ServiceName, | ||
Image: "quay.io/redhat-developer/app-service:latest", // TODO(Akash): parameterize this |
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.
[Note]: This path will be parameterized in another PR
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.
This is a big technical debt!
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.
How about creating a DevConsoleConfig
CRD and keep the docker image as an attribute there?
See this Console CRD for example https://github.com/openshift/console-operator/blob/master/manifests/00-crd-operator-config.yaml
Let's create a new dedicated namespace for our service(s). |
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.
I have added a couple of comments.
This PR borrows the work from #195
A Deployment is created in the
openshift-operators
namespace such thatthe corresponding service would be reachable at devconsole-app.openshift-operators.svc:8080
Calls to this service would be proxied from the console backend [1] .
To Do