Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request crossplane-contrib#258 from svscheg/issue256
Browse files Browse the repository at this point in the history
Add enable_autopilot attribute and some another attributes  to LateInitializer ignore to fix issue 256
  • Loading branch information
svscheg authored Mar 22, 2023
2 parents 5962e62 + e79a38f commit bdb3d0d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
11 changes: 11 additions & 0 deletions apis/container/v1beta1/zz_generated_terraformed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions config/container/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ func Configure(p *config.Provider) { //nolint:gocyclo
"cluster_ipv4_cidr",
"ip_allocation_policy",
"node_version",
"enable_autopilot",
"workload_identity_config",
"addons_config.network_policy_config",
"addons_config.gcp_filestore_csi_driver_config",
"addons_config.dns_cache_config",
"default_max_pods_per_node",
"cluster_autoscaling.enabled",
"cluster_autoscaling.resource_limits",
"enable_intranode_visibility",
"network_policy",
"enable_shielded_nodes",
},
}
config.MoveToStatus(r.TerraformResource, "node_pool")
Expand Down
7 changes: 4 additions & 3 deletions examples/container/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
name: cluster
spec:
forProvider:
initialNodeCount: 1
location: us-central1-a
removeDefaultNodePool: false
location: europe-north1
ipAllocationPolicy:
- {}
enableAutopilot: true

0 comments on commit bdb3d0d

Please sign in to comment.