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

Merge main to develop #192

Closed
wants to merge 31 commits into from
Closed

Merge main to develop #192

wants to merge 31 commits into from

Conversation

BenRub
Copy link
Contributor

@BenRub BenRub commented Oct 19, 2023

No description provided.

BenRub and others added 30 commits August 30, 2023 12:28
add /lib/modules and /usr/src as volume mounts.
…-enforcer in order to ensure we manage the validating & mutating webhooks
…e and applies them to the CR (#184)

* Update README.md

* Update README.md

* Fix charts for main to be idetical to latest release v6.0.1

* Update README.md

* Adding labels field to charts

* Adding company code secret template to charts

* Adding company code secret template to charts fix

* Add documentation for secrets with helm

* config applier skeleton

* More work on the configuration applier loop.

* Happy path test for config_applier

* Pass context to API functions as they'll do IO

* More tests

* Send Failed status to backend when failing to list or update CR

* Treat missing CR when a change is pending as error

* Move "scheduling" logic to a separate struct for config applier

* Use a DummyAPI implementation

* Small refactoring

* Add test for feature toggles

* Add tests for the version field. Split the modification logic in a separate helper function to make testing easier

* Sort the change slice in case there are multiple pending changes

* Clearing TODOs, small fixes

* Removing more TODOs

* Turn off configurator by default and use env var to enable

* Renaming things

* Refactor tests a bit and remove more TODOs

* Change the configurator to read the CR first , so it can extract the cluster name

* Validate change against sensor capabilities

* Validate operator and agent version compatibility

* Tests for positive validation path

* Bring the Validate and Apply change funcs under 1 struct and validate before applying

* Adding change validation to the configuration

* Change validator interface and add fetcher to download metadata from the API

* Add auth_provider and adjust test to match

* Create AccessTokenProvider in main.go

* Extract the ApiGateway from processors.* and use it in configurator as well.

* Go back to the previous version as it looked simpler

* Fixing some tests and main.go

* Change the agent_processor tests to match the new func. Remove a test that was not deterministic

* Add clusterIdentifier parameter to GetConfigurationChanges

* Add clusterID to the status update model call

* Add secret detection to the changer

* Add secret detection to the validation

* Minor TODOs

* Some missing test cases for validation

* More minor changes

* Add sensor metadata implementation. Add dummy config changes implementation.

* Move data classes around

* Removing TODOs

* Change the feature toggle to be part of the CR

* Change errors to have system info and user info for debugging vs user context in the UI

* Small refactor

* Change dummy struct to just a func

* Bump timeout a bit

* Remove controller_test.go

* Add back the env var during development until the feature is completed (so it is not ON by default when testing)

* Add remote_configuration to docker build

* Fix not wrapped error

* Fix missing generate run

* Fix sensors path and response

* Increase iteration sleep time

* Fix helm indentation

* Change the version reset to be more readable

* Move the remote_configuration under cbcontainers and controllers

* Added godoc

---------

Co-authored-by: BenRub <[email protected]>
Co-authored-by: benrub <[email protected]>
…ionality (#186)

* Remove feature flags from configuration changes based on changed product requirements

* Implement api methods for configuration changes

* Delete redundant file

* Add mutex to prevent multiple iterations of the configuration to run by mistake

* Extract validator creation. If the operator is not a valid semantic version, skip validating compatibility.
…kend (#188)

* Extend monitor role to be able to read the CR

* Populate ClusterID in the dataplane configmap for usage by components
@BenRub BenRub closed this Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants