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

Get Oauth proxy image from ImageStreams resource #1587

Merged
merged 20 commits into from
Sep 2, 2024

Conversation

coleenquadros
Copy link
Contributor

@coleenquadros coleenquadros commented Aug 21, 2024

Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
@coleenquadros
Copy link
Contributor Author

/retest

1 similar comment
@coleenquadros
Copy link
Contributor Author

/retest

@coleenquadros
Copy link
Contributor Author

/test e2e-kind

@coleenquadros
Copy link
Contributor Author

coleenquadros commented Aug 26, 2024

local testing ->

 image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:65515661a7d719f1a8984c8fe3869a8c479c735b601d820c077797fe78b8e6b3
imagePullPolicy: IfNotPresent
 name: grafana-proxy
 image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:65515661a7d719f1a8984c8fe3869a8c479c735b601d820c077797fe78b8e6b3
     imagePullPolicy: IfNotPresent
     name: alertmanager-proxy

@coleenquadros
Copy link
Contributor Author

/retest-required

@coleenquadros
Copy link
Contributor Author

/test e2e-kind

@coleenquadros
Copy link
Contributor Author

/retest

@coleenquadros
Copy link
Contributor Author

/test e2e-kind

@coleenquadros
Copy link
Contributor Author

/retest

@coleenquadros
Copy link
Contributor Author

/retest

@coleenquadros
Copy link
Contributor Author

/test test-e2e

@coleenquadros
Copy link
Contributor Author

/retest

@coleenquadros coleenquadros force-pushed the oauth_proxy_image branch 2 times, most recently from 16eba95 to 4f7aded Compare August 29, 2024 07:32
Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
@coleenquadros
Copy link
Contributor Author

/retest

Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Signed-off-by: Coleen Iona Quadros <[email protected]>
@coleenquadros
Copy link
Contributor Author

/retest-required

@coleenquadros
Copy link
Contributor Author

/retest

Signed-off-by: Coleen Iona Quadros <[email protected]>
@coleenquadros
Copy link
Contributor Author

/test test-e2e

Signed-off-by: Coleen Iona Quadros <[email protected]>
Copy link

sonarqubecloud bot commented Sep 2, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
11.4% Coverage on New Code (required ≥ 70%)

See analysis details on SonarCloud

Copy link

openshift-ci bot commented Sep 2, 2024

@coleenquadros: 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/sonarcloud 4e16a6d link false /test sonarcloud

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-sigs/prow repository. I understand the commands that are listed here.

@coleenquadros
Copy link
Contributor Author

/test test-e2e

@coleenquadros coleenquadros changed the title Oauth proxy image Get Oauth proxy image from ImageStreams resource Sep 2, 2024
Copy link
Contributor

@philipgough philipgough left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Sep 2, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: coleenquadros, philipgough

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:
  • OWNERS [coleenquadros,philipgough]

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

@openshift-merge-bot openshift-merge-bot bot merged commit 798d027 into stolostron:main Sep 2, 2024
20 of 21 checks passed
JoaoBraveCoding pushed a commit to JoaoBraveCoding/multicluster-observability-operator that referenced this pull request Sep 9, 2024
* get oauth proxy image from image streams

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update test

Signed-off-by: Coleen Iona Quadros <[email protected]>

* lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

* lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

* lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

* Update Konflux to run on main branch  (stolostron#1590)

* Update registry.access.redhat.com/ubi9/go-toolset Docker digest to 5049a9d (stolostron#1546)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Red Hat Konflux update endpoint-monitoring-operator-acm-212 (stolostron#1541)

* Red Hat Konflux update endpoint-monitoring-operator-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update builder

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update grafana-dashboard-loader-acm-212 (stolostron#1542)

* Red Hat Konflux update grafana-dashboard-loader-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update metrics-collector-acm-212 (stolostron#1543)

* Red Hat Konflux update metrics-collector-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update build

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update rbac-query-proxy-acm-212 (stolostron#1545)

* Red Hat Konflux update rbac-query-proxy-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update multicluster-observability-operator-acm-212 (stolostron#1544)

* Red Hat Konflux update multicluster-observability-operator-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* Update Dockerfile

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update build

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Update Konflux references

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* make target branch main for pull request

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux <[email protected]>

lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

ACM-12794: forward auth header to datasource (stolostron#1589)

* ACM-12794: forward auth header to datasource

This allows rbac-query-proxy to authentication against obs-api. This is
needed as Grafana no longer automatically forwards the header (and for
now only does so in our patched Grafana version).

Signed-off-by: Jacob Baungard Hansen <[email protected]>

* Just forward access token

We can infer the username, so I think just forwarding what we actually
need might make this slightly more resiliant to future Grafana changes.

Signed-off-by: Jacob Baungard Hansen <[email protected]>

---------

Signed-off-by: Jacob Baungard Hansen <[email protected]>

update

Signed-off-by: Coleen Iona Quadros <[email protected]>

update

Signed-off-by: Coleen Iona Quadros <[email protected]>

Revert "Avoid Concurrent writes to ManagedClusterList  (stolostron#1516)"

This reverts commit d642b5f.

update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* remove logs

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* remove log

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
JoaoBraveCoding pushed a commit to JoaoBraveCoding/multicluster-observability-operator that referenced this pull request Sep 9, 2024
* get oauth proxy image from image streams

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update test

Signed-off-by: Coleen Iona Quadros <[email protected]>

* lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

* lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

* lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

* Update Konflux to run on main branch  (stolostron#1590)

* Update registry.access.redhat.com/ubi9/go-toolset Docker digest to 5049a9d (stolostron#1546)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Red Hat Konflux update endpoint-monitoring-operator-acm-212 (stolostron#1541)

* Red Hat Konflux update endpoint-monitoring-operator-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update builder

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update grafana-dashboard-loader-acm-212 (stolostron#1542)

* Red Hat Konflux update grafana-dashboard-loader-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update metrics-collector-acm-212 (stolostron#1543)

* Red Hat Konflux update metrics-collector-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update build

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update rbac-query-proxy-acm-212 (stolostron#1545)

* Red Hat Konflux update rbac-query-proxy-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Red Hat Konflux update multicluster-observability-operator-acm-212 (stolostron#1544)

* Red Hat Konflux update multicluster-observability-operator-acm-212
Signed-off-by: red-hat-konflux <[email protected]>

* Update Dockerfile

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update build

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Coleen Iona Quadros <[email protected]>

* Update Konflux references

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* make target branch main for pull request

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: Coleen Iona Quadros <[email protected]>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux <[email protected]>

lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

lint

Signed-off-by: Coleen Iona Quadros <[email protected]>

ACM-12794: forward auth header to datasource (stolostron#1589)

* ACM-12794: forward auth header to datasource

This allows rbac-query-proxy to authentication against obs-api. This is
needed as Grafana no longer automatically forwards the header (and for
now only does so in our patched Grafana version).

Signed-off-by: Jacob Baungard Hansen <[email protected]>

* Just forward access token

We can infer the username, so I think just forwarding what we actually
need might make this slightly more resiliant to future Grafana changes.

Signed-off-by: Jacob Baungard Hansen <[email protected]>

---------

Signed-off-by: Jacob Baungard Hansen <[email protected]>

update

Signed-off-by: Coleen Iona Quadros <[email protected]>

update

Signed-off-by: Coleen Iona Quadros <[email protected]>

Revert "Avoid Concurrent writes to ManagedClusterList  (stolostron#1516)"

This reverts commit d642b5f.

update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* remove logs

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* update

Signed-off-by: Coleen Iona Quadros <[email protected]>

* remove log

Signed-off-by: Coleen Iona Quadros <[email protected]>

---------

Signed-off-by: Coleen Iona Quadros <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants