Skip to content

Commit

Permalink
Add post install to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Jan 18, 2024
1 parent 5b3def4 commit 5163fa4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ function install_knative_eventing() {
-f "${EVENTING_CORE_NAME}" || return 1
UNINSTALL_LIST+=( "${EVENTING_CORE_NAME}" )

local EVENTING_POST_INSTALL_NAME=${TMP_DIR}/${EVENTING_POST_INSTALL_YAML##*/}
sed "s/namespace: ${KNATIVE_DEFAULT_NAMESPACE}/namespace: ${SYSTEM_NAMESPACE}/g" "${EVENTING_POST_INSTALL_YAML}" > "${EVENTING_POST_INSTALL_NAME=}"
kubectl apply \
-f "${EVENTING_POST_INSTALL_NAME}" || return 1
UNINSTALL_LIST+=( "${EVENTING_POST_INSTALL_NAME}" )

local EVENTING_TLS_REPLACES=${TMP_DIR}/${EVENTING_TLS_YAML##*/}
sed "s/namespace: ${KNATIVE_DEFAULT_NAMESPACE}/namespace: ${SYSTEM_NAMESPACE}/g" "${EVENTING_TLS_YAML}" > "${EVENTING_TLS_REPLACES}"
if [[ ! -z "${CLUSTER_SUFFIX:-}" ]]; then
Expand Down

0 comments on commit 5163fa4

Please sign in to comment.