Skip to content

Conversation

nightkr
Copy link
Contributor

@nightkr nightkr commented Oct 31, 2024

Description

Supersedes #243. Implementation side of stackabletech/operator-rs#903.

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
- [ ] Changes are OpenShift compatible
- [x] CRD changes approved
- [x] CRD documentation for all fields, following the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs/style-guide).
- [x] Helm chart can be installed and deployed operator works
- [x] Integration tests passed (for non trivial changes)
- [x] Changes need to be "offline" compatible
# Reviewer
- [ ] Code contains useful comments
- [ ] Code contains useful logging statements
- [ ] (Integration-)Test cases added
- [x] Documentation added or updated. Follows the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs/style-guide).
- [x] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added
- [ ] [Roadmap](https://github.com/orgs/stackabletech/projects/25/views/1) has been updated

@nightkr nightkr requested review from sbernauer and a team October 31, 2024 13:59
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.

Code LGTM. Can you please also update the docs?

@nightkr
Copy link
Contributor Author

nightkr commented Oct 31, 2024

e1ff5b1

sbernauer
sbernauer previously approved these changes Oct 31, 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!

@sbernauer sbernauer requested a review from adwk67 November 6, 2024 15:01
@adwk67
Copy link
Member

adwk67 commented Nov 6, 2024

Running on Openshift currently fails with:
failed to apply patch: unable to patch resource "listener-nginx-long-name-approaching-k8s-limits-0": ApiError: services "listener-nginx-long-name-approaching-k8s-limits-0" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>: Forbidden

@adwk67
Copy link
Member

adwk67 commented Nov 6, 2024

Fixed Clusterrole (this will be covered in a separate PR, so that this one can be merged):

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
...
rules:
...
  resources:
  - persistentvolumes
  verbs:
  - get
  - list
  - watch
  - patch
  - create
  - delete
- apiGroups:
  - ""
  resources:
  - nodes
  - persistentvolumes
  - persistentvolumes/finalizers
  - persistentvolumeclaims
  - endpoints
  verbs:
  - create
  - update
  - patch
  - get
  - list
  - watch
...
- apiGroups:
  - listeners.stackable.tech
  resources:
  - listeners
  - listeners/finalizers
  - listeners/status
  - podlisteners
  verbs:
  - patch
  - create
  - delete
  - update
...

Copy link
Member

@adwk67 adwk67 left a comment

Choose a reason for hiding this comment

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

approved! will update the clusterrole for OS-compatability separately

@sbernauer
Copy link
Member

Many thanks, happy to review!

@sbernauer sbernauer added this pull request to the merge queue Nov 6, 2024
Merged via the queue into main with commit 0b38a1c Nov 6, 2024
17 checks passed
@sbernauer sbernauer deleted the feature/smart-preferred-address-type branch November 6, 2024 16:02
sbernauer added a commit to stackabletech/kafka-operator that referenced this pull request Nov 7, 2024
As we have merged
stackabletech/listener-operator#244 there is no
need for a special ListenerClass any more
github-merge-queue bot pushed a commit to stackabletech/kafka-operator that referenced this pull request Nov 7, 2024
As we have merged
stackabletech/listener-operator#244 there is no
need for a special ListenerClass any more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants