Skip to content

Commit db3aaf5

Browse files
committed
chore: bump kclvm version to v0.4.6
1 parent afb9bcc commit db3aaf5

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

go.mod

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@ go 1.18
44

55
require (
66
github.com/GoogleContainerTools/kpt-functions-sdk/go/fn v0.0.0-20230302070146-e8e9cb3c3ae2
7-
github.com/Masterminds/semver v1.5.0
87
github.com/spf13/cobra v1.6.1
9-
github.com/spf13/pflag v1.0.5
108
go.uber.org/zap v1.24.0
119
google.golang.org/grpc v1.50.1
1210
gopkg.in/yaml.v2 v2.4.0
1311
helm.sh/helm/v3 v3.11.2
14-
k8s.io/client-go v0.26.0
1512
k8s.io/helm v2.17.0+incompatible
16-
kusionstack.io/kclvm-go v0.4.5
17-
kusionstack.io/kpt-kcl-sdk v0.1.0
13+
kusionstack.io/kclvm-go v0.4.6
14+
kusionstack.io/kpt-kcl-sdk v0.1.1
1815
sigs.k8s.io/yaml v1.3.0
1916
)
2017

@@ -24,10 +21,11 @@ require (
2421
github.com/GoogleContainerTools/kpt-functions-sdk/go/api v0.0.0-20220720212527-133180134b93 // indirect
2522
github.com/MakeNowJust/heredoc v1.0.0 // indirect
2623
github.com/Masterminds/goutils v1.1.1 // indirect
24+
github.com/Masterminds/semver v1.5.0 // indirect
2725
github.com/Masterminds/semver/v3 v3.2.0 // indirect
28-
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
2926
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
3027
github.com/Masterminds/squirrel v1.5.3 // indirect
28+
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
3129
github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 // indirect
3230
github.com/beorn7/perks v1.0.1 // indirect
3331
github.com/cespare/xxhash/v2 v2.1.2 // indirect
@@ -101,6 +99,7 @@ require (
10199
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
102100
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
103101
github.com/pkg/errors v0.9.1 // indirect
102+
github.com/powerman/rpc-codec v1.2.2 // indirect
104103
github.com/prometheus/client_golang v1.14.0 // indirect
105104
github.com/prometheus/client_model v0.3.0 // indirect
106105
github.com/prometheus/common v0.37.0 // indirect
@@ -110,6 +109,7 @@ require (
110109
github.com/shopspring/decimal v1.3.1 // indirect
111110
github.com/sirupsen/logrus v1.9.0 // indirect
112111
github.com/spf13/cast v1.5.0 // indirect
112+
github.com/spf13/pflag v1.0.5 // indirect
113113
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
114114
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
115115
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
@@ -135,13 +135,13 @@ require (
135135
k8s.io/apimachinery v0.26.1 // indirect
136136
k8s.io/apiserver v0.26.0 // indirect
137137
k8s.io/cli-runtime v0.26.0 // indirect
138+
k8s.io/client-go v0.26.0 // indirect
138139
k8s.io/component-base v0.26.0 // indirect
139140
k8s.io/klog/v2 v2.80.1 // indirect
140141
k8s.io/kube-openapi v0.0.0-20230109183929-3758b55a6596 // indirect
141142
k8s.io/kubectl v0.26.0 // indirect
142143
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
143-
kusionstack.io/kcl-plugin v0.4.4 // indirect
144-
kusionstack.io/kclvm-artifact-go v0.4.5 // indirect
144+
kusionstack.io/kclvm-artifact-go v0.4.6 // indirect
145145
oras.land/oras-go v1.2.2 // indirect
146146
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
147147
sigs.k8s.io/kustomize/api v0.12.1 // indirect

go.sum

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF0
5757
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
5858
github.com/Masterminds/semver/v3 v3.2.0 h1:3MEsd0SM6jqZojhjLWWeBY+Kcjy9i6MQAeY7YgDP83g=
5959
github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
60-
github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60=
61-
github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
6260
github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk=
6361
github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA=
6462
github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM=
@@ -69,6 +67,8 @@ github.com/Microsoft/hcsshim v0.9.6 h1:VwnDOgLeoi2du6dAznfmspNqTiwczvjv4K7NxuY9j
6967
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
7068
github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d h1:UrqY+r/OJnIp5u0s1SbQ8dVfLCZJsnvazdBP5hS4iRs=
7169
github.com/a8m/expect v1.0.0/go.mod h1:4IwSCMumY49ScypDnjNbYEjgVeqy1/U2cEs3Lat96eA=
70+
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d h1:licZJFw2RwpHMqeKTCYkitsPqHNxTmd4SNR5r94FGM8=
71+
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d/go.mod h1:asat636LX7Bqt5lYEZ27JNDcqxfjdBQuJ/MM4CN/Lzo=
7272
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
7373
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
7474
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -501,6 +501,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
501501
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
502502
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
503503
github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
504+
github.com/powerman/rpc-codec v1.2.2 h1:BK0JScZivljhwW/vLLhZLtUgqSxc/CD3sHEs8LiwwKw=
505+
github.com/powerman/rpc-codec v1.2.2/go.mod h1:3Qr/y/+u3CwcSww9tfJMRn/95lB2qUdUeIQe7BYlLDo=
504506
github.com/poy/onpar v0.0.0-20200406201722-06f95a1c68e8/go.mod h1:nSbFQvMj97ZyhFRSJYtut+msi4sOY6zJDGCdSc+/rZU=
505507
github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY=
506508
github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg=
@@ -1104,14 +1106,12 @@ k8s.io/kubectl v0.26.0 h1:xmrzoKR9CyNdzxBmXV7jW9Ln8WMrwRK6hGbbf69o4T0=
11041106
k8s.io/kubectl v0.26.0/go.mod h1:eInP0b+U9XUJWSYeU9XZnTA+cVYuWyl3iYPGtru0qhQ=
11051107
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d h1:0Smp/HP1OH4Rvhe+4B8nWGERtlqAGSftbSbbmm45oFs=
11061108
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
1107-
kusionstack.io/kcl-plugin v0.4.4 h1:Ke6SMbZ33qaR0mTCaZSVmVop+8Hk8UQK217z7ml97z8=
1108-
kusionstack.io/kcl-plugin v0.4.4/go.mod h1:VgB7qXVbDGWFOh/qb/yXf75+UrliP5EPXOQUDqBCdAQ=
1109-
kusionstack.io/kclvm-artifact-go v0.4.5 h1:PlCKpdeFExV4JNFQ2dRPZ9nrEL3HxVGyGvOlOLPwD+0=
1110-
kusionstack.io/kclvm-artifact-go v0.4.5/go.mod h1:WI+NvDeMqu1AduJT119X7q8KQdYmKfv4Nq4OvZ1tAsI=
1111-
kusionstack.io/kclvm-go v0.4.5 h1:nXMYiYA96m5lzZ2Tlz5xvIvodEMn4OLlFuYL/M5dqAg=
1112-
kusionstack.io/kclvm-go v0.4.5/go.mod h1:fZhG25z3XnjqaXePHsi5GgqVtl837g7NS/1EpbdV/58=
1113-
kusionstack.io/kpt-kcl-sdk v0.1.0 h1:cGxEG15BK0XnNzvzgsiXatXuk6k1RtMK4QQAo3x2C9s=
1114-
kusionstack.io/kpt-kcl-sdk v0.1.0/go.mod h1:v94UQiiJL7fDLvU611NaUsAsCFQGrpiMLIbSUbqE2SA=
1109+
kusionstack.io/kclvm-artifact-go v0.4.6 h1:BqVreppjq6rQt2aSXGlmzlq8vKM5zCdIJTPog+ZG6pU=
1110+
kusionstack.io/kclvm-artifact-go v0.4.6/go.mod h1:WI+NvDeMqu1AduJT119X7q8KQdYmKfv4Nq4OvZ1tAsI=
1111+
kusionstack.io/kclvm-go v0.4.6 h1:EjdkN7AsL0envlWk83ecdbOguRwZZlpEqqFG2N4rtnw=
1112+
kusionstack.io/kclvm-go v0.4.6/go.mod h1:IJ/LzmAfDpn5X3X6ezLVia+zuXRDQmQdsR1yTinOUP0=
1113+
kusionstack.io/kpt-kcl-sdk v0.1.1 h1:uhIRgio3XdKxxLCmC/BRUhpt+Fwx2x4Bz75X37mw+S4=
1114+
kusionstack.io/kpt-kcl-sdk v0.1.1/go.mod h1:IR7Oji5vAitbmfgiUYX0PnlH8KurbTZokkpQUAOxak0=
11151115
oras.land/oras-go v1.2.2 h1:0E9tOHUfrNH7TCDk5KU0jVBEzCqbfdyuVfGmJ7ZeRPE=
11161116
oras.land/oras-go v1.2.2/go.mod h1:Apa81sKoZPpP7CDciE006tSZ0x3Q3+dOoBcMZ/aNxvw=
11171117
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=

makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ LDFLAGS += -X k8s.io/helm/pkg/version.Version=$(shell ./scripts/dep-helm-version
1212

1313
GO ?= go
1414

15+
.PHONY: run
16+
run:
17+
go run main.go template --file ./examples/workload-charts-with-kcl/kcl-run.yaml
18+
1519
.PHONY: format
1620
format:
1721
test -z "$$(find . -type f -o -name '*.go' -exec gofmt -d {} + | tee /dev/stderr)" || \
@@ -85,7 +89,3 @@ release: lint dist
8589
.PHONY: test-plugin-installation
8690
test-plugin-installation:
8791
docker build -f testdata/Dockerfile.install .
88-
89-
.PHONY: test
90-
test:
91-
go test -v ./...

plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "kcl"
22
# Version is the version of Helm plus the number of official builds for this
33
# plugin
4-
version: "0.1.1"
4+
version: "0.1.2"
55
usage: "Helm KCL Plugin"
66
description: "Helm KCL Plugin"
77
useTunnel: true

0 commit comments

Comments
 (0)