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

chore(stackable-operator)!: Version common CRDs #968

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
fd04945
chore: Add stackable-versioned dependency
Techassi Feb 26, 2025
ca09bb0
chore: Move crd.rs file into module folder
Techassi Feb 26, 2025
42d3c9c
chore: Move code into crd module
Techassi Feb 26, 2025
8620056
docs: Adjust and fix doc comments
Techassi Feb 26, 2025
cc1be11
Merge branch 'main' into chore/add-crd-versioning
Techassi Feb 27, 2025
dd0dc44
Merge branch 'main' into chore/add-crd-versioning
Techassi Feb 28, 2025
a1c5a52
Merge branch 'main' into chore/add-crd-versioning
Techassi Mar 7, 2025
fb6202e
chore: Merge branch 'main' into chore/add-crd-versioning
Techassi Mar 19, 2025
d896dd2
chore: Merge branch 'main' into chore/add-crd-versioning
Techassi Mar 19, 2025
03caece
chore: Version S3 CRDs
Techassi Mar 20, 2025
9d1219f
chore: Split S3 types and impl blocks
Techassi Mar 20, 2025
88a5b30
test: Fix AuthenticationClass doc test
Techassi Mar 20, 2025
29cd372
chore: Version Kerberos auth provider
Techassi Mar 20, 2025
84b31c7
chore: Version LDAP auth provider
Techassi Mar 20, 2025
c37433d
chore: Version OIDC auth provider
Techassi Mar 20, 2025
b52b010
chore: Version static auth provider
Techassi Mar 20, 2025
59fac98
chore: Version TLS auth provider
Techassi Mar 20, 2025
86af9af
chore: Version core auth CRDs
Techassi Mar 20, 2025
ee8ccd9
docs: Fix doc comments
Techassi Mar 20, 2025
4c036df
docs: Import url::Url for docs only
Techassi Mar 20, 2025
268d1e7
chore: Merge branch 'main' into chore/add-crd-versioning
Techassi Mar 31, 2025
a4c3bdc
chore: Version Listener CRDs
Techassi Mar 31, 2025
8dc49bd
test: Fix authentication doc test
Techassi Mar 31, 2025
c6d8c48
chore: Add changelog entry
Techassi Mar 31, 2025
f99833a
chore: Merge branch 'main' into chore/add-crd-versioning
Techassi Mar 31, 2025
4969c7d
chore: Adjust imports
Techassi Apr 1, 2025
b0ed7d8
chore: Apply suggestion
Techassi Apr 1, 2025
3406bfd
Merge branch 'main' into chore/add-crd-versioning
Techassi Apr 1, 2025
24577bd
chore: Merge remote-tracking branch 'origin/main' into chore/add-crd-…
NickLarsenNZ Apr 2, 2025
5f40302
chore: Adjust imports
Techassi Apr 2, 2025
a248c47
chore: Merge branch 'main' into chore/add-crd-versioning
Techassi Apr 7, 2025
36361cd
chore: Merge branch 'main' into chore/add-crd-versioning
Techassi Apr 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions crates/stackable-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ All notable changes to this project will be documented in this file.

- BREAKING: Inject vector aggregator address into vector config file using an environment variable ([#1000]).

### Changed

- BREAKING: Version common CRD structs and enums ([#968]).
- All CRD-related types and function now reside in the `stackable_operator::crd` module.
- Each CRD-related struct and enum has been versioned. The initial version is `v1alpha1`.
- The `static` authentication provider must now be imported using `r#static`.
- Import are now more granular in general.

[#968]: https://github.com/stackabletech/operator-rs/pull/968
[#1000]: https://github.com/stackabletech/operator-rs/pull/1000

## [0.89.1] - 2025-04-02
Expand Down
6 changes: 3 additions & 3 deletions crates/stackable-operator/src/cluster_resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ use crate::{
client::{Client, GetApi},
commons::{
cluster_operation::ClusterOperation,
listener::Listener,
resources::{
ComputeResource, LIMIT_REQUEST_RATIO_CPU, LIMIT_REQUEST_RATIO_MEMORY,
ResourceRequirementsExt, ResourceRequirementsType,
},
},
crd::listener,
kvp::{
Label, LabelError, Labels,
consts::{K8S_APP_INSTANCE_KEY, K8S_APP_MANAGED_BY_KEY, K8S_APP_NAME_KEY},
Expand Down Expand Up @@ -205,7 +205,7 @@ impl ClusterResource for Service {}
impl ClusterResource for ServiceAccount {}
impl ClusterResource for RoleBinding {}
impl ClusterResource for PodDisruptionBudget {}
impl ClusterResource for Listener {}
impl ClusterResource for listener::v1alpha1::Listener {}

impl ClusterResource for Job {
fn pod_spec(&self) -> Option<&PodSpec> {
Expand Down Expand Up @@ -646,7 +646,7 @@ impl ClusterResources {
self.delete_orphaned_resources_of_kind::<ServiceAccount>(client),
self.delete_orphaned_resources_of_kind::<RoleBinding>(client),
self.delete_orphaned_resources_of_kind::<PodDisruptionBudget>(client),
self.delete_orphaned_resources_of_kind::<Listener>(client),
self.delete_orphaned_resources_of_kind::<listener::v1alpha1::Listener>(client),
)?;

Ok(())
Expand Down
202 changes: 0 additions & 202 deletions crates/stackable-operator/src/commons/authentication/mod.rs

This file was deleted.

Loading
Loading