Skip to content

Commit

Permalink
add evictor advanced config resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiberiu Gal committed Oct 4, 2023
1 parent 820d922 commit 51be372
Show file tree
Hide file tree
Showing 11 changed files with 38,253 additions and 7,272 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@


default: build

init-examples:
@echo "==> Creating symlinks for example/ projects to terraform-provider-castai binary"; \
TF_PROVIDER_FILENAME=terraform-provider-castai; \
GOOS=`go tool dist env | awk -F'=' '/^GOOS/ { print $$2}' | tr -d '"'`; \
GOARCH=`go tool dist env | awk -F'=' '/^GOARCH/ { print $$2}' | tr -d '"'`; \
GOOS=`go tool dist env | awk -F'=' '/^GOOS/ { print $$2}' | tr -d '";'`; \
GOARCH=`go tool dist env | awk -F'=' '/^GOARCH/ { print $$2}' | tr -d '";'`; \
for examples in examples/eks examples/gke examples/aks ; do \
for tfproject in $$examples/* ; do \
TF_PROJECT_PLUGIN_PATH="$${tfproject}/terraform.d/plugins/registry.terraform.io/castai/castai/0.0.0-local/$${GOOS}_$${GOARCH}"; \
Expand Down
1 change: 1 addition & 0 deletions castai/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func Provider(version string) *schema.Provider {
"castai_gke_cluster": resourceGKECluster(),
"castai_aks_cluster": resourceAKSCluster(),
"castai_autoscaler": resourceAutoscaler(),
"castai_evictor_advanced_config": resourceEvictionConfig(),
"castai_node_template": resourceNodeTemplate(),
"castai_rebalancing_schedule": resourceRebalancingSchedule(),
"castai_rebalancing_job": resourceRebalancingJob(),
Expand Down
Loading

0 comments on commit 51be372

Please sign in to comment.