Skip to content

Commit

Permalink
chore: Clean up devfile registry deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Aug 5, 2024
1 parent e835b01 commit 9cb33f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/scripts/minikube-tests/test-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ runTest() {

# Patch CheCluster CR to limit resources (see minikube-checluster-patch.yaml)
CHECLUSTER_CR="${HELMCHART_DIR}"/templates/org_v2_checluster.yaml
yq -riY '.spec.components = null' ${CHECLUSTER_CR}
yq -riY '.spec.components.pluginRegistry.openVSXURL = "https://open-vsx.org"' ${CHECLUSTER_CR}
for component in pluginRegistry dashboard; do
for component in dashboard; do
yq -riY '.spec.components.'${component}'.deployment.containers[0].resources = {limits: {cpu: "50m"}, request: {cpu: "50m"}}' ${CHECLUSTER_CR}
done
yq -riY '.spec.components.cheServer.deployment.containers[0].resources.limits.cpu = "500m"' ${CHECLUSTER_CR}
Expand Down

0 comments on commit 9cb33f9

Please sign in to comment.