Skip to content

Commit

Permalink
MKAAS-1126 Fixed cni docs (#74)
Browse files Browse the repository at this point in the history
Co-authored-by: Konstantin Losev <konstantin.losev@gcore.com>
  • Loading branch information
volvofixthis and volvofixthis authored Feb 14, 2024
1 parent 9451149 commit b9a8dfd
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 55 deletions.
9 changes: 9 additions & 0 deletions docs/data-sources/k8sv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ output "view" {

### Optional

- `cni` (Block List) (see [below for nested schema](#nestedblock--cni))
- `project_id` (Number)
- `project_name` (String)
- `region_id` (Number)
Expand All @@ -66,6 +67,14 @@ output "view" {
- `task_id` (String)
- `version` (String)

<a id="nestedblock--cni"></a>
### Nested Schema for `cni`

Required:

- `provider` (String)


<a id="nestedatt--pools"></a>
### Nested Schema for `pools`

Expand Down
9 changes: 9 additions & 0 deletions docs/resources/k8sv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ resource "gcore_k8sv2" "cl" {

### Optional

- `cni` (Block List, Max: 1) (see [below for nested schema](#nestedblock--cni))
- `fixed_network` (String) Fixed network used to allocate network addresses for cluster nodes.
- `fixed_subnet` (String) Fixed subnet used to allocate network addresses for cluster nodes. Subnet should have a router.
- `is_ipv6` (Boolean) Enable public IPv6 address.
Expand Down Expand Up @@ -94,6 +95,14 @@ Read-Only:
- `status` (String) Cluster pool status.


<a id="nestedblock--cni"></a>
### Nested Schema for `cni`

Required:

- `provider` (String)


<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Expand Down
30 changes: 16 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ require (
)

require (
github.com/ProtonMail/go-crypto v0.0.0-20230626094100-7e9e0395ebec // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
Expand All @@ -36,7 +37,7 @@ require (
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
Expand All @@ -45,10 +46,11 @@ require (
github.com/hashicorp/go-plugin v1.4.10 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/hc-install v0.5.2 // indirect
github.com/hashicorp/hc-install v0.6.2 // indirect
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-json v0.17.1 // indirect
github.com/hashicorp/terraform-json v0.21.0 // indirect
github.com/hashicorp/terraform-plugin-docs v0.18.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.18.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
Expand All @@ -58,7 +60,7 @@ require (
github.com/ladydascalie/currency v1.6.0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
Expand All @@ -71,15 +73,15 @@ require (
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.13.2 // indirect
github.com/zclconf/go-cty v1.14.1 // indirect
go.opentelemetry.io/otel v1.16.0 // indirect
go.opentelemetry.io/otel/metric v1.16.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529 // indirect
google.golang.org/grpc v1.56.1 // indirect
Expand All @@ -91,8 +93,8 @@ require (
require (
github.com/go-openapi/runtime v0.26.0 // indirect
github.com/hashicorp/terraform v1.5.2
github.com/hashicorp/terraform-exec v0.18.1 // indirect
github.com/hashicorp/terraform-exec v0.20.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
go.mongodb.org/mongo-driver v1.12.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/net v0.18.0 // indirect
)
Loading

0 comments on commit b9a8dfd

Please sign in to comment.