Skip to content
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

Allow defining product namespace instead of prefix #53

Merged
merged 4 commits into from
Jan 14, 2020

Conversation

matskiv
Copy link
Member

@matskiv matskiv commented Dec 18, 2019

This change is added to allow setting product namespace name directly, instead of relying on hard-coded suffix values.
Motivation: on 4.x we use "amq-online" ns name instead of enmasse.

Second change is for CodeReady workspaces backup - improved filtering of the pods, to avoid matching an OLM pod ("registry-cs-rhmi-codeready-workspaces-w8kjm").

This should be backwards compatible with 1.x, but that needs to be thoroughly tested.

@damienomurchu damienomurchu self-requested a review January 13, 2020 10:05
@damienomurchu
Copy link

Spinning up a 3.x cluster and will attempt to verify the PR on that cluster

@damienomurchu
Copy link

@matskiv can confirm backup jobs run successfully on a 3.x cluster - but seeing an issue with the resources-backup job:

error: the server doesn't have a resource type "clusterservicebrokers"

This may have been broken before your PR I suspect

@matskiv
Copy link
Member Author

matskiv commented Jan 14, 2020

@damienomurchu yeah, that might have been already broken. I will add a commit with a fix and rebuild the image (quay.io/omatskiv/backup-container:latest).

@matskiv
Copy link
Member Author

matskiv commented Jan 14, 2020

Turns out api server in kube-service-catalog ns was down.
Once I restarted it, the clusterservicebrokers was available.
So no change is required IMHO.

Copy link

@damienomurchu damienomurchu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes verified on a 3.x cluster provisioned with 1.6.0-er4 and the quay.io/omatskiv/backup-container:latest image built from this PR.

@matskiv matskiv merged commit c742310 into integr8ly:master Jan 14, 2020
@matskiv matskiv deleted the allow-product-namespace branch January 14, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants