Skip to content

Broker connection secret #822

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

Merged

Conversation

gabo1208
Copy link
Contributor

@gabo1208 gabo1208 commented Jun 16, 2022

Changes

  • 🎁 Broker and Trigger supports RabbitMQ ClusterReference Connection Secrets
  • 🧹 Fixed samples and added e2e tests

/kind enhancement

Fixes #819
Fixes #829

Release Note

- 🎁 Broker and Trigger supports RabbitMQ ClusterReference Connection Secrets

gabo1208 added 23 commits June 16, 2022 14:08
…oo, this includes a refactor to reuse some helper methods for the triggers, sources and brokers. Fixed some tests and docs but still some to go in other commits
… to fix the unit tests + fixed source new parameters description yaml in config dir

recovered vhost for conformance tests
…ster references + added sources to secret generator

added secret reconciliation to source

added secret informer
…urce cluster reference validation + removed connection secret from source spec and updated codegen
…bbitmqResourcesConfig specs, refactored queue type and fixed tests to go along with it, now the source also have queue type + updated codegen
…g the conenction secret + fixed sample, still some work to do on the docs
…ace sample and fixed sample file names, readmes and other nits
@knative-prow knative-prow bot added kind/enhancement size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 16, 2022
@knative-prow
Copy link

knative-prow bot commented Jun 16, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gabo1208

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:

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

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 16, 2022
@gabo1208 gabo1208 mentioned this pull request Jun 16, 2022
3 tasks
@gabo1208 gabo1208 force-pushed the broker-connection-secret branch from 26e1213 to 805f464 Compare June 16, 2022 20:29
@codecov
Copy link

codecov bot commented Jun 16, 2022

Codecov Report

Merging #822 (805f464) into main (96a65a4) will decrease coverage by 0.02%.
The diff coverage is 85.00%.

@@            Coverage Diff             @@
##             main     #822      +/-   ##
==========================================
- Coverage   71.88%   71.86%   -0.03%     
==========================================
  Files          39       40       +1     
  Lines        2600     2598       -2     
==========================================
- Hits         1869     1867       -2     
+ Misses        665      664       -1     
- Partials       66       67       +1     
Impacted Files Coverage Δ
pkg/utils/rabbitmq_validation.go 80.00% <80.00%> (ø)
pkg/apis/eventing/v1alpha1/rabbitmq_validation.go 48.38% <100.00%> (-12.59%) ⬇️
pkg/apis/sources/v1alpha1/rabbitmq_validation.go 81.08% <100.00%> (-3.01%) ⬇️
pkg/rabbit/message.go 71.42% <0.00%> (+2.52%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96a65a4...805f464. Read the comment docs.

@gabo1208 gabo1208 requested a review from gab-satchi June 16, 2022 20:48
Copy link
Contributor

@gab-satchi gab-satchi left a comment

Choose a reason for hiding this comment

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

Thanks for the changes. The extra e2e tests to validate external clusters is useful. I don't know if we want to maintain so many different sample directories. If it's a straightforward configuration or setting, documenting it in the main docs might be sufficient.

@gab-satchi
Copy link
Contributor

/lgtm

we'll do the consolidation of the docs in a follow-up

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2022
@knative-prow knative-prow bot merged commit c5fc068 into knative-extensions:main Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
2 participants