You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Make sure that changing sap-btp-manager secret: cluster_id, management_namespace, clientid, clientsecret, sm_url, tokenurl is reflected in the btp-operator module and it works correctly
2) Before implementation, present to the Product Owner and the team what that test will look like.
3) Make sure that new tests do not take too much time
The text was updated successfully, but these errors were encountered:
PK85
changed the title
End-to-end (e2e) integration test for customizing BTP Manager input secret.
End-to-end (e2e) integration test for customizing BTP Manager input secret
Dec 11, 2024
Test form: shell script Run environment: GA workflow When to run: release, on-demand, PR Test scenario:
Deploy sap-btp-manager secret.
Deploy BTP Manager.
Wait for SAP BTP service operator readiness.
Add management_namespace field and change all other fields in sap-btp-manager secret.
Wait a certain time for a reconciliation of SAP BTP service operator (fail on timeout).
5.1. Check sap-btp-operator-clusterid secret's uid field (changes after recreation).
5.2. Check sap-btp-service-operator secret's resourceVersion field (changes on update).
5.3. Check sap-btp-operator-config configmap's resourceVersion field (changes on update).
Compare data between KEB's secret and SAP BTP service operator resources.
Check sap-btp-operator-controller-manager deployment environment variables (references values from secrets and configmap).
Details
sap-btp-manager secret is mutable, but will be reconciled by KEB's runtime-reconciler. Data managed by KEB:
clientid
clientsecret
cluster_id
sm_url
tokenurl
Extra data to reflect in SAP BTP service operator:
management_namespace
SAP BTP service operator resources with fields and sources of data:
a) sap-btp-operator-clusterid secret (created by sap-btp-operator-controller-manager)
INITIAL_CLUSTER_ID <- CLUSTER_ID in sap-btp-operator-config configmap
b) sap-btp-service-operator secret
clientid <- clientid in sap-btp-manager secret
clientsecret <- clientsecret in sap-btp-manager secret
cluster_id <- cluster_id in sap-btp-manager secret
sm_url <- sm_url in sap-btp-manager secret
tokenurl <- tokenurl in sap-btp-manager secret
tokenurlsuffix <- hard-coded const
c) sap-btp-operator-config configmap
ALLOW_CLUSTER_ACCESS <- chart value
CLUSTER_ID <- cluster_id in sap-btp-manager secret
ENABLE_LIMITED_CACHE <- chart value
MANAGEMENT_NAMESPACE <- management_namespace in sap-btp-manager secret
RELEASE_NAMESPACE <- management_namespace in sap-btp-manager secret
The test will fail until the feature is implemented.
Part of: #901
AC
The text was updated successfully, but these errors were encountered: