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

Commit

Permalink
add some missing documentation, bump kind patch version, update go ve…
Browse files Browse the repository at this point in the history
…rsion in mod file, add arm64 to goreleaser (#51)
  • Loading branch information
tehcyx authored Nov 7, 2021
1 parent a28826d commit d203c42
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ builds:
- darwin
goarch:
- amd64
- arm64
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
Expand Down
14 changes: 14 additions & 0 deletions docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@ resource "kind_cluster" "default" {
}
```

If specifying a kubeconfig path containing a `~/some/random/path` character, be aware that terraform is not expanding the path unless you specify it via `pathexpand("~/some/random/path")`

```hcl
locals {
k8s_config_path = pathexpand("~/folder/config")
}
resource "kind_cluster" "default" {
name = "test-cluster"
kubeconfig_path = local.k8s_config_path
# ...
}
```

## Argument Reference

* `name` - (Required) The kind name that is given to the created cluster.
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kyma-incubator/terraform-provider-kind

go 1.13
go 1.16

require (
github.com/apparentlymart/go-cidr v1.1.0 // indirect
Expand All @@ -16,7 +16,7 @@ require (
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
k8s.io/client-go v12.0.0+incompatible
sigs.k8s.io/kind v0.11.0
sigs.k8s.io/kind v0.11.1
)

replace k8s.io/client-go => k8s.io/client-go v0.20.2
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,8 @@ k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
sigs.k8s.io/kind v0.11.0 h1:tBxAEht9B3Dln8+kLxDg+A23ViRWcXquhV1Fe195fbE=
sigs.k8s.io/kind v0.11.0/go.mod h1:fRpgVhtqAWrtLB9ED7zQahUimpUXuG/iHT88xYqEGIA=
sigs.k8s.io/kind v0.11.1 h1:pVzOkhUwMBrCB0Q/WllQDO3v14Y+o2V0tFgjTqIUjwA=
sigs.k8s.io/kind v0.11.1/go.mod h1:fRpgVhtqAWrtLB9ED7zQahUimpUXuG/iHT88xYqEGIA=
sigs.k8s.io/structured-merge-diff/v4 v4.0.2 h1:YHQV7Dajm86OuqnIR6zAelnDWBRjo+YhYV9PmGrh1s8=
sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
Expand Down

0 comments on commit d203c42

Please sign in to comment.