Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Jan 14, 2025
1 parent 4f48462 commit 459ac01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 1 addition & 11 deletions src/_nebari/stages/infrastructure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ def set_missing_taints_to_default_taints(node_groups: NodeGroup) -> NodeGroup:
return node_groups


class DigitalOceanInputVars(schema.Base):
name: str
environment: str
region: str
tags: List[str]
kubernetes_version: str
node_groups: Dict[str, "DigitalOceanNodeGroup"]
kubeconfig_filename: str = get_kubeconfig_filename()


class GCPNodeGroupInputVars(schema.Base):
name: str
instance_type: str
Expand Down Expand Up @@ -755,7 +745,7 @@ def check_provider(cls, data: Any) -> Any:
for provider in provider_name_abbreviation_map.keys()
if provider in data and data[provider]
}
expected_provider_config = provider_enum_name_map[provider]
expected_provider_config = schema.provider_enum_name_map[provider]
extra_provider_config = set_providers - {expected_provider_config}
if extra_provider_config:
warnings.warn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "azurerm_kubernetes_cluster" "main" {
min_count = var.node_groups[0].min_size
max_count = var.node_groups[0].max_size
max_pods = var.max_pods
# TODO: It's not possible to add node_taints to the default node pool. See https://github.com/hashicorp/terraform-provider-azurerm/issues/9183 for more info
# It's not possible to add node_taints to the default node pool. See https://github.com/hashicorp/terraform-provider-azurerm/issues/9183 for more info

orchestrator_version = var.kubernetes_version
node_labels = {
Expand Down

0 comments on commit 459ac01

Please sign in to comment.