[FEATURE] KymaEnvironment
Schema Validation
#126
Labels
priority/medium
Feature is broken, workaround available
KymaEnvironment
Schema Validation
#126
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
We recently see more problems (e.g. #104) with the fact that the
KymaEnvironment
parameters schemaless. This together with a recent change in the Provisioning API leads to a potential continous update loop due to a continous drift detection of ignored fields in the Kyma side. This is particularily bad, since the Kyma side will eventually fail the updates and bring the instance into a failure state after too many update requests.Describe the solution you'd like
A potential solution to this might be adding some dynamic runtime validation of schema based on the
createSchema
andupdateSchema
fields of the API (see https://api.sap.com/api/APIProvisioningService/path/getAvailableEnvironments). We can use those to filter out attributes that are only relevant for updates and return an error if there are attributes entirely unknown to the schema.This would hopefully solve those continous update issues currently see.
Potential alternatives
Apart from making those semantic checks it makes sense to add a circuit breaker. This will be dealt with in this issue:
#164
Acceptance criteria:
Additional context
The text was updated successfully, but these errors were encountered: