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

Add new version 0.57.0 #482

Merged
merged 8 commits into from Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions CHANGELOG.md
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
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
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
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
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
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
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
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
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
Expand Up @@ -18,7 +18,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
Expand Up @@ -18,7 +18,4 @@ spec:
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
default: {}
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
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
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