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

Fixes #23322: Add back RUDDER_VERIFY_CERTIFICATES to rudder.json #4994

Conversation

amousset
Copy link
Member

@amousset amousset commented Aug 22, 2023

https://issues.rudder.io/issues/23322

7.X agents still read this value, we need to provide it. Usage in agent is removed in Normation/rudder-agent#387 and Normation/rudder-plugins#595.

@amousset amousset requested a review from fanf August 22, 2023 09:08
@amousset
Copy link
Member Author

PR updated with a new commit

1 similar comment
@amousset
Copy link
Member Author

PR updated with a new commit

systemVariableSpecService.get("RUDDER_COMPLIANCE_MODE").toVariable(Seq(agentPolicyMode.name))
systemVariableSpecService.get("RUDDER_COMPLIANCE_MODE").toVariable(Seq(agentPolicyMode.name)),
// For compatibility with pre-8.0 agents
systemVariableSpecService.get("RUDDER_VERIFY_CERTIFICATES").toVariable(Seq("false"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you can create the spec it here in an ad-hoc way with a comment "for compat, will be removed in 8.1" (or when it's time)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests seem to pass without it, is it expected?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No ? (I'm not even sure why you didn't get a "missing system variable spec" error)

@amousset
Copy link
Member Author

PR updated with a new commit

2 similar comments
@amousset
Copy link
Member Author

PR updated with a new commit

@amousset
Copy link
Member Author

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/4994
-- Your faithful QA
Kant merge: "Live your life as though your every act were to become a universal law."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/72626/console)

@amousset
Copy link
Member Author

OK, squash merging this PR

@amousset amousset force-pushed the bug_23322/add_back_rudder_verify_certificates_to_rudder_json branch from 48ad3aa to 82ffe82 Compare August 22, 2023 21:32
@amousset amousset merged commit 82ffe82 into Normation:branches/rudder/8.0 Aug 22, 2023
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants