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

INTLY-1493 - Add parameter for namespace prefix #36

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

matskiv
Copy link
Contributor

@matskiv matskiv commented Mar 26, 2019

JIRA: https://issues.jboss.org/browse/INTLY-1493

Verification

Create backup jobs via installer with this additional params - -e 'backup_schedule="*/1 * * * *"' -e backup_image=quay.io/integreatly/backup-container:dev
Once the jobs are created, edit cronjobs that are affected by this PR (3scale-redis-backup, codeready-pv-backup and enmasse-pv-backup) add new env var with correct NS prefix:

- name: PRODUCT_NAMESPACE_PREFIX
  value: openshift-

Wait until the jobs get triggered and check the result of those three jobs.
Redis job should successfully back up .rdb file.
Codeready might show a warning about not finding any workspaces (optional: create one and wait until next job is triggered)
Enmasse pv cronjob might show this error if you have no data in enmasse:
ls: cannot access /tmp/enmasse-data/*: No such file or directory that is okay.

@matskiv
Copy link
Contributor Author

matskiv commented Mar 26, 2019

I built and pushed current state to quay.io/integreatly/backup-container:dev

@matskiv
Copy link
Contributor Author

matskiv commented Mar 26, 2019

This was originally based on stale master. Rebased, rebuilt, pushed.
Writing verification instructions now, so it will be ready in couple of minutes.

@matskiv matskiv changed the title [WIP] INTLY-1493 - Add parameter for namespace prefix INTLY-1493 - Add parameter for namespace prefix Mar 26, 2019
@aidenkeating
Copy link
Contributor

👀

Copy link
Contributor

@aidenkeating aidenkeating left a comment

Choose a reason for hiding this comment

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

Tried it out on my cluster. Worked fine

@matskiv matskiv merged commit 0c5153b into integr8ly:master Mar 26, 2019
@matskiv matskiv deleted the INTLY-1493 branch March 26, 2019 16:01
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

2 participants