Skip to content

Commit 71bf71c

Browse files
authored
Merge pull request #30 from rajatjindal/misc-updates
Misc updates
2 parents 678cbb0 + adfef5f commit 71bf71c

File tree

1,381 files changed

+61265
-213808
lines changed

Some content is hidden

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

1,381 files changed

+61265
-213808
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,22 @@ jobs:
77
goreleaser:
88
runs-on: ubuntu-latest
99
steps:
10+
1011
- name: Checkout
11-
uses: actions/checkout@master
12+
uses: actions/checkout@v3
13+
1214
- name: Setup Go
13-
uses: actions/setup-go@v1
15+
uses: actions/setup-go@v3
1416
with:
15-
go-version: 1.18
17+
go-version: "1.20"
18+
1619
- name: GoReleaser
1720
uses: goreleaser/goreleaser-action@v1
1821
with:
1922
version: latest
2023
args: release --rm-dist
2124
env:
2225
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
2327
- name: Update new version in krew-index
2428
uses: rajatjindal/krew-release-bot@v0.0.38

.goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ builds:
44
binary: kubectl-modify-secret
55
env:
66
- CGO_ENABLED=0
7+
ldflags:
8+
- "-s -w -X github.com/rajatjindal/kubectl-modify-secret/pkg/cmd.Version={{.Version}}"
79
goos:
810
- darwin
911
- linux
12+
- windows
1013
goarch:
1114
- amd64
1215
- arm64

.krew.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,24 @@ spec:
3232
- from: "*"
3333
to: "."
3434
bin: kubectl-modify-secret
35+
- selector:
36+
matchLabels:
37+
os: linux
38+
arch: arm64
39+
{{addURIAndSha "https://github.com/rajatjindal/kubectl-modify-secret/releases/download/{{ .TagName }}/kubectl-modify-secret_{{ .TagName }}_linux_arm64.tar.gz" .TagName }}
40+
files:
41+
- from: "*"
42+
to: "."
43+
bin: kubectl-modify-secret
44+
- selector:
45+
matchLabels:
46+
os: windows
47+
arch: amd64
48+
{{addURIAndSha "https://github.com/rajatjindal/kubectl-modify-secret/releases/download/{{ .TagName }}/kubectl-modify-secret_{{ .TagName }}_windows_amd64.tar.gz" .TagName }}
49+
files:
50+
- from: "*"
51+
to: "."
52+
bin: kubectl-modify-secret.exe
3553
shortDescription: modify secret with implicit base64 translations
3654
description: |
3755
Usage:

go.mod

Lines changed: 44 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,42 @@
11
module github.com/rajatjindal/kubectl-modify-secret
22

3-
go 1.18
3+
go 1.20
44

55
require (
6-
github.com/sirupsen/logrus v1.9.0
7-
github.com/spf13/cobra v1.5.0
8-
github.com/stretchr/testify v1.8.0
6+
github.com/sirupsen/logrus v1.9.3
7+
github.com/spf13/cobra v1.7.0
8+
github.com/stretchr/testify v1.8.4
99
gopkg.in/yaml.v2 v2.4.0
10-
k8s.io/api v0.24.3
11-
k8s.io/apimachinery v0.24.3
12-
k8s.io/cli-runtime v0.24.3
13-
k8s.io/client-go v0.24.3
10+
k8s.io/api v0.28.2
11+
k8s.io/apimachinery v0.28.2
12+
k8s.io/cli-runtime v0.28.2
13+
k8s.io/client-go v0.28.2
1414
)
1515

1616
require (
17-
cloud.google.com/go v0.81.0 // indirect
18-
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
19-
github.com/Azure/go-autorest/autorest v0.11.18 // indirect
20-
github.com/Azure/go-autorest/autorest/adal v0.9.13 // indirect
21-
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
22-
github.com/Azure/go-autorest/logger v0.2.1 // indirect
23-
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
24-
github.com/PuerkitoBio/purell v1.1.1 // indirect
25-
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
2617
github.com/davecgh/go-spew v1.1.1 // indirect
27-
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
28-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
29-
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect
30-
github.com/go-errors/errors v1.0.1 // indirect
31-
github.com/go-logr/logr v1.2.0 // indirect
32-
github.com/go-openapi/jsonpointer v0.19.5 // indirect
33-
github.com/go-openapi/jsonreference v0.19.5 // indirect
34-
github.com/go-openapi/swag v0.19.14 // indirect
18+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
19+
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
20+
github.com/go-errors/errors v1.5.0 // indirect
21+
github.com/go-logr/logr v1.2.4 // indirect
22+
github.com/go-openapi/jsonpointer v0.20.0 // indirect
23+
github.com/go-openapi/jsonreference v0.20.2 // indirect
24+
github.com/go-openapi/swag v0.22.4 // indirect
3525
github.com/gogo/protobuf v1.3.2 // indirect
36-
github.com/golang/protobuf v1.5.2 // indirect
37-
github.com/google/btree v1.0.1 // indirect
38-
github.com/google/gnostic v0.5.7-v3refs // indirect
39-
github.com/google/gofuzz v1.1.0 // indirect
26+
github.com/golang/protobuf v1.5.3 // indirect
27+
github.com/google/btree v1.1.2 // indirect
28+
github.com/google/gnostic-models v0.6.8 // indirect
29+
github.com/google/go-cmp v0.5.9 // indirect
30+
github.com/google/gofuzz v1.2.0 // indirect
4031
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
41-
github.com/google/uuid v1.1.2 // indirect
42-
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
43-
github.com/imdario/mergo v0.3.5 // indirect
44-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
32+
github.com/google/uuid v1.3.1 // indirect
33+
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
34+
github.com/imdario/mergo v0.3.16 // indirect
35+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4536
github.com/josharian/intern v1.0.0 // indirect
4637
github.com/json-iterator/go v1.1.12 // indirect
4738
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
48-
github.com/mailru/easyjson v0.7.6 // indirect
39+
github.com/mailru/easyjson v0.7.7 // indirect
4940
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5041
github.com/modern-go/reflect2 v1.0.2 // indirect
5142
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
@@ -54,25 +45,25 @@ require (
5445
github.com/pkg/errors v0.9.1 // indirect
5546
github.com/pmezard/go-difflib v1.0.0 // indirect
5647
github.com/spf13/pflag v1.0.5 // indirect
57-
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca // indirect
58-
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
59-
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
60-
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
61-
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
62-
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
63-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
64-
golang.org/x/text v0.3.7 // indirect
65-
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
66-
google.golang.org/appengine v1.6.7 // indirect
67-
google.golang.org/protobuf v1.27.1 // indirect
48+
github.com/xlab/treeprint v1.2.0 // indirect
49+
go.starlark.net v0.0.0-20230912135651-745481cf39ed // indirect
50+
golang.org/x/net v0.15.0 // indirect
51+
golang.org/x/oauth2 v0.12.0 // indirect
52+
golang.org/x/sync v0.3.0 // indirect
53+
golang.org/x/sys v0.12.0 // indirect
54+
golang.org/x/term v0.12.0 // indirect
55+
golang.org/x/text v0.13.0 // indirect
56+
golang.org/x/time v0.3.0 // indirect
57+
google.golang.org/appengine v1.6.8 // indirect
58+
google.golang.org/protobuf v1.31.0 // indirect
6859
gopkg.in/inf.v0 v0.9.1 // indirect
6960
gopkg.in/yaml.v3 v3.0.1 // indirect
70-
k8s.io/klog/v2 v2.60.1 // indirect
71-
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
72-
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
73-
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
74-
sigs.k8s.io/kustomize/api v0.11.4 // indirect
75-
sigs.k8s.io/kustomize/kyaml v0.13.6 // indirect
76-
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
77-
sigs.k8s.io/yaml v1.2.0 // indirect
61+
k8s.io/klog/v2 v2.100.1 // indirect
62+
k8s.io/kube-openapi v0.0.0-20230905202853-d090da108d2f // indirect
63+
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
64+
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
65+
sigs.k8s.io/kustomize/api v0.14.0 // indirect
66+
sigs.k8s.io/kustomize/kyaml v0.14.3 // indirect
67+
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
68+
sigs.k8s.io/yaml v1.3.0 // indirect
7869
)

0 commit comments

Comments
 (0)