Skip to content

Commit

Permalink
Merge branch 'main' of github.com:stolostron/multicluster-observabili…
Browse files Browse the repository at this point in the history
…ty-operator into fix-hardcoded-remote-write-path
  • Loading branch information
douglascamata committed May 29, 2024
2 parents 7de16d0 + a1c94fa commit bd34b40
Show file tree
Hide file tree
Showing 5 changed files with 1,950 additions and 4 deletions.
8 changes: 8 additions & 0 deletions cicd-scripts/setup-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ EOF

# deploy the MCO operator via the kustomize resources
deploy_mco_operator() {
# makes sure we get the MULTICLUSTER_OBSERVABILITY_OPERATOR_IMAGE_REF
if [[ -n ${IS_KIND_ENV} ]]; then
source ${ROOTDIR}/tests/run-in-kind/env.sh
fi

if [[ -n ${MULTICLUSTER_OBSERVABILITY_OPERATOR_IMAGE_REF} ]]; then
cd ${ROOTDIR}/operators/multiclusterobservability/config/manager && kustomize edit set image quay.io/stolostron/multicluster-observability-operator=${MULTICLUSTER_OBSERVABILITY_OPERATOR_IMAGE_REF}
else
Expand All @@ -138,6 +143,9 @@ deploy_mco_operator() {
cd ${ROOTDIR}
kustomize build ${ROOTDIR}/operators/multiclusterobservability/config/default | kubectl apply -n ${OCM_DEFAULT_NS} --server-side=true -f -

cat ${ROOTDIR}/operators/multiclusterobservability/config/manager/manager.yaml
cat ${ROOTDIR}/operators/multiclusterobservability/config/manager/kustomization.yaml

# wait until mco is ready
wait_for_deployment_ready 10 60s ${OCM_DEFAULT_NS} multicluster-observability-operator
echo "mco operator is deployed successfully."
Expand Down
Loading

0 comments on commit bd34b40

Please sign in to comment.