mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
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:
@@ -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
|
||||
|
||||
@@ -26,12 +26,7 @@ import (
|
||||
|
||||
var (
|
||||
oldCRD = map[string]bool{
|
||||
"components": true,
|
||||
"applicationconfigurations": true,
|
||||
"scopedefinitions": true,
|
||||
"rollouts": true,
|
||||
"healthscopes": true,
|
||||
"workloaddefinitions": true,
|
||||
"workloaddefinitions": true,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user