-
Notifications
You must be signed in to change notification settings - Fork 21
Feature/tlsauth #301
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
Feature/tlsauth #301
Conversation
…treamnative#187) fix: update the PulsarTopic doc Signed-off-by: ericsyh <[email protected]>
* improve log * improve * fix lint * comment * Update pkg/connection/reconciler.go Co-authored-by: Max Xu <[email protected]> * fix go build --------- Co-authored-by: Max Xu <[email protected]>
Signed-off-by: ericsyh <[email protected]>
* update pulsar-client-go lib Signed-off-by: ericsyh <[email protected]> * update dockerfile Signed-off-by: ericsyh <[email protected]> * fix the go mod Signed-off-by: ericsyh <[email protected]> --------- Signed-off-by: ericsyh <[email protected]>
Signed-off-by: ericsyh <[email protected]>
Signed-off-by: ericsyh <[email protected]>
Signed-off-by: ericsyh <[email protected]>
* update resource operator chart Signed-off-by: ericsyh <[email protected]> * fix lint Signed-off-by: ericsyh <[email protected]> * update Signed-off-by: ericsyh <[email protected]> * update k8s test Signed-off-by: ericsyh <[email protected]> * update appversion Signed-off-by: ericsyh <[email protected]> * update the chart version Signed-off-by: ericsyh <[email protected]> --------- Signed-off-by: ericsyh <[email protected]>
* fix: add olm required labels Signed-off-by: ericsyh <[email protected]> * update gitignore Signed-off-by: ericsyh <[email protected]> * update csv Signed-off-by: ericsyh <[email protected]> --------- Signed-off-by: ericsyh <[email protected]>
Signed-off-by: ericsyh <[email protected]>
Signed-off-by: ericsyh <[email protected]>
Signed-off-by: ericsyh <[email protected]>
…treamnative#194) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](golang/net@v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matteo Merli <[email protected]>
…e#193) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](golang/net@v0.17.0...v0.23.0)
* add crd for pulsar package & function & connector * add controllers * add tests * Update api/v1alpha1/zz_generated.deepcopy.go Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix ci * fix lint * fix build * fix build * fix test * fix lint * fix golint * fix install * add to charts * fix role * fix controller * fix controller * fix package * remove package test * fix ci * fix * use functions worker * revert * fix admin cli * fix * fix charts * fix license * fix client version * fix * skip function package * fix reconcile * fix ci * fix * fix pulsar * fix rep * fix url * fix tab * fix * cleanup proxy * fix container name * fix builtin * fix connectors * use pulsar-all * docker hub login * fix pulsarctl * fix narExtractionDirectory * timeout * fix name * add docs * fix license * fix chart role * fix * fix license and lint * fix lint --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Neng Lu <[email protected]>
* chore: upgrade chart and change the image registry Signed-off-by: ericsyh <[email protected]> * update to use the 0.4.12 Signed-off-by: ericsyh <[email protected]> --------- Signed-off-by: ericsyh <[email protected]>
…treamnative#216) fix the reconcile order
* fix: olm release CI bug Signed-off-by: ericsyh <[email protected]> * add a test job Signed-off-by: ericsyh <[email protected]> * add dependency Signed-off-by: ericsyh <[email protected]> * remove test job Signed-off-by: ericsyh <[email protected]> --------- Signed-off-by: ericsyh <[email protected]>
streamnative#219) * fix function reconcile uses incorrect status to check if update or not * fix ci to cleanup * fix style * fix * fix cleanup
* mark the configs optional for function * fix CryptoConfig * revert chart Changes
* release helm chart 0.5.1 # Conflicts: # charts/pulsar-resources-operator/Chart.yaml # charts/pulsar-resources-operator/tests/deployment_test.yaml * fix lint # Conflicts: # charts/pulsar-resources-operator/tests/deployment_test.yaml * bump to 0.5.2 * fix header
* remove the kube-rbac-proxy Signed-off-by: ericsyh <[email protected]> * update the test Signed-off-by: ericsyh <[email protected]> * fix ci Signed-off-by: ericsyh <[email protected]> --------- Signed-off-by: ericsyh <[email protected]>
fix makefile gen path and noused dep
…ive#287) * allow using file:// to manage packages * add cloud storage support * fix ci * go mod tidy * fix mod * fix ci * fix ci * fix path parser * fix package * sync charts * fix lint * fix ci * fix lint
use go1.22.12
Update Chart.yaml and README.md to reflect the new pre-release version, preparing for the next iteration of the Pulsar Resources Operator chart.
fix preflight
# Conflicts: # api/v1alpha1/common.go # config/crd/bases/resource.streamnative.io_pulsarconnections.yaml # docs/pulsar_connection.md # pkg/admin/interface.go
|
@ThomasVerhoeven1998:Thanks for your contribution. For this PR, do we need to update docs? |
|
@ThomasVerhoeven1998:Thanks for providing doc info! |
|
@freeznet Please review |
freeznet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes lgtm, but could you please add the changes to helm charts as well, to address the Extend the Helm chart to support volumes and volumeMounts, so users can mount TLS certificates into the operator. part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i noticed the helm charts part are addressed in #184, I will approve this PR first, and later will spin a new PR to add e2e tests.
|
@ThomasVerhoeven1998 could you please rebase the master so we could make the e2e ready to use? i have created #306 to fix the ci failure from forked repo's PR. |
Rebase done |
lhotari
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, good work @ThomasVerhoeven1998
Fixes streamnative/pulsar-resources-operator#108
Motivation
As described in the linked issue, we want to support TLS authentication in the Pulsar Resources Operator, which is already supported by Pulsar itself. This improves security and flexibility for Pulsar deployments that require encrypted and authenticated connections.
Modifications
This PR includes the following changes:
adminServiceSecureURLandbrokerServiceSecureURL). Previously, it was mandatory to configureadminServiceURL.allowInsecureConnectionvolumesandvolumeMounts, so users can mount TLS certificates into the operator.Verifying this change
This change is not yet covered by tests.
End-to-end (e2e) tests would be most appropriate here. However, I currently don’t have access to a full GitHub Actions setup with a TLS-enabled Pulsar broker. I suggest we add a new e2e test that:
I’d be happy to collaborate on this if another contributor with access to the test infrastructure can help set up the environment.
Documentation
doc– This PR includes changes that will require corresponding documentation updates, such as usage examples for the new TLS fields and Helm chart enhancements.