Commit e902afdf authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Common:

- Updated deploy.sh script to handle service monitor CRDs
parent eee23b46
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -234,7 +234,11 @@ done
echo "Deploying extra manifests..."
for EXTRA_MANIFEST in $TFS_EXTRA_MANIFESTS; do
    echo "Processing manifest '$EXTRA_MANIFEST'..."
    if [[ "$EXTRA_MANIFEST" == *"servicemonitor"* ]]; then
        kubectl apply -f $EXTRA_MANIFEST
    else
        kubectl --namespace $TFS_K8S_NAMESPACE apply -f $EXTRA_MANIFEST
    fi
    printf "\n"
done
printf "\n"