Skip to content

Commit

Permalink
Revert "add csi-addons(test)"
Browse files Browse the repository at this point in the history
This reverts commit c06e8ec.
  • Loading branch information
YZ775 committed Dec 23, 2024
1 parent b19ceb9 commit e405bd0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 2,478 deletions.
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,6 @@ update-unbound:
sed -i -E '/name:.*unbound_exporter$$/!b;n;s/newTag:.*$$/newTag: $(UNBOUND_EXPORTER_VERSION)/' unbound/base/kustomization.yaml
bin/kustomize build unbound/$(UNBOUND_OVERLAY) > etc/unbound$(UNBOUND_CONFIG_SUFFIX).yaml

.PHONY: update-csi-addons
update-csi-addons:
rm -rf /tmp/work-csi-addons
mkdir -p /tmp/work-csi-addons
curl -o /tmp/work-csi-addons/crds.yaml -sSfL https://github.com/csi-addons/kubernetes-csi-addons/releases/download/v${CSI_ADDONS_VERSION}/crds.yaml
curl -o /tmp/work-csi-addons/rbac.yaml -sSfL https://github.com/csi-addons/kubernetes-csi-addons/releases/download/v${CSI_ADDONS_VERSION}/rbac.yaml
curl -o /tmp/work-csi-addons/setup-controller.yaml -sSfL https://github.com/csi-addons/kubernetes-csi-addons/releases/download/v${CSI_ADDONS_VERSION}/setup-controller.yaml
yq /tmp/work-csi-addons/crds.yaml /tmp/work-csi-addons/rbac.yaml /tmp/work-csi-addons/setup-controller.yaml > etc/csi-addons.yaml
HELM := $(shell pwd)/bin/helm
.PHONY: helm
helm: $(HELM) ## Download helm locally if necessary.
Expand Down
1 change: 0 additions & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ RUNC_VERSION = 1.1.13
K8S_VERSION = 1.29.7
HELM_VERSION = 3.15.3
STERN_VERSION = 1.30.0
CSI_ADDONS_VERSION = 0.11.0


## These should be updated regularly
Expand Down
2 changes: 0 additions & 2 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,13 @@ var (
filepath.Join(NecoDataDir, "coil.yaml"),
filepath.Join(NecoDataDir, "unbound.yaml"),
filepath.Join(NecoDataDir, "squid.yaml"),
filepath.Join(NecoDataDir, "csi-addons.yaml"),
}
CKEUserResourceFilesPre = []string{
filepath.Join(NecoDataDir, "namespaces.yml"),
filepath.Join(NecoDataDir, "cilium-pre.yaml"),
filepath.Join(NecoDataDir, "coil-pre.yaml"),
filepath.Join(NecoDataDir, "unbound-pre.yaml"),
filepath.Join(NecoDataDir, "squid-pre.yaml"),
filepath.Join(NecoDataDir, "csi-addons.yaml"),
}
CKEUserResourceFilesDCTest = []string{
filepath.Join(NecoDataDir, "namespaces.yml"),
Expand Down
Loading

0 comments on commit e405bd0

Please sign in to comment.