topology CM lookup, inject into console-plugin deployment #920
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Load the location of the
topology
ConfigMap dynamically. An update to the kuadrant-operator now sets some env-vars on the ConsolePlugin deployment, which the plugin uses to discover the topology resource.Resolves: Kuadrant/kuadrant-console-plugin#48
Verification
Verified on OpenShift v4.15
Follow user guide
kuadrant-system
Install the operator from this branch (
dynamic-topology
):Wait for the Kuadrant Operators to be installed as follows:
After some time, this command should return
complete
.Enable Kuadrant's dynamic plugin: https://docs.kuadrant.io/dev/kuadrant-operator/doc/install/install-openshift/#step-10-configure-the-kuadrant-console-plugin
Deploy resources
Apply the Kuadrant custom resource
Note: a patched version of the
kuadrant-console-plugin
has already been published as:latest
, because I like to live dangerously.Ensure the topology is loaded OK on the Kuadrant > Policy Topology view
Verify the two env vars are set in the kuadrant-console deployment: