This commit is contained in:
2026-03-04 10:43:17 +08:00
parent 9f4aaaae71
commit db25d61026
4 changed files with 234 additions and 6 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ def deployToCluster(String clusterConfigId, String fullImageWithTag) {
--namespace="${K8S_NAMESPACE}" \
--dry-run=client -o yaml | k apply -f -
sed -e "s|image:.*more_dots:.*|image: ${FULL_IMAGE_WITH_TAG}|g" \
sed -E "s|^([[:space:]]*image:).*$|\1 ${FULL_IMAGE_WITH_TAG}|" \
more_dots/k8s/deployment.yaml > /tmp/deployment-${K8S_NAMESPACE}.yaml
k apply -f /tmp/deployment-${K8S_NAMESPACE}.yaml -n "${K8S_NAMESPACE}"