All notable changes to this project will be documented in this file.
- Run a
containerdebug
process in the background of each OPA container to collect debugging information (#666).
- BREAKING: Use distinct ServiceAccounts for the Stacklets, so that multiple Stacklets can be deployed in one namespace. Existing Stacklets will use the newly created ServiceAccounts after restart (#656).
- Added regorule library for accessing user-info-fetcher (#580).
- Added support for OPA 0.67.1 (#616).
- The operator can now run on Kubernetes clusters using a non-default cluster domain.
Use the env var
KUBERNETES_CLUSTER_DOMAIN
or the operator Helm chart propertykubernetesClusterDomain
to set a non-default cluster domain (#637). - Added Active Directory backend for user-info-fetcher (#622).
- Rewrite of the OPA bundle builder (#578).
- Reduce CRD size from
468KB
to42KB
by accepting arbitrary YAML input instead of the underlying schema for the following fields (#621):podOverrides
affinity
- Bundle builder should no longer keep serving deleted rules until it is restarted (#578).
- Failing to parse one
OpaCluster
should no longer cause the whole operator to stop functioning (#638).
- Remove support for OPA 0.61.0 (#616).
- Support enabling decision logs (#555).
- Bump
stackable-operator
to0.70.0
,product-config
to0.7.0
, and other dependencies (#595).
- Processing of corrupted log events fixed; If errors occur, the error messages are added to the log event (#583).
- Dead code (#596).
- Add user-info-fetcher to fetch user metadata from directory services (#433).
- Helm: support labels in values.yaml (#507).
- Added support for OPA 0.61.0 (#518).
- [BREAKING]: Remove legacy
nodeSelector
on rolegroups. Use the fieldaffinity.nodeAffinity
instead (#433).
- Removed support for OPA 0.51.0 (#518).
- Default stackableVersion to operator version (#467).
- Document we don't create PodDisruptionBudgets (#480).
- Added support for 0.57.0 (#482).
- Support graceful shutdown (#487).
- Disable OPA telemetry (#487).
- Removed support for versions 0.45.0, 0.41.0, 0.37.2, 0.28.0, 0.27.1 (#482).
- Generate OLM bundle for Release 23.4.0 (#442).
- Missing CRD defaults for
status.conditions
field (#443). - Support for OPA 0.51.0 (#451).
- Set explicit resources on all containers (#453).
- Support
podOverrides
(#458).
- operator-rs:
0.40.1
->0.44.0
(#440, #460). - Use 0.0.0-dev product images for testing (#441).
- Use testing-tools 0.2.0 (#441).
- Added kuttl test suites (#455).
- Set explicit resources on all containers (#453, #456).
- Migrate "opa-bundle-builder" container name from <= 23.1 releases (#445).
- Increase the size limit of the log volume (#460).
- Cluster status conditions (#428).
- Extend cluster resources for status and cluster operation (paused, stopped) ([430]).
- [BREAKING] Support specifying Service type.
This enables us to later switch non-breaking to using
ListenerClasses
for the exposure of Services. This change is breaking, because - for security reasons - we default to thecluster-internal
ListenerClass
. If you need your cluster to be accessible from outside of Kubernetes you need to setclusterConfig.listenerClass
toexternal-unstable
orexternal-stable
(#432). operator-rs
0.27.1
->0.40.1
(#411, #420, #430, #431).- Fragmented
OpaConfig
(#411). - Bumped stackable image versions to
23.4.0-rc2
(#420). - Enabled logging (#420).
- Openshift compatibility: extended roles (#431).
- Use operator-rs
build_rbac_resources
method (#431).
- Updated stackable image versions (#374).
operator-rs
0.22.0
->0.27.1
(#377).- Don't run init container as root and avoid chmod and chowning (#382).
- [BREAKING] Use Product image selection instead of version.
spec.version
has been replaced byspec.image
(#385). - Support offline mode (#391).
- Updated to new docker tags containing the opa-bundle builder (#391).
- CPU and memory limits are now configurable (#347).
- Better documentation on the bundle builder (#350)
- Support OPA 0.45.0 (#360).
- Include chart name when installing with a custom release name (#313, #314).
operator-rs
0.15.0
->0.22.0
(#315).
- Reconciliation errors are now reported as Kubernetes events (#241).
- Bundle builder side car container that generates bundles from
ConfigMap
objects (#244) - The command line argument
--opa-builder-clusterrole
for therun
subcommand or the environment variableOPA_BUNDLE_BUILDER_CLUSTERROLE
to set up a service account for the OPA pods (#244, #252). - The command line argument
--watch-namespace
for therun
subcommand or the environment variableWATCH_NAMESPACE
can be used to instruct the operator to watch a particular namespace. (#244) - Added
kuttl
tests fromintegration-test
repository (#289)
operator-rs
0.10.0
->0.15.0
(#241, #244, #273).- BREAKING: Renamed custom resource from
OpenPolicyAgent
toOpaCluster
(#244). - Replace the
tempdir
crate withtempfile
(#287). - [BREAKING] Specifying the product version has been changed to adhere to ADR018 instead of just specifying the product version you will now have to add the Stackable image version as well, so
version: 3.5.8
becomes (for example)version: 3.5.8-stackable0.1.0
(#293)
regoRuleReference
from OpaConfig and CRD respectively (#273).
- BREAKING: STFU rework (#146).
- BREAKING: regoRuleReference in config now optional (#188).
- Version now a String instead of enum (#156).
operator-rs
0.6.0
→0.8.0
(#177).- Custom resource example now points to regorule-operator service (#177).
snafu
0.6.0
→0.7.0
(#188).
- Configurable Port from code and product config (#188).
operator-rs
0.3.0
→0.4.0
(#119).- Adapted pod image and container command to docker image (#119).
- BREAKING CRD: Fixed typos
Reporule
toRegorule
(#119). - Adapted documentation to represent new workflow with docker images (#119).
- BREAKING monitoring: container port
metrics
temporarily removed (cannot assign the same port toclient
andmetrics
). This will not work with the current monitoring approach (#119).
- Added PartialEq trait to
OpaReference
(#103).
operator-rs
:0.3.0
(#115).- Renamed crd/util to crd::discovery and added deprecated reexport for backwards compatibility (#103).
- Moved
wait_until_crds_present
to operator-binary (preparation for commands) (#115).
kube-rs
:0.58
→0.60
(#88).k8s-openapi
0.12
→0.13
and features:v1_21
→v1_22
(#88).operator-rs
0.2.1
→0.2.2
(#88).
kube-runtime
dependency (#88).
- Added versioning code from operator-rs for up and downgrades (#86).
- Added
ProductVersion
to status (#86). - Added
Condition
to status (#86).
- Breaking: Repository structure was changed and the -server crate renamed to -binary. As part of this change the -server suffix was removed from both the package name for os packages and the name of the executable ([#72]).
- Initial release