Skip to content

Commit

Permalink
Add new version 0.57.0 (#482)
Browse files Browse the repository at this point in the history
* remove obsolete selector

* bump version to 0.57.0

* add 0.57.0, remove obsolete versions

* adapted changelog

* bump vector aggregator

* bump operator-rs to 0.55.0

* adapt changelog
  • Loading branch information
maltesander committed Oct 18, 2023
1 parent deb4f57 commit f8c1160
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 56 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ All notable changes to this project will be documented in this file.

- Default stackableVersion to operator version ([#467]).
- Document we don't create PodDisruptionBudgets ([#480]).
- Added support for 0.57.0 ([#482]).

### Changed

- `vector` `0.26.0` -> `0.31.0` ([#465]).
- `operator-rs` `0.44.0` -> `0.52.1` ([#467], [#480]).
- `vector` `0.26.0` -> `0.33.0` ([#465], [#482]).
- `operator-rs` `0.44.0` -> `0.55.0` ([#467], [#480], [#482]).

### Removed

- Removed support for versions 0.45.0, 0.41.0, 0.37.2, 0.28.0, 0.27.1 ([#482]).

[#465]: https://github.com/stackabletech/opa-operator/pull/465
[#467]: https://github.com/stackabletech/opa-operator/pull/467
[#480]: https://github.com/stackabletech/opa-operator/pull/480
[#482]: https://github.com/stackabletech/opa-operator/pull/482

## [23.7.0] - 2023-07-14

Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ semver = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
snafu = "0.7"
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.52.0" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.55.0" }
strum = { version = "0.25", features = ["derive"] }
tokio = { version = "1.29", features = ["full"] }
tracing = "0.1"
Expand Down
32 changes: 24 additions & 8 deletions deploy/helm/opa-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,22 @@ spec:
default:
enableVectorAgent: null
containers: {}
description: Logging configuration
properties:
containers:
additionalProperties:
anyOf:
- required:
- custom
- {}
description: Fragment derived from `ContainerLogConfigChoice`
description: Log configuration of the container
properties:
console:
description: Configuration for the console appender
nullable: true
properties:
level:
description: Log levels
description: The log level threshold. Log events with a lower log level are discarded.
enum:
- TRACE
- DEBUG
Expand All @@ -153,14 +155,16 @@ spec:
description: Custom log configuration provided in a ConfigMap
properties:
configMap:
description: ConfigMap containing the log configuration files
nullable: true
type: string
type: object
file:
description: Configuration for the file appender
nullable: true
properties:
level:
description: Log levels
description: The log level threshold. Log events with a lower log level are discarded.
enum:
- TRACE
- DEBUG
Expand All @@ -174,9 +178,10 @@ spec:
type: object
loggers:
additionalProperties:
description: Configuration of a logger
properties:
level:
description: Log levels
description: The log level threshold. Log events with a lower log level are discarded.
enum:
- TRACE
- DEBUG
Expand All @@ -189,10 +194,13 @@ spec:
type: string
type: object
default: {}
description: Configuration per logger
type: object
type: object
description: Log configuration per container
type: object
enableVectorAgent:
description: Wether or not to deploy a container with the Vector log agent
nullable: true
type: boolean
type: object
Expand Down Expand Up @@ -3062,20 +3070,22 @@ spec:
default:
enableVectorAgent: null
containers: {}
description: Logging configuration
properties:
containers:
additionalProperties:
anyOf:
- required:
- custom
- {}
description: Fragment derived from `ContainerLogConfigChoice`
description: Log configuration of the container
properties:
console:
description: Configuration for the console appender
nullable: true
properties:
level:
description: Log levels
description: The log level threshold. Log events with a lower log level are discarded.
enum:
- TRACE
- DEBUG
Expand All @@ -3091,14 +3101,16 @@ spec:
description: Custom log configuration provided in a ConfigMap
properties:
configMap:
description: ConfigMap containing the log configuration files
nullable: true
type: string
type: object
file:
description: Configuration for the file appender
nullable: true
properties:
level:
description: Log levels
description: The log level threshold. Log events with a lower log level are discarded.
enum:
- TRACE
- DEBUG
Expand All @@ -3112,9 +3124,10 @@ spec:
type: object
loggers:
additionalProperties:
description: Configuration of a logger
properties:
level:
description: Log levels
description: The log level threshold. Log events with a lower log level are discarded.
enum:
- TRACE
- DEBUG
Expand All @@ -3127,10 +3140,13 @@ spec:
type: string
type: object
default: {}
description: Configuration per logger
type: object
type: object
description: Log configuration per container
type: object
enableVectorAgent:
description: Wether or not to deploy a container with the Vector log agent
nullable: true
type: boolean
type: object
Expand Down
7 changes: 2 additions & 5 deletions docs/modules/opa/examples/getting_started/opa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ metadata:
name: simple-opa
spec:
image:
productVersion: "0.51.0"
productVersion: "0.57.0"
servers:
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
7 changes: 2 additions & 5 deletions docs/modules/opa/examples/getting_started/opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ metadata:
name: simple-opa
spec:
image:
productVersion: "0.51.0"
productVersion: "0.57.0"
servers:
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
6 changes: 1 addition & 5 deletions docs/modules/opa/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
// This is a separate file, since it is used by both the direct OPA documentation, and the overarching
// Stackable Platform documentation.

- 0.57.0
- 0.51.0
- 0.45.0
- 0.41.0
- 0.37.2
- 0.28.0
- 0.27.1
2 changes: 1 addition & 1 deletion rust/operator-binary/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use stackable_operator::{
},
cluster_resources::{ClusterResourceApplyStrategy, ClusterResources},
commons::{product_image_selection::ResolvedProductImage, rbac::build_rbac_resources},
duration::Duration,
k8s_openapi::{
api::{
apps::v1::{DaemonSet, DaemonSetSpec},
Expand Down Expand Up @@ -51,6 +50,7 @@ use stackable_operator::{
compute_conditions, daemonset::DaemonSetConditionBuilder,
operations::ClusterOperationsConditionBuilder,
},
time::Duration,
};
use std::{
borrow::Cow,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
5 changes: 1 addition & 4 deletions tests/templates/kuttl/cluster-operation/20-stop-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
5 changes: 1 addition & 4 deletions tests/templates/kuttl/cluster-operation/30-pause-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ commands:
- script: >-
helm install opa-vector-aggregator vector
--namespace $NAMESPACE
--version 0.23.0
--version 0.26.0
--repo https://helm.vector.dev
--values opa-vector-aggregator-values.yaml
---
Expand Down
5 changes: 1 addition & 4 deletions tests/templates/kuttl/smoke/10-install-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
6 changes: 2 additions & 4 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
dimensions:
- name: opa
values:
- 0.37.2
- 0.41.0
- 0.45.0
- 0.51.0
- 0.57.0
- name: opa-latest
values:
- 0.51.0
- 0.57.0
tests:
- name: smoke
dimensions:
Expand Down

0 comments on commit f8c1160

Please sign in to comment.