Chore: remove outdated apis(v1alppha2 ApplicationConfiguration Component, and HealthScope, Rollout) (#6041)

* remove outdated api

Signed-off-by: Somefive <yd219913@alibaba-inc.com>

* fix rt test: no component rt

Signed-off-by: Somefive <yd219913@alibaba-inc.com>

* recover context.revision to component hash

Signed-off-by: Somefive <yd219913@alibaba-inc.com>

---------

Signed-off-by: Somefive <yd219913@alibaba-inc.com>
This commit is contained in:
Somefive
2023-06-01 09:32:49 +08:00
committed by GitHub
parent d6788f12dd
commit dd899c2b39
284 changed files with 517 additions and 66926 deletions
-11
View File
@@ -17,15 +17,4 @@ done
rm ${TEMPLATE_DIR}/*.bak
TEMPLATE_DIR="../../legacy/charts/vela-core-legacy/crds"
for filename in `ls "$TEMPLATE_DIR"`; do
sed -i.bak '/creationTimestamp: null/d' "${TEMPLATE_DIR}/$filename"
done
rm ${TEMPLATE_DIR}/*.bak
popd
+1 -6
View File
@@ -26,12 +26,7 @@ import (
var (
oldCRD = map[string]bool{
"components": true,
"applicationconfigurations": true,
"scopedefinitions": true,
"rollouts": true,
"healthscopes": true,
"workloaddefinitions": true,
"workloaddefinitions": true,
}
)