-
Notifications
You must be signed in to change notification settings - Fork 112
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
Provisioner no longer registers runtime in the Compass Director, and creates the secret for Compass Runtime Agent #3399
Provisioner no longer registers runtime in the Compass Director, and creates the secret for Compass Runtime Agent #3399
Conversation
…creates the secret for Compass Runtime Agent
@@ -109,6 +109,11 @@ export APP_PROVISIONING_TIMEOUT_CLUSTER_CREATION=90m | |||
export APP_PROVISIONING_NO_INSTALL_TIMEOUT_CLUSTER_CREATION=90m | |||
export APP_PROVISIONING_TIMEOUT_UPGRADE_TRIGGERING=90m | |||
|
|||
# for testing disabled Compass registration/deregistration | |||
export APP_PROVISIONING_RUNTIME_REGISTRATION_ENABLED="false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are the following env variables:
APP_RUNTIME_REGISTRATION_ENABLED
APP_RUNTIME_DEREGISTRATION_ENABLED
passed to the container. I can't whereAPP_PROVISIONING_RUNTIME_REGISTRATION_ENABLED
, andAPP_PROVISIONING_RUNTIME_DEREGISTRATION_ENABLED
is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it was from previous version. I will fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E2E tests always fail anyway with success :)
@@ -72,6 +72,33 @@ func TestStagesExecutor_Execute(t *testing.T) { | |||
assert.True(t, mockStage.called) | |||
}) | |||
|
|||
t.Run("should not requeue operation when stage if Finished and Director integration is disabled", func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if Finished -> is finished
/test pre-main-provisioner-e2e-tests |
/test all |
1 similar comment
/test all |
@koala7659: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Implementation of #3088
Provisioner should no longer register runtime in the Compass Director, and create the secret for Compass Runtime Agent.
The feature is controlled with a two configuration flags to be able selectively disable old functionality on specific environment (DEV, STAGE, PROD)
KCP Overides:
compassIntegration.registratonEnabled
,compassIntegration.deregistrationEnabled
Both flags are set to true by default.