Skip to content

Add listener volume scope for secret volume builders #858

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
merged 5 commits into from
Sep 9, 2024

Conversation

nightkr
Copy link
Member

@nightkr nightkr commented Sep 5, 2024


Description

See https://docs.stackable.tech/home/stable/secret-operator/scope#listener-volume

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Preview Give feedback

Reviewer

Preview Give feedback

Acceptance

Preview Give feedback

@nightkr nightkr requested a review from a team September 5, 2024 14:57
@nightkr
Copy link
Member Author

nightkr commented Sep 5, 2024

Technically a CRD change, but it "just" exposes another field of another API consistently with how we expose the rest of it.

sbernauer
sbernauer previously approved these changes Sep 6, 2024
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

Thanks!

@razvan
Copy link
Member

razvan commented Sep 6, 2024

I read the linked docs and they are very cryptic to me. Describing a use-case or providing an example would help.

@nightkr
Copy link
Member Author

nightkr commented Sep 6, 2024

@razvan I created stackabletech/secret-operator#496 for addressing the documentation side.

@nightkr nightkr added this pull request to the merge queue Sep 9, 2024
Merged via the queue into main with commit 04f3b11 Sep 9, 2024
10 checks passed
@nightkr nightkr deleted the feature/secret-listener-volume branch September 9, 2024 11:19
nightkr added a commit to stackabletech/kafka-operator that referenced this pull request Sep 9, 2024
github-merge-queue bot pushed a commit to stackabletech/kafka-operator that referenced this pull request Oct 7, 2024
…443)

* Migrate kafka-operator to use lb-operator for exposing brokers

This is far from final (for example, we'd need to expose a configurable
LoadBalancerClass, for example), but I wanted to see whether lb-op would be a
good fit for this operator first.

* regenerated charts

* Update for lb-operator -> listener-operator rebrand

* Use ListenerOperatorVolumeSourceBuilder

* Use shortcut for creating the listener volume

* Allow git source for operator-rs temporarily

* Rename node_cmd -> node_address_cmd

* Remove operator-rs entry in deny.toml

* Make listenerclass configurable

* Use operator-rs from git

* Use listener secret scope

* Use listener for bootstrap and discovery

* Separate out kcat secret management now that it is the only PEM user

* Remove unused KafkaTlsSecurity::kafka

* Regenerate CRD

* Switch to main op-rs

stackabletech/operator-rs#858 was merged

* Switch to per-rolegroup bootstrap listeners

* make crds

* CRD docs

* Delete old test files

* Documentation

* Try to un-angry rustdoc

* Re-enable orphan cleanup

* Changelog

* Fix configuration test

* Update docs/modules/kafka/examples/getting_started/kafka.yaml

Co-authored-by: Sebastian Bernauer <[email protected]>

* Rename TLS volume variables for consistency

* Rename volumes/paths too, correspondingly

* Remove stale FIXME

* Add RBAC permission to delete listeners (orphan clenaup)

* Make service_ports return ListenerPorts instead

* Recommend using the same ListenerClass across rolegroups

* Apply recommended labels to broker listeners

* Apply the correct rolegroup to bootstrap listeners, too

* Apply the correct rolegroup label to the rolegroup configmaps

* Apply recommended labels to the bootstrap listener PVC too

* Remove version from persistent PVCs

It broke upgrading

* Add note about upgrading to changelog

* docs: Add note on what bootstrap listeners return

* Update futures to 0.3.31

0.3.30 was yanked due to soundness issues.

* Drop unused futures compat feature

* Reformat bootstrap rolegroup note slightly

---------

Co-authored-by: Malte Sander <[email protected]>
Co-authored-by: Siegfried Weber <[email protected]>
Co-authored-by: Sebastian Bernauer <[email protected]>
Co-authored-by: Sebastian Bernauer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants