diff --git a/go.mod b/go.mod index fa16ae2..d48ad89 100644 --- a/go.mod +++ b/go.mod @@ -10,8 +10,8 @@ require ( github.com/stretchr/testify v1.8.4 k8s.io/api v0.27.3 k8s.io/apimachinery v0.27.3 - kcl-lang.io/kcl-go v0.5.0 - kcl-lang.io/kpm v0.3.0 + kcl-lang.io/kcl-go v0.5.1 + kcl-lang.io/kpm v0.3.1 sigs.k8s.io/kustomize/kyaml v0.14.3 ) @@ -118,7 +118,7 @@ require ( k8s.io/klog/v2 v2.90.1 // indirect k8s.io/kube-openapi v0.0.0-20230601164746-7562a1006961 // indirect k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect - kcl-lang.io/kcl-artifact-go v0.5.0 // indirect + kcl-lang.io/kcl-artifact-go v0.5.1 // indirect oras.land/oras-go v1.2.3 // indirect oras.land/oras-go/v2 v2.0.2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect diff --git a/go.sum b/go.sum index acec9b7..c1f80ce 100644 --- a/go.sum +++ b/go.sum @@ -1177,12 +1177,12 @@ k8s.io/kube-openapi v0.0.0-20230601164746-7562a1006961 h1:pqRVJGQJz6oeZby8qmPKXY k8s.io/kube-openapi v0.0.0-20230601164746-7562a1006961/go.mod h1:l8HTwL5fqnlns4jOveW1L75eo7R9KFHxiE0bsPGy428= k8s.io/utils v0.0.0-20230505201702-9f6742963106 h1:EObNQ3TW2D+WptiYXlApGNLVy0zm/JIBVY9i+M4wpAU= k8s.io/utils v0.0.0-20230505201702-9f6742963106/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -kcl-lang.io/kcl-artifact-go v0.5.0 h1:zaIUamQjdrW+imLZCnrl7g2QuhCNuYCCvoPFFkikgLM= -kcl-lang.io/kcl-artifact-go v0.5.0/go.mod h1:c07mqi9Hu2UjPW7lYfHhAAWOlZiB7lo7Vkr4jL5ov/M= -kcl-lang.io/kcl-go v0.5.0 h1:t9gBcUDQoEa894l0xZ7wKFoC4Nj3EOLvEb4mSiPN0EM= -kcl-lang.io/kcl-go v0.5.0/go.mod h1:gdDthKp2sx6LWfTuIcw50K1RTOQhzBtFGz6dMO7R25Q= -kcl-lang.io/kpm v0.3.0 h1:RE9jJsPYmCot6MzjdHXcB7dJQHXAHSEzxnBoGnXRhyM= -kcl-lang.io/kpm v0.3.0/go.mod h1:ObyRKH4lnRjWDZN/lkgvT6Zqu3GVvjNMY+78u2kkFtA= +kcl-lang.io/kcl-artifact-go v0.5.1 h1:1OIeb1xdq72XIvd9mftBvqFJbzbEkPjGtdeiQizUFj8= +kcl-lang.io/kcl-artifact-go v0.5.1/go.mod h1:c07mqi9Hu2UjPW7lYfHhAAWOlZiB7lo7Vkr4jL5ov/M= +kcl-lang.io/kcl-go v0.5.1 h1:o0Jz26yzOKvAX/2e4in34Eq+8jIU0cpFWOQ/u7eHqU4= +kcl-lang.io/kcl-go v0.5.1/go.mod h1:nAeJHccu0y61rMl6kQNGWxgefSr5wfBu+vTewjAXVLM= +kcl-lang.io/kpm v0.3.1 h1:BwOjn3oEUSA03oJra0CkT9jO3f8HrbZNYXzpvon/MT8= +kcl-lang.io/kpm v0.3.1/go.mod h1:ObyRKH4lnRjWDZN/lkgvT6Zqu3GVvjNMY+78u2kkFtA= oras.land/oras-go v1.2.3 h1:v8PJl+gEAntI1pJ/LCrDgsuk+1PKVavVEPsYIHFE5uY= oras.land/oras-go v1.2.3/go.mod h1:M/uaPdYklze0Vf3AakfarnpoEckvw0ESbRdN8Z1vdJg= oras.land/oras-go/v2 v2.0.2 h1:3aSQdJ7EUC0ft2e9PjJB9Jzastz5ojPA4LzZ3Q4YbUc= diff --git a/pkg/process/process_test.go b/pkg/process/process_test.go index 0ba8b57..f533509 100644 --- a/pkg/process/process_test.go +++ b/pkg/process/process_test.go @@ -14,7 +14,7 @@ items: - apiVersion: apps/v1 kind: Deployment spec: - replicas: "2" + replicas: '2' - kind: Service functionConfig: apiVersion: v1 @@ -22,7 +22,7 @@ functionConfig: metadata: name: set-replicas data: - replicas: "5" + replicas: '5' source: | resources = option("resource_list") setReplicas = lambda items, replicas { @@ -37,14 +37,14 @@ items: - apiVersion: apps/v1 kind: Deployment spec: - replicas: "5" + replicas: '5' functionConfig: apiVersion: v1 kind: ConfigMap metadata: name: set-replicas data: - replicas: "5" + replicas: '5' source: | resources = option("resource_list") setReplicas = lambda items, replicas {