Skip to content

Commit 95f2d3b

Browse files
authored
Merge pull request #25 from previousnext/crd-v1
Update CustomResourceDefinitions from v1beta1 to v1
2 parents 632cc52 + 45bb422 commit 95f2d3b

File tree

4,027 files changed

+593301
-178027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,027 files changed

+593301
-178027
lines changed

.circleci/config.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Lint
2+
3+
on:
4+
push
5+
6+
jobs:
7+
lint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-go@v3
12+
with:
13+
go-version: '1.20'
14+
- uses: golangci/golangci-lint-action@v3
15+
with:
16+
args: --disable=errcheck --timeout=5m

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Test
2+
3+
on:
4+
push
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-go@v3
12+
with:
13+
go-version: '1.20'
14+
- run: go test ./...

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ build:
1010

1111
# Run all lint checking with exit codes for CI
1212
lint:
13-
golint -set_exit_status `go list ./... | grep -v /vendor/`
13+
golangci-lint run --disable=errcheck --timeout=5m
1414

15-
# Run tests with coverage reporting
16-
test:
17-
# @todo, Unit tests for marshalling.
18-
19-
.PHONY: build lint test
15+
.PHONY: build lint

go.mod

Lines changed: 101 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,116 @@
11
module github.com/previousnext/terraform-provider-k8s
22

3-
go 1.14
3+
go 1.20
44

55
require (
6-
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
7-
github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d // indirect
8-
github.com/Unknwon/com v0.0.0-20151008135407-28b053d5a292 // indirect
9-
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
6+
github.com/aws/aws-sdk-go-v2 v1.17.5
7+
github.com/aws/aws-sdk-go-v2/config v1.18.15
8+
github.com/aws/aws-sdk-go-v2/service/sts v1.18.5
9+
github.com/aws/smithy-go v1.13.5
10+
github.com/hashicorp/terraform v0.13.0-beta1
11+
github.com/hashicorp/terraform-plugin-sdk/v2 v2.25.0
12+
github.com/pkg/errors v0.9.1
13+
github.com/stretchr/testify v1.8.0
14+
k8s.io/api v0.25.4
15+
k8s.io/apiextensions-apiserver v0.25.4
16+
k8s.io/apimachinery v0.25.4
17+
k8s.io/client-go v0.25.4
18+
k8s.io/kube-aggregator v0.25.4
19+
)
20+
21+
require (
22+
github.com/PuerkitoBio/purell v1.1.1 // indirect
23+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
24+
github.com/agext/levenshtein v1.2.2 // indirect
1025
github.com/apparentlymart/go-cidr v1.1.0 // indirect
11-
github.com/apparentlymart/go-textseg v1.0.0 // indirect
26+
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
1227
github.com/apparentlymart/go-versions v1.0.0 // indirect
13-
github.com/armon/go-radix v1.0.0 // indirect
14-
github.com/aws/aws-sdk-go v1.31.9
15-
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
16-
github.com/bgentry/speakeasy v0.1.0 // indirect
17-
github.com/dnaeon/go-vcr v0.0.0-20180920040454-5637cf3d8a31 // indirect
18-
github.com/gofrs/uuid v3.3.0+incompatible // indirect
19-
github.com/google/btree v1.0.0 // indirect
20-
github.com/googleapis/gnostic v0.2.0 // indirect
21-
github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc // indirect
22-
github.com/hashicorp/aws-sdk-go-base v0.6.0 // indirect
23-
github.com/hashicorp/go-hclog v0.9.2 // indirect
24-
github.com/hashicorp/go-safetemp v1.0.0 // indirect
25-
github.com/hashicorp/hcl/v2 v2.6.0 // indirect
26-
github.com/hashicorp/hcl2 v0.0.0-20190702185634-5b39d9ff3a9a // indirect
28+
github.com/aws/aws-sdk-go v1.31.9 // indirect
29+
github.com/aws/aws-sdk-go-v2/credentials v1.13.15 // indirect
30+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.23 // indirect
31+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.29 // indirect
32+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.23 // indirect
33+
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.30 // indirect
34+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.23 // indirect
35+
github.com/aws/aws-sdk-go-v2/service/sso v1.12.4 // indirect
36+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.4 // indirect
37+
github.com/blang/semver v3.5.1+incompatible // indirect
38+
github.com/bmatcuk/doublestar v1.1.5 // indirect
39+
github.com/davecgh/go-spew v1.1.1 // indirect
40+
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
41+
github.com/fatih/color v1.13.0 // indirect
42+
github.com/go-logr/logr v1.2.3 // indirect
43+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
44+
github.com/go-openapi/jsonreference v0.19.5 // indirect
45+
github.com/go-openapi/swag v0.19.14 // indirect
46+
github.com/gogo/protobuf v1.3.2 // indirect
47+
github.com/golang/protobuf v1.5.2 // indirect
48+
github.com/google/gnostic v0.5.7-v3refs // indirect
49+
github.com/google/go-cmp v0.5.9 // indirect
50+
github.com/google/gofuzz v1.1.0 // indirect
51+
github.com/google/uuid v1.1.2 // indirect
52+
github.com/hashicorp/errwrap v1.0.0 // indirect
53+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
54+
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect
55+
github.com/hashicorp/go-hclog v1.4.0 // indirect
56+
github.com/hashicorp/go-multierror v1.1.1 // indirect
57+
github.com/hashicorp/go-plugin v1.4.8 // indirect
58+
github.com/hashicorp/go-retryablehttp v0.5.2 // indirect
59+
github.com/hashicorp/go-uuid v1.0.3 // indirect
60+
github.com/hashicorp/go-version v1.6.0 // indirect
61+
github.com/hashicorp/hcl v1.0.0 // indirect
62+
github.com/hashicorp/hcl/v2 v2.16.1 // indirect
63+
github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590 // indirect
2764
github.com/hashicorp/logutils v1.0.0 // indirect
28-
github.com/hashicorp/terraform v0.13.0-beta1
65+
github.com/hashicorp/terraform-plugin-go v0.14.3 // indirect
66+
github.com/hashicorp/terraform-plugin-log v0.8.0 // indirect
67+
github.com/hashicorp/terraform-registry-address v0.1.0 // indirect
68+
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
2969
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
3070
github.com/imdario/mergo v0.3.9 // indirect
31-
github.com/kubernetes-sigs/aws-iam-authenticator v0.3.1-0.20190111160901-390d9087a4bc
32-
github.com/marstr/guid v1.1.0 // indirect
33-
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
34-
github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88 // indirect
35-
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
71+
github.com/josharian/intern v1.0.0 // indirect
72+
github.com/json-iterator/go v1.1.12 // indirect
73+
github.com/mailru/easyjson v0.7.6 // indirect
74+
github.com/mattn/go-colorable v0.1.12 // indirect
75+
github.com/mattn/go-isatty v0.0.14 // indirect
76+
github.com/mitchellh/copystructure v1.2.0 // indirect
77+
github.com/mitchellh/go-homedir v1.1.0 // indirect
78+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
3679
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
37-
github.com/mitchellh/gox v1.0.1 // indirect
38-
github.com/mitchellh/reflectwalk v1.0.1 // indirect
80+
github.com/mitchellh/hashstructure v1.0.0 // indirect
81+
github.com/mitchellh/mapstructure v1.5.0 // indirect
82+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
3983
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
84+
github.com/modern-go/reflect2 v1.0.2 // indirect
85+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4086
github.com/oklog/run v1.0.0 // indirect
41-
github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db // indirect
42-
github.com/petar/GoLLRB v0.0.0-20130427215148-53be0d36a84c // indirect
43-
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
44-
github.com/pkg/errors v0.9.1
45-
github.com/posener/complete v1.2.1 // indirect
46-
github.com/satori/go.uuid v1.2.0 // indirect
47-
github.com/spf13/afero v1.2.2 // indirect
48-
github.com/terraform-providers/terraform-provider-openstack v1.15.0 // indirect
49-
github.com/tombuildsstuff/giovanni v0.12.0 // indirect
50-
github.com/ulikunitz/xz v0.5.5 // indirect
87+
github.com/pmezard/go-difflib v1.0.0 // indirect
88+
github.com/spf13/afero v1.9.5 // indirect
89+
github.com/spf13/pflag v1.0.5 // indirect
5190
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
52-
github.com/zclconf/go-cty v1.5.1 // indirect
91+
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
92+
github.com/vmihailenco/tagparser v0.1.1 // indirect
93+
github.com/zclconf/go-cty v1.12.1 // indirect
5394
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
54-
golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d // indirect
55-
golang.org/x/net v0.0.0-20200602114024-627f9648deb9 // indirect
56-
gopkg.in/yaml.v2 v2.2.8 // indirect
57-
k8s.io/api v0.17.0
58-
k8s.io/apiextensions-apiserver v0.17.0
59-
k8s.io/apimachinery v0.17.0
60-
k8s.io/client-go v0.17.0
61-
k8s.io/kube-aggregator v0.17.0
62-
k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4 // indirect
63-
sigs.k8s.io/yaml v1.1.0 // indirect
95+
golang.org/x/crypto v0.6.0 // indirect
96+
golang.org/x/mod v0.9.0 // indirect
97+
golang.org/x/net v0.6.0 // indirect
98+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
99+
golang.org/x/sys v0.5.0 // indirect
100+
golang.org/x/term v0.5.0 // indirect
101+
golang.org/x/text v0.7.0 // indirect
102+
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
103+
google.golang.org/appengine v1.6.7 // indirect
104+
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
105+
google.golang.org/grpc v1.51.0 // indirect
106+
google.golang.org/protobuf v1.28.1 // indirect
107+
gopkg.in/inf.v0 v0.9.1 // indirect
108+
gopkg.in/yaml.v2 v2.4.0 // indirect
109+
gopkg.in/yaml.v3 v3.0.1 // indirect
110+
k8s.io/klog/v2 v2.70.1 // indirect
111+
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
112+
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
113+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
114+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
115+
sigs.k8s.io/yaml v1.2.0 // indirect
64116
)

0 commit comments

Comments
 (0)