Skip to content

Commit

Permalink
add evictor advanced config resource (#227)
Browse files Browse the repository at this point in the history
* feat: add evictor advanced config resource

* fix: Fix ACC tests

---------

Co-authored-by: Jan Sykora <jan@cast.ai>
  • Loading branch information
TiberiuGal and jansyk13 authored Oct 20, 2023
1 parent 763d960 commit 4eb102d
Show file tree
Hide file tree
Showing 12 changed files with 1,726 additions and 10 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


default: build

init-examples:
Expand All @@ -16,7 +18,7 @@ init-examples:

generate-sdk:
@echo "==> Generating castai sdk client"
@API_TAGS=ExternalClusterAPI,PoliciesAPI,NodeConfigurationAPI,NodeTemplatesAPI,AuthTokenAPI,ScheduledRebalancingAPI,InventoryAPI,UsersAPI,OperationsAPI go generate castai/sdk/generate.go
@API_TAGS=ExternalClusterAPI,PoliciesAPI,NodeConfigurationAPI,NodeTemplatesAPI,AuthTokenAPI,ScheduledRebalancingAPI,InventoryAPI,UsersAPI,OperationsAPI,EvictorAPI go generate castai/sdk/generate.go

# The following command also rewrites existing documentation
generate-docs:
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 4eb102d

Please sign in to comment.