Skip to content

Commit

Permalink
Merge metrics chart into crds
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Jun 27, 2021
1 parent c4b8659 commit 930bacf
Show file tree
Hide file tree
Showing 12 changed files with 27,905 additions and 28,011 deletions.
23 changes: 0 additions & 23 deletions charts/kubedb-metrics/.helmignore

This file was deleted.

13 changes: 0 additions & 13 deletions charts/kubedb-metrics/Chart.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions charts/kubedb-metrics/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions charts/kubedb-metrics/doc.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions charts/kubedb-metrics/templates/NOTES.txt

This file was deleted.

3 changes: 0 additions & 3 deletions charts/kubedb-metrics/values.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion hack/scripts/ct.sh
Expand Up @@ -21,7 +21,7 @@ for dir in charts/*/; do
dir=${dir##*/}
num_files=$(find charts/${dir}/templates -type f | wc -l)
echo $dir
if [ $num_files -le 1 ] || [[ "$dir" =~ "-metrics" ]]; then
if [ $num_files -le 1 ] || [[ "$dir" =~ "-crds" ]]; then
make ct CT_COMMAND=lint TEST_CHARTS=charts/$dir
else
make ct TEST_CHARTS=charts/$dir
Expand Down
5 changes: 1 addition & 4 deletions hack/scripts/import-crds.sh
Expand Up @@ -47,6 +47,7 @@ fi

crd-importer \
--input=${crd_dir} \
--input=https://github.com/kmodules/custom-resources/raw/kubernetes-1.21.1/crds/metrics.appscode.com_metricsconfigurations.v1.yaml \
--out=./charts/kubedb-crds/crds

crd-importer \
Expand All @@ -62,7 +63,3 @@ crd-importer --v=v1beta1 \
--input=${crd_dir} \
--out=. --output-yaml=kubedb-catalog-crds.yaml \
--group=catalog.kubedb.com

crd-importer \
--input=https://github.com/kmodules/custom-resources/raw/kubernetes-1.21.1/crds/metrics.appscode.com_metricsconfigurations.v1.yaml \
--out=./charts/kubedb-metrics/crds

0 comments on commit 930bacf

Please sign in to comment.