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

Commit d203c42

Browse files
authored
add some missing documentation, bump kind patch version, update go version in mod file, add arm64 to goreleaser (#51)
1 parent a28826d commit d203c42

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ builds:
2020
- darwin
2121
goarch:
2222
- amd64
23+
- arm64
2324
archives:
2425
- format: zip
2526
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'

docs/resources/cluster.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,20 @@ resource "kind_cluster" "default" {
104104
}
105105
```
106106

107+
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")`
108+
109+
```hcl
110+
locals {
111+
k8s_config_path = pathexpand("~/folder/config")
112+
}
113+
114+
resource "kind_cluster" "default" {
115+
name = "test-cluster"
116+
kubeconfig_path = local.k8s_config_path
117+
# ...
118+
}
119+
```
120+
107121
## Argument Reference
108122

109123
* `name` - (Required) The kind name that is given to the created cluster.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kyma-incubator/terraform-provider-kind
22

3-
go 1.13
3+
go 1.16
44

55
require (
66
github.com/apparentlymart/go-cidr v1.1.0 // indirect
@@ -16,7 +16,7 @@ require (
1616
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
1717
gopkg.in/yaml.v2 v2.3.0 // indirect
1818
k8s.io/client-go v12.0.0+incompatible
19-
sigs.k8s.io/kind v0.11.0
19+
sigs.k8s.io/kind v0.11.1
2020
)
2121

2222
replace k8s.io/client-go => k8s.io/client-go v0.20.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,8 @@ k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
717717
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
718718
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
719719
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
720-
sigs.k8s.io/kind v0.11.0 h1:tBxAEht9B3Dln8+kLxDg+A23ViRWcXquhV1Fe195fbE=
721-
sigs.k8s.io/kind v0.11.0/go.mod h1:fRpgVhtqAWrtLB9ED7zQahUimpUXuG/iHT88xYqEGIA=
720+
sigs.k8s.io/kind v0.11.1 h1:pVzOkhUwMBrCB0Q/WllQDO3v14Y+o2V0tFgjTqIUjwA=
721+
sigs.k8s.io/kind v0.11.1/go.mod h1:fRpgVhtqAWrtLB9ED7zQahUimpUXuG/iHT88xYqEGIA=
722722
sigs.k8s.io/structured-merge-diff/v4 v4.0.2 h1:YHQV7Dajm86OuqnIR6zAelnDWBRjo+YhYV9PmGrh1s8=
723723
sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
724724
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=

0 commit comments

Comments
 (0)