Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ukff committed Jan 10, 2025
1 parent 8a9d462 commit 6c35e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/testing/run_e2e_sap_btp_manager_secret_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ MANAGEMENT_NAMESPACE="management-namespace"
ENCODED_CLUSTER_ID=$(echo -n ${CLUSTER_ID} | base64)
ENCODED_MANAGEMENT_NAMESPACE=$(echo -n ${MANAGEMENT_NAMESPACE} | base64)

kubectl logs -n ${RELEASE_NAMESPACE} -c manager deployment/sap-btp-controller-manager

## Check secret existence in the release namespace
(kubectl get secret -n ${RELEASE_NAMESPACE} ${SAP_BTP_OPERATOR_SECRET_NAME} && echo "${SAP_BTP_OPERATOR_SECRET_NAME} secret exists in ${RELEASE_NAMESPACE} namespace") || \
(echo "could not get ${SAP_BTP_OPERATOR_SECRET_NAME} secret in ${RELEASE_NAMESPACE} namespace, command return code: $?" && exit 1)
Expand All @@ -49,7 +51,6 @@ SAP_BTP_OPERATOR_CONFIGMAP_RESOURCE_VERSION_CHANGED=false
SAP_BTP_OPERATOR_CLUSTER_ID_SECRET_ID_CHANGED=false
RESOURCES_CHANGED=false

kubectl logs -n ${RELEASE_NAMESPACE} -c manager deployment/sap-btp-controller-manager

# Patch the secret with fake values
echo -e "\n--- Customizing ${BTP_MANAGER_SECRET_NAME} secret with fake values"
Expand Down

0 comments on commit 6c35e85

Please sign in to comment.