mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-07 01:46:54 +00:00
* WIP disable oam related controller and webhok change velue fix spell error change namespace add e2e for oam-runtime fix charts hack fix e2e definition namespace fix diasble contains list fix e2e-test * disable components handler * fix flaky ac test add every definition in oam-runtime-system namespace * upload ac e2e-test replace files fix upload reports * more wait time
32 lines
498 B
Bash
Executable File
32 lines
498 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(dirname "$0")
|
|
pushd $SCRIPT_DIR
|
|
|
|
TEMPLATE_DIR="../../config/crd/base"
|
|
|
|
echo "clean up unused fields of CRDs"
|
|
|
|
for filename in `ls $TEMPLATE_DIR`; do
|
|
|
|
sed -i.bak '/creationTimestamp: null/d' ${TEMPLATE_DIR}/$filename
|
|
|
|
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
|