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: add support for OPA 0.67.1 (remove 0.61.0) #616

Merged
merged 6 commits into from
Aug 19, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
### Added

- Added regorule library for accessing user-info-fetcher ([#580]).
- Added support for OPA 0.67.1 ([#616]).

### Changed

Expand All @@ -19,8 +20,13 @@ All notable changes to this project will be documented in this file.

- Bundle builder should no longer keep serving deleted rules until it is restarted ([#578]).

### Removed

- Remove support for OPA 0.61.0 ([#616]).

[#578]: https://github.com/stackabletech/opa-operator/pull/578
[#580]: https://github.com/stackabletech/opa-operator/pull/580
[#616]: https://github.com/stackabletech/opa-operator/pull/616
[#621]: https://github.com/stackabletech/opa-operator/pull/621

## [24.7.0] - 2024-07-24
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/opa/examples/getting_started/opa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-opa
spec:
image:
productVersion: "0.66.0"
productVersion: "0.67.1"
servers:
roleGroups:
default: {}
2 changes: 1 addition & 1 deletion docs/modules/opa/examples/getting_started/opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-opa
spec:
image:
productVersion: "0.66.0"
productVersion: "0.67.1"
servers:
roleGroups:
default: {}
2 changes: 1 addition & 1 deletion docs/modules/opa/pages/usage-guide/user-info-fetcher.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
name: opa
spec:
image:
productVersion: 0.61.0
productVersion: 0.67.1
clusterConfig:
userInfo: # <1>
backend:
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/opa/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// This is a separate file, since it is used by both the direct OPA documentation, and the overarching
// Stackable Platform documentation.

* 0.66.0
* 0.61.0 (deprecated)
* 0.67.1
* 0.66.0 (deprecated)
2 changes: 1 addition & 1 deletion tests/templates/kuttl/logging/prepared-opa-logs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{"level":"info","msg":"Valid server log event","name":"stackable","plugin":"bundle","time":"2024-01-01T00:00:00Z","logger":"server"}
{"bundles":{"stackable":{}},"decision_id":"5b887ec2-80a0-4b44-9009-2e0cae3507c2","labels":{"id":"992b9dd5-f29e-47a7-aa3a-4408218c3825","version":"0.66.0"},"level":"info","metrics":{"counter_server_query_cache_hit":0,"timer_rego_input_parse_ns":5500,"timer_rego_query_compile_ns":143369,"timer_rego_query_eval_ns":41107,"timer_rego_query_parse_ns":95750,"timer_server_handler_ns":422100},"msg":"Valid decision log event","path":"test","req_id":3,"requested_by":"10.244.0.138:33268","time":"2024-01-01T00:00:00Z","timestamp":"2024-01-01T00:00:00.000000000Z","type":"openpolicyagent.org/decision_logs","logger":"decision"}
{"bundles":{"stackable":{}},"decision_id":"5b887ec2-80a0-4b44-9009-2e0cae3507c2","labels":{"id":"992b9dd5-f29e-47a7-aa3a-4408218c3825","version":"0.67.1"},"level":"info","metrics":{"counter_server_query_cache_hit":0,"timer_rego_input_parse_ns":5500,"timer_rego_query_compile_ns":143369,"timer_rego_query_eval_ns":41107,"timer_rego_query_parse_ns":95750,"timer_server_handler_ns":422100},"msg":"Valid decision log event","path":"test","req_id":3,"requested_by":"10.244.0.138:33268","time":"2024-01-01T00:00:00Z","timestamp":"2024-01-01T00:00:00.000000000Z","type":"openpolicyagent.org/decision_logs","logger":"decision"}
{"level":"info","msg":"Invalid log event without a timestamp","name":"stackable","plugin":"bundle","logger":"server"}
{"level":"info","msg":"Invalid log event with an unparsable timestamp","name":"stackable","plugin":"bundle","time":"unparsable timestamp","logger":"server"}
{"level":"info","msg":"Invalid log event without a logger","name":"stackable","plugin":"bundle","time":"2024-01-01T00:00:00Z"}
Expand Down
4 changes: 2 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
dimensions:
- name: opa
values:
- 0.61.0
- 0.66.0
- 0.67.1
- name: opa-latest
values:
- 0.66.0
- 0.67.1
- name: keycloak
values:
- 23.0.1
Expand Down
Loading