cybozu-go / accurate

Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
https://cybozu-go.github.io/accurate/
Apache License 2.0
38 stars 5 forks source link

Fix ct lint error #18

Closed bells17 closed 2 years ago

bells17 commented 2 years ago

11

Workaround for ct lint --config ct.yaml error.

steps to reproduce:

  1. Change version value to version: 0.1.1 in Chart.yaml

  2. Run ct lint

$ docker run -it -v $(pwd):/app quay.io/helmpack/chart-testing
/ # cd app
/app # ct lint --config ct.yaml
Linting charts...

------------------------------------------------------------------------------------------------------------------------
 Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
 accurate => (version: "0.1.1", path: "charts/accurate")
------------------------------------------------------------------------------------------------------------------------

Linting chart 'accurate => (version: "0.1.1", path: "charts/accurate")'
Checking chart 'accurate => (version: "0.1.1", path: "charts/accurate")' for a version bump...
Old chart version: 0.1.0
New chart version: 0.1.1
Chart version ok.
Validating /app/charts/accurate/Chart.yaml...
Validation success! 👍
==> Linting charts/accurate
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: parse error at (accurate/templates/generated/generated.yaml:238): unexpected unclosed action in template clause

Error: 1 chart(s) linted, 1 chart(s) failed
------------------------------------------------------------------------------------------------------------------------
 ✖︎ accurate => (version: "0.1.1", path: "charts/accurate") > Error waiting for process: exit status 1
------------------------------------------------------------------------------------------------------------------------
Error: Error linting charts: Error processing charts
Error linting charts: Error processing charts