Upgrade from 0.39 to 0.40.x in k8s

Hi Team,
I am upgrading from 0.39.x o 0.40.x and I am facing below error in worker deployment.

2022-11-04 01:48:47 ERROR i.m.r.Micronaut(handleStartupException):338 - Error starting Micronaut server: Failed to inject value for parameter [secretPersistence] of method [secretsHydrator] of class: io.airbyte.config.persistence.split_secrets.SecretsHydrator

Message: No bean of type [io.airbyte.config.persistence.split_secrets.SecretPersistence] exists for the given qualifier: @Named(‘secretPersistence’). Make sure the bean is not disabled by bean requirements (enable trace logging for ‘io.micronaut.context.condition’ to check) and if the bean is enabled then ensure the class is declared a bean and annotation processing is enabled (for Java and Kotlin the ‘micronaut-inject-java’ dependency should be configured as an annotation processor).
Path Taken: new ApplicationInitializer() → ApplicationInitializer.syncActivities → List.syncActivities([ReplicationActivity replicationActivity],NormalizationActivity normalizationActivity,DbtTransformationActivity dbtTransformationActivity,PersistStateActivity persistStateActivity,NormalizationSummaryCheckActivity normalizationSummaryCheckActivity,WebhookOperationActivity webhookOperationActivity) → new ReplicationActivityImpl(Optional containerOrchestratorConfig,ProcessFactory processFactory,[SecretsHydrator secretsHydrator],Path workspaceRoot,WorkerEnvironment workerEnvironment,LogConfigs logConfigs,String airbyteVersion,FeatureFlags featureFlags,Integer serverPort,AirbyteConfigValidator airbyteConfigValidator,TemporalUtils temporalUtils,AirbyteApiClient airbyteApiClient,AirbyteMessageSerDeProvider serDeProvider,AirbyteMessageVersionedMigratorFactory migratorFactory) → SecretsHydrator.secretsHydrator([SecretPersistence secretPersistence])
io.micronaut.context.exceptions.DependencyInjectionException: Failed to inject value for parameter [secretPersistence] of method [secretsHydrator] of class: io.airbyte.config.persistence.split_secrets.SecretsHydrator

Could you shed some light on this ?

Thanks,
Siva

Hey thanks for reaching out. Could you help us with the steps you have followed during update process?

It got resolved after adding below parameter. could you provide me what is the use of this parameter and what are the allowed values ?

  • name: MICRONAUT_ENVIRONMENTS
    value: control-plane

Hey Sunny any idea here?