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

Fix environment variable definitions for registry viewer deployment #30

Closed

Conversation

michael-valdron
Copy link
Member

Signed-off-by: Michael Valdron mvaldron@redhat.com

Please specify the area for this PR

operator

What does does this PR do / why we need it:

Provides required fixes to setting environment variables on the registry viewer within the registry operator deployment.

Which issue(s) this PR fixes:

Fixes #?

fixes devfile/api#1016

PR acceptance criteria:

  • Test Coverage
    • Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?
  • Gosec scans

Documentation

How to test changes / Special notes to the reviewer:

…er using the registry operator.

Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Comment on lines +193 to +194
Value: fmt.Sprintf(`[{\"name\":\"Community\",\"url\":\"http://localhost:8080\",\"fqdn\":\"http://%s.%s\"}]`,
IngressName(cr.Name), cr.Spec.K8s.IngressDomain),
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you planning to update the fqdn to cr.Status.URL in a different PR?

Copy link
Member Author

Choose a reason for hiding this comment

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

@kim-tsao Going to rebase #29 on these changes and change it there.

@openshift-ci
Copy link

openshift-ci bot commented Feb 6, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kim-tsao, michael-valdron

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@michael-valdron michael-valdron mentioned this pull request Feb 6, 2023
3 tasks
@michael-valdron
Copy link
Member Author

Operator deployment failed during testing, moving to WIP till resolved.

@michael-valdron michael-valdron marked this pull request as draft February 6, 2023 23:46
@michael-valdron michael-valdron changed the title Fix environment variable definitions for registry viewer deployment [WIP]Fix environment variable definitions for registry viewer deployment Feb 6, 2023
@michael-valdron michael-valdron changed the title [WIP]Fix environment variable definitions for registry viewer deployment Fix environment variable definitions for registry viewer deployment Feb 7, 2023
@michael-valdron michael-valdron marked this pull request as ready for review February 7, 2023 18:19
@kim-tsao
Copy link
Contributor

kim-tsao commented Feb 8, 2023

/retest

@openshift-ci
Copy link

openshift-ci bot commented Feb 8, 2023

@michael-valdron: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v4.12-registry-operator-integration-test 433fb91 link true /test v4.12-registry-operator-integration-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@michael-valdron
Copy link
Member Author

No longer needed, #29 has this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Registry viewer environment variables not being properly set
2 participants