Davanum Srinivas
665b093491
Drop usages sigs.k8s.io/yaml/goyaml.v3
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-07-10 19:23:02 -04:00
Benjamin Elder
1e21827948
eliminate yaml.v3
...
not convinced these were necessary, users can patch arbitrary yaml in anyhow, I don't think there's a realistic threat model resolved by safetext/yamltemplate
further, the safetext repo doesn't seem to be responsively maintained, last commit 9 months ago, and the small number of issues are going unresponded (4 open, 0 closed, some multiple years old)
2025-04-24 22:00:51 -07:00
Benjamin Elder
b229bcf3d1
migrate off of gopkg.in/yaml.v3
2025-04-03 22:42:37 +01:00
Benjamin Elder
07f58a1c02
update shellescape to latest with new vanity import
2025-01-07 11:41:07 -08:00
Sean McGinnis
b81c1b16e7
Update Go dependencies
...
This updates the go dependencies to the latest available that will work
with our chosen minimum supported runtime.
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com >
2024-05-24 15:32:22 -05:00
Benjamin Elder
4121af1571
Require go 1.17+
...
This enables better dependency management via https://go.dev/ref/mod#graph-pruning
We previously required 1.16+
We don't want to require especially recent versions because that will break users with `go install` using older packaged golang.
We use currently supported much more recent go for our own builds.
2024-04-01 15:52:31 -07:00
yanggang
6749239ffa
Bump go.mod to 1.16.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-04-19 04:57:15 +08:00
Benjamin Elder
965bde6c90
switch to safetext/yamltemplate for yaml templating
2022-09-20 15:10:28 -07:00
Benjamin Elder
4c7aa8dccd
update yaml to v3.0.1
2022-05-27 12:53:45 -07:00
Benjamin Elder
acb7852120
upgrade packages in root module
2022-03-23 20:11:07 -07:00
Benjamin Elder
809dbd25e8
drop k8s.io/apimachinery from go.mod
2021-11-16 16:23:27 -08:00
Benjamin Elder
4b938ef2ad
update main module direct dependencies to latest
2021-11-03 12:09:39 -07:00
Benjamin Elder
9cb18df003
upgrade direct dependencies, drop unnecessary requirement on x/sys
...
we don't depend on anything new in x/sys, we're just using it as part of go-isatty.
2021-07-01 01:06:40 -07:00
Benjamin Elder
bac01c2f27
bump core cli dependencies to latest
2021-02-08 23:37:40 -08:00
Benjamin Elder
6a47034ce0
bump go dependencies
2020-09-28 22:27:15 -07:00
Benjamin Elder
9b15a301fa
upgrade cli deps
2020-08-14 13:50:51 -07:00
Benjamin Elder
57bcee15b0
update go.mod to 1.14
2020-07-25 14:00:42 -07:00
Benjamin Elder
f960bbe074
update deps
2020-07-25 13:58:08 -07:00
Benjamin Elder
a38c9268d6
bump apimachinery
2020-06-29 19:04:47 -07:00
Benjamin Elder
aacbe4cad1
upgrade core dependencies
2020-06-17 17:27:47 -07:00
Tam Mach
76e29390af
Add fish completion support
2020-04-26 14:50:21 +10:00
Benjamin Elder
11b46611d7
update k8s.io/apimachinery
2020-04-25 17:19:54 -07:00
Benjamin Elder
07877b1521
update go-toml
2020-04-25 17:18:45 -07:00
Benjamin Elder
218e6bc8b0
update shellescape
2020-04-25 17:18:30 -07:00
Benjamin Elder
268d505753
upgrade to json-patch v5
2020-03-26 15:30:48 -07:00
Benjamin Elder
d5295cb85d
bump yaml.v3
2020-02-04 13:27:24 -08:00
Benjamin Elder
b02e43e4c8
bump pkg/errors
2020-02-04 13:25:18 -08:00
Benjamin Elder
027881725e
update go-isatty
2020-02-04 13:21:02 -08:00
Benjamin Elder
565ac53de5
upgrade sigs.k8s.io/yaml
2020-02-04 13:19:19 -08:00
Benjamin Elder
b68bc55251
update main module depencies
2020-01-13 10:14:49 -08:00
Amit Watve
c6b8492b49
Update to v0.17.0
2019-12-10 17:25:03 -08:00
Benjamin Elder
c13ad350e9
add patch.TOML
2019-11-15 16:39:53 -08:00
Benjamin Elder
f7e4c92f38
handle windows terminals better
2019-11-10 22:43:09 -08:00
Benjamin Elder
f9a95f6d02
make spinner handle long lines
2019-11-10 17:51:56 -08:00
Benjamin Elder
7e715ad0c0
drop uuid dependency
2019-11-07 00:26:35 -08:00
Benjamin Elder
6abe768839
switch to go-isatty
2019-11-07 00:08:17 -08:00
Benjamin Elder
6739206f11
set apimachinery to release-1.16
2019-11-06 23:50:40 -08:00
Benjamin Elder
1a164ebbfa
update dependencies
2019-11-06 19:19:45 -08:00
Benjamin Elder
627b188b57
bump dependency patch versions
2019-11-06 19:17:30 -08:00
Benjamin Elder
8c408f25b0
Inject IO / logger ( #1050 )
...
* start injecting the logger and stdout / stdin
* fix boilerplate
* finish injecting logger in most places
* we return exec errors now, remove globals from exec
* eliminate globals
* cleanup / gofmt
* remove unused arguments
* doc maybe methods
* plumb logger through to provider
* handle error logging outside of cobra
* handle quiet outside cobra
* pass in output writer to cobra
* silence ErrOut instead of cobra
* silence usage for now
we can selectively show usage ourself for certain classes of error
* simplify slightly
2019-11-05 17:59:00 -08:00
Benjamin Elder
2bf76c9d25
replace kustomize with custom json-patch routine
2019-10-19 15:16:55 -07:00
Benjamin Elder
0447dd2f9e
switch to yaml.v3
2019-10-14 18:25:58 -07:00
Benjamin Elder
d0f4a5ad70
roll our own config loading
2019-10-02 18:04:39 -07:00
Jerome Brette
6237d7abfd
Update to Kustomize 3.2.0
...
Ensure that kustomization.yaml is matching picked version of
kustomize and does not use deprecated fields
2019-09-30 05:32:18 +00:00
Benjamin Elder
c5fb3b976c
show command output in errors
2019-09-09 17:47:36 -07:00
Benjamin Elder
cf335c2d32
gofmt and update go.mod
2019-09-06 01:22:24 -07:00
Benjamin Elder
cd26291fe3
use go_container.sh more consistently
2019-08-23 16:48:40 -07:00
Benjamin Elder
ea4053c5e6
update kustomize
2019-08-21 13:04:37 -07:00
Benjamin Elder
680b55f655
upgrade kustomize to v3.1.0
2019-07-30 22:11:30 -07:00
Benjamin Elder
0e9d13c621
drop client-go from direct dependencies
2019-07-30 21:32:48 -07:00