Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package helm-docs for openSUSE:Factory checked in at 2024-07-11 20:33:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/helm-docs (Old) and /work/SRC/openSUSE:Factory/.helm-docs.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helm-docs" Thu Jul 11 20:33:04 2024 rev:9 rq:1186775 version:1.14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/helm-docs/helm-docs.changes 2024-03-17 22:16:50.946258216 +0100 +++ /work/SRC/openSUSE:Factory/.helm-docs.new.17339/helm-docs.changes 2024-07-11 20:33:45.198123484 +0200 @@ -1,0 +2,41 @@ +Thu Jul 11 07:44:40 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 1.14.2: + * Release v1.14.2 + * fix: Adds check for tag format to release script, also makes + release script error on improper tags + * chore(deps): bump helm.sh/helm/v3 from 3.15.1 to 3.15.2 + +------------------------------------------------------------------- +Thu Jul 11 07:43:11 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 1.14.1: + * Release 1.14.1 + * Update go.mod via 'go mod tidy' + * chore: generates documentation using new v1.14.0 + +------------------------------------------------------------------- +Thu Jul 11 07:13:34 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 1.14.0: + * Release 1.14.0 + * fix: Fixes goreleaser action by using new flag + * chore(deps): bump github.com/stretchr/testify from 1.8.3 to + 1.9.0 + * chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 + * chore(deps): bump goreleaser/goreleaser-action from 4 to 6 + * chore(deps): bump alpine from 3.19 to 3.20 + * chore(deps): bump docker/setup-buildx-action from 2 to 3 + * chore(deps): bump docker/setup-qemu-action from 2 to 3 + * chore(deps): bump crazy-max/ghaction-import-gpg from 5 to 6 + * Add dependabot + * Use helm v3 + * revert go.mod + * add toYaml example + * add example + * chore: set go version to 1.22.0 + * chore: renders example chart documentation using v1.13.1 + * add a flag to remove the version footer + * feat: add toYaml and fromYaml to functions map + +------------------------------------------------------------------- Old: ---- helm-docs-1.13.1.obscpio New: ---- helm-docs-1.14.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ helm-docs.spec ++++++ --- /var/tmp/diff_new_pack.Y0MoC7/_old 2024-07-11 20:33:45.734142865 +0200 +++ /var/tmp/diff_new_pack.Y0MoC7/_new 2024-07-11 20:33:45.734142865 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: helm-docs -Version: 1.13.1 +Version: 1.14.2 Release: 0 Summary: A tool for automatically generating markdown documentation for helm charts License: GPL-3.0-only ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Y0MoC7/_old 2024-07-11 20:33:45.766144021 +0200 +++ /var/tmp/diff_new_pack.Y0MoC7/_new 2024-07-11 20:33:45.770144165 +0200 @@ -3,11 +3,11 @@ <param name="url">https://github.com/norwoodj/helm-docs</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.13.1</param> + <param name="revision">v1.14.2</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="match-tag">v1.13.1</param> + <param name="match-tag">v1.14.2</param> </service> <service name="set_version" mode="manual"> <param name="basename">helm-docs</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Y0MoC7/_old 2024-07-11 20:33:45.790144889 +0200 +++ /var/tmp/diff_new_pack.Y0MoC7/_new 2024-07-11 20:33:45.794145033 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/norwoodj/helm-docs</param> - <param name="changesrevision">a66bb9c69c0bb38ff86ec7dccb1c11e7b70654c0</param></service></servicedata> + <param name="changesrevision">37d3055fece566105cf8cff7c17b7b2355a01677</param></service></servicedata> (No newline at EOF) ++++++ helm-docs-1.13.1.obscpio -> helm-docs-1.14.2.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/.github/dependabot.yml new/helm-docs-1.14.2/.github/dependabot.yml --- old/helm-docs-1.13.1/.github/dependabot.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/.github/dependabot.yml 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,16 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + + - package-ecosystem: gomod + directory: / + schedule: + interval: weekly + + - package-ecosystem: docker + directory: / + schedule: + interval: weekly diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/.github/workflows/build.yml new/helm-docs-1.14.2/.github/workflows/build.yml --- old/helm-docs-1.13.1/.github/workflows/build.yml 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/.github/workflows/build.yml 2024-07-08 12:13:38.000000000 +0200 @@ -16,16 +16,16 @@ DOCKER_CLI_EXPERIMENTAL: "enabled" steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: - args: release --snapshot --skip-sign + args: release --snapshot --skip=sign - if: always() run: rm -f ${HOME}/.docker/config.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/.github/workflows/release.yml new/helm-docs-1.14.2/.github/workflows/release.yml --- old/helm-docs-1.13.1/.github/workflows/release.yml 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/.github/workflows/release.yml 2024-07-08 12:13:38.000000000 +0200 @@ -3,7 +3,7 @@ on: push: tags: - - "*" + - "v*" jobs: release: @@ -12,9 +12,9 @@ DOCKER_CLI_EXPERIMENTAL: "enabled" steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: @@ -25,12 +25,12 @@ - name: Import GPG key if: ${{ !env.ACT }} id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.SIGNING_KEY }} - name: Release Helm-Docs if: ${{ !env.ACT }} - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: args: release env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/.goreleaser.yml new/helm-docs-1.14.2/.goreleaser.yml --- old/helm-docs-1.13.1/.goreleaser.yml 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/.goreleaser.yml 2024-07-08 12:13:38.000000000 +0200 @@ -1,3 +1,4 @@ +version: 2 project_name: helm-docs before: hooks: @@ -66,7 +67,7 @@ - repository: owner: norwoodj name: homebrew - folder: Formula + directory: Formula homepage: https://github.com/norwoodj/helm-docs description: Automatically generate markdown documentation for helm charts install: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/CHANGELOG.md new/helm-docs-1.14.2/CHANGELOG.md --- old/helm-docs-1.13.1/CHANGELOG.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/CHANGELOG.md 2024-07-08 12:13:38.000000000 +0200 @@ -1,3 +1,49 @@ +1.14.2 +- 2024-07-08 Release v1.14.2 +- 2024-07-08 fix: Adds check for tag format to release script, also makes release script error on improper tags +- 2024-07-08 Merge pull request #251 from norwoodj/dependabot/go_modules/helm.sh/helm/v3-3.15.2 +- 2024-07-08 chore(deps): bump helm.sh/helm/v3 from 3.15.1 to 3.15.2 + +1.14.1 +- 2024-07-08 Release 1.14.1 +- 2024-07-08 Merge pull request #248 from WePlan-Software/master +- 2024-07-08 Update go.mod via 'go mod tidy' +- 2024-07-06 chore: generates documentation using new v1.14.0 + +1.14.0 +- 2024-07-06 Release 1.14.0 +- 2024-07-06 Merge pull request #237 from norwoodj/dependabot/github_actions/docker/setup-qemu-action-3 +- 2024-07-06 chore(deps): bump docker/setup-qemu-action from 2 to 3 +- 2024-07-06 Merge pull request #236 from norwoodj/dependabot/github_actions/crazy-max/ghaction-import-gpg-6 +- 2024-07-06 chore(deps): bump crazy-max/ghaction-import-gpg from 5 to 6 +- 2024-07-06 Merge pull request #238 from norwoodj/dependabot/docker/alpine-3.20 +- 2024-07-06 chore(deps): bump alpine from 3.19 to 3.20 +- 2024-07-06 Merge pull request #239 from norwoodj/dependabot/github_actions/docker/setup-buildx-action-3 +- 2024-07-06 chore(deps): bump docker/setup-buildx-action from 2 to 3 +- 2024-07-06 Merge pull request #246 from norwoodj/jnorwood/fix-goreleaser +- 2024-07-06 fix: Fixes goreleaser action by using new flag +- 2024-07-06 Merge pull request #240 from norwoodj/dependabot/github_actions/goreleaser/goreleaser-action-6 +- 2024-07-06 chore(deps): bump goreleaser/goreleaser-action from 4 to 6 +- 2024-07-06 Merge pull request #220 from gbprz/skip-helm-version-footer +- 2024-02-27 add a flag to remove the version footer +- 2024-07-06 Merge pull request #230 from ebuildy/feat_yaml_functions +- 2024-05-11 revert go.mod +- 2024-05-11 add toYaml example +- 2024-05-11 add example +- 2024-07-06 Merge pull request #176 from jasondamour/master +- 2023-03-29 feat: add toYaml and fromYaml to functions map +- 2024-07-06 Merge pull request #243 from norwoodj/dependabot/go_modules/github.com/spf13/cobra-1.8.1 +- 2024-07-06 chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 +- 2024-07-06 Merge pull request #244 from norwoodj/dependabot/go_modules/github.com/stretchr/testify-1.9.0 +- 2024-07-06 chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.9.0 +- 2024-07-06 Merge pull request #232 from lucacome/helm3 +- 2024-05-30 Use helm v3 +- 2024-07-06 Merge pull request #233 from lucacome/dependabot +- 2024-05-30 Add dependabot +- 2024-05-12 Merge pull request #224 from ebuildy/fix_go_mod_version +- 2024-03-28 chore: set go version to 1.22.0 +- 2024-03-02 chore: renders example chart documentation using v1.13.1 + 1.13.1 - 2024-03-02 Release v1.13.1 - 2024-03-02 chore: updates golang.org/x/crypto to fix vulnerability diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/Dockerfile new/helm-docs-1.14.2/Dockerfile --- old/helm-docs-1.13.1/Dockerfile 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/Dockerfile 2024-07-08 12:13:38.000000000 +0200 @@ -1,4 +1,4 @@ -FROM alpine:3.19 +FROM alpine:3.20 COPY helm-docs /usr/bin/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/Makefile new/helm-docs-1.14.2/Makefile --- old/helm-docs-1.13.1/Makefile 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/Makefile 2024-07-08 12:13:38.000000000 +0200 @@ -18,4 +18,4 @@ .PHONY: dist dist: - goreleaser release --rm-dist --snapshot --skip-sign + goreleaser release --rm-dist --snapshot --skip=sign diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/cmd/helm-docs/command_line.go new/helm-docs-1.14.2/cmd/helm-docs/command_line.go --- old/helm-docs-1.13.1/cmd/helm-docs/command_line.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/cmd/helm-docs/command_line.go 2024-07-08 12:13:38.000000000 +0200 @@ -59,6 +59,7 @@ command.PersistentFlags().BoolP("documentation-strict-mode", "x", false, "Fail the generation of docs if there are undocumented values") command.PersistentFlags().StringSliceP("documentation-strict-ignore-absent", "y", []string{"service.type", "image.repository", "image.tag"}, "A comma separate values which are allowed not to be documented in strict mode") command.PersistentFlags().StringSliceP("documentation-strict-ignore-absent-regex", "z", []string{".*service\\.type", ".*image\\.repository", ".*image\\.tag"}, "A comma separate values which are allowed not to be documented in strict mode") + command.PersistentFlags().Bool("skip-version-footer", false, "if true the helm-docs version footer will not be shown in the default README template") viper.AutomaticEnv() viper.SetEnvPrefix("HELM_DOCS") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/cmd/helm-docs/main.go new/helm-docs-1.14.2/cmd/helm-docs/main.go --- old/helm-docs-1.13.1/cmd/helm-docs/main.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/cmd/helm-docs/main.go 2024-07-08 12:13:38.000000000 +0200 @@ -145,6 +145,7 @@ func writeDocumentation(chartSearchRoot string, documentationInfoByChartPath map[string]helm.ChartDocumentationInfo, dryRun bool, parallelism int) { templateFiles := viper.GetStringSlice("template-files") badgeStyle := viper.GetString("badge-style") + skipVersionFooter := viper.GetBool("skip-version-footer") log.Debugf("Rendering from optional template files [%s]", strings.Join(templateFiles, ", ")) @@ -162,7 +163,7 @@ return } } - document.PrintDocumentation(info, chartSearchRoot, templateFiles, dryRun, version, badgeStyle, dependencyValues) + document.PrintDocumentation(info, chartSearchRoot, templateFiles, dryRun, version, badgeStyle, dependencyValues, skipVersionFooter) }) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/cmd/helm-docs/main_test.go new/helm-docs-1.14.2/cmd/helm-docs/main_test.go --- old/helm-docs-1.13.1/cmd/helm-docs/main_test.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/cmd/helm-docs/main_test.go 2024-07-08 12:13:38.000000000 +0200 @@ -6,6 +6,7 @@ "io/fs" "os" "path/filepath" + "strings" "testing" "github.com/spf13/viper" @@ -148,3 +149,81 @@ return tmp } + +func TestSkipsVersionFooter(t *testing.T) { + // Ensure the skip-version-footer flag is true, meaning the README should not contain the footer. + if err := viper.BindFlagValues(testFlagSet{ + "chart-search-root": filepath.Join("testdata", "skip-version-footer"), + "template-files": "README.md.gotmpl", + "values-file": "values.yaml", + "output-file": "README.md", + "ignore-file": ".helmdocsignore", + "log-level": "warn", + "sort-values-order": document.AlphaNumSortOrder, + "document-dependency-values": true, + "skip-version-footer": true, + }); err != nil { + t.Fatal(err) + } + + // Clean up the generated README after testing. + readmePath := filepath.Join("testdata", "skip-version-footer", "README.md") + t.Cleanup(func() { + if err := os.Remove(readmePath); err != nil { + t.Fatal(err) + } + }) + + // Generate the README, setting the helm-docs version number. + version = "1.2.3" + helmDocs(nil, nil) + + // Confirm the helm-docs version is not present. + docBytes, err := os.ReadFile(readmePath) + if err != nil { + t.Fatal(err) + } + doc := string(docBytes) + if strings.Contains(doc, "Autogenerated from chart metadata using [helm-docs v1.2.3]") { + t.Errorf("generated documentation should not contain the helm-docs version footer, got %s", doc) + } +} + +func TestIncludesVersionFooter(t *testing.T) { + // Ensure the skip-version-footer flag is true, meaning the README must contain the footer. + if err := viper.BindFlagValues(testFlagSet{ + "chart-search-root": filepath.Join("testdata", "skip-version-footer"), + "template-files": "README.md.gotmpl", + "values-file": "values.yaml", + "output-file": "README.md", + "ignore-file": ".helmdocsignore", + "log-level": "warn", + "sort-values-order": document.AlphaNumSortOrder, + "document-dependency-values": true, + "skip-version-footer": false, + }); err != nil { + t.Fatal(err) + } + + // Clean up the generated README after testing. + readmePath := filepath.Join("testdata", "skip-version-footer", "README.md") + t.Cleanup(func() { + if err := os.Remove(readmePath); err != nil { + t.Fatal(err) + } + }) + + // Generate the README, setting the helm-docs version number. + version = "1.2.3" + helmDocs(nil, nil) + + // Confirm the helm-docs version is present + docBytes, err := os.ReadFile(readmePath) + if err != nil { + t.Fatal(err) + } + doc := string(docBytes) + if !strings.Contains(doc, "Autogenerated from chart metadata using [helm-docs v1.2.3]") { + t.Errorf("generated documentation must contain the helm-docs version footer, got %s", doc) + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/cmd/helm-docs/testdata/skip-version-footer/Chart.yaml new/helm-docs-1.14.2/cmd/helm-docs/testdata/skip-version-footer/Chart.yaml --- old/helm-docs-1.13.1/cmd/helm-docs/testdata/skip-version-footer/Chart.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/cmd/helm-docs/testdata/skip-version-footer/Chart.yaml 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,4 @@ +apiVersion: v2 +name: skip-version-footer +description: unit test for skipping the version footer +version: "0.1.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/cmd/helm-docs/testdata/skip-version-footer/values.yaml new/helm-docs-1.14.2/cmd/helm-docs/testdata/skip-version-footer/values.yaml --- old/helm-docs-1.13.1/cmd/helm-docs/testdata/skip-version-footer/values.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/cmd/helm-docs/testdata/skip-version-footer/values.yaml 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,4 @@ +config: + databasesToCreate: + # -- default database for storage of database metadata + - postgresql diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/best-values-example/README.md new/helm-docs-1.14.2/example-charts/best-values-example/README.md --- old/helm-docs-1.13.1/example-charts/best-values-example/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/best-values-example/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -31,4 +31,4 @@ | statefulset.podLabels | object | `{}` | The labels to be applied to instances of the database | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/custom-template/README.md new/helm-docs-1.14.2/example-charts/custom-template/README.md --- old/helm-docs-1.13.1/example-charts/custom-template/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/custom-template/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -59,4 +59,4 @@ | controller.service.type | string | `"LoadBalancer"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/custom-value-notation-type/README.md new/helm-docs-1.14.2/example-charts/custom-value-notation-type/README.md --- old/helm-docs-1.13.1/example-charts/custom-value-notation-type/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/custom-value-notation-type/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -1105,4 +1105,4 @@ </table> ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/dos-line-endings/README.md new/helm-docs-1.14.2/example-charts/dos-line-endings/README.md --- old/helm-docs-1.13.1/example-charts/dos-line-endings/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/dos-line-endings/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -14,4 +14,4 @@ | livenessProbe.httpGet.port | string | `"http"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/files-values/README.md new/helm-docs-1.14.2/example-charts/files-values/README.md --- old/helm-docs-1.13.1/example-charts/files-values/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/files-values/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -68,4 +68,4 @@ | statefulset.podLabels | object | `{}` | The labels to be applied to instances of the database | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/full-template/README.md new/helm-docs-1.14.2/example-charts/full-template/README.md --- old/helm-docs-1.13.1/example-charts/full-template/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/full-template/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -163,4 +163,4 @@ | controller.service.type | string | `"LoadBalancer"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/fully-documented/README.md new/helm-docs-1.14.2/example-charts/fully-documented/README.md --- old/helm-docs-1.13.1/example-charts/fully-documented/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/fully-documented/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -33,4 +33,4 @@ | controller.name | string | `"controller"` | The name of the controller | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/funky-version/README.md new/helm-docs-1.14.2/example-charts/funky-version/README.md --- old/helm-docs-1.13.1/example-charts/funky-version/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/funky-version/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -17,4 +17,4 @@ * <https://github.com/norwoodj/helm-docs/tree/master/example-charts/funky-version> ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/helm-3/README.md new/helm-docs-1.14.2/example-charts/helm-3/README.md --- old/helm-docs-1.13.1/example-charts/helm-3/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/helm-3/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -41,4 +41,4 @@ | controller.service.type | string | `"LoadBalancer"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/ignored-values-example/README.md new/helm-docs-1.14.2/example-charts/ignored-values-example/README.md --- old/helm-docs-1.13.1/example-charts/ignored-values-example/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/ignored-values-example/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -32,4 +32,4 @@ | statefulset.podLabels | object | `{}` | The labels to be applied to instances of the database | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/most-empty/README.md new/helm-docs-1.14.2/example-charts/most-empty/README.md --- old/helm-docs-1.13.1/example-charts/most-empty/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/most-empty/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -21,4 +21,4 @@ ``` ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/nginx-ingress/README.md new/helm-docs-1.14.2/example-charts/nginx-ingress/README.md --- old/helm-docs-1.13.1/example-charts/nginx-ingress/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/nginx-ingress/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -41,4 +41,4 @@ | controller.service.type | string | `"LoadBalancer"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/nginx-ingress-but-auto-comments/README.md new/helm-docs-1.14.2/example-charts/nginx-ingress-but-auto-comments/README.md --- old/helm-docs-1.13.1/example-charts/nginx-ingress-but-auto-comments/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/nginx-ingress-but-auto-comments/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -41,4 +41,4 @@ | controller.service.type | string | `"LoadBalancer"` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/no-requirements/README.md new/helm-docs-1.14.2/example-charts/no-requirements/README.md --- old/helm-docs-1.13.1/example-charts/no-requirements/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/no-requirements/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -26,4 +26,4 @@ | rules.statusCodes.codes.5xx.threshold | float | `1.5` | Threshold percentage of 5xx responses above which the alert will fire | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/no-values/README.md new/helm-docs-1.14.2/example-charts/no-values/README.md --- old/helm-docs-1.13.1/example-charts/no-values/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/no-values/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -17,4 +17,4 @@ * <https://github.com/norwoodj/helm-docs/tree/master/example-charts/no-values> ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/special-characters/README.md new/helm-docs-1.14.2/example-charts/special-characters/README.md --- old/helm-docs-1.13.1/example-charts/special-characters/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/special-characters/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -27,4 +27,4 @@ | htmlSnippets.two | string | `""` | Let's put it in the description <html></html> | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/special-characters-but-auto-comments/README.md new/helm-docs-1.14.2/example-charts/special-characters-but-auto-comments/README.md --- old/helm-docs-1.13.1/example-charts/special-characters-but-auto-comments/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/special-characters-but-auto-comments/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -27,4 +27,4 @@ | htmlSnippets.two | string | `""` | Let's put it in the description <html></html> | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/umbrella/README.md new/helm-docs-1.14.2/example-charts/umbrella/README.md --- old/helm-docs-1.13.1/example-charts/umbrella/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/umbrella/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -25,4 +25,4 @@ | sub-b.mySubKeyB | string | `"my-sub-value-b"` | Value for sub-chart B | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/umbrella/charts/sub-a/README.md new/helm-docs-1.14.2/example-charts/umbrella/charts/sub-a/README.md --- old/helm-docs-1.13.1/example-charts/umbrella/charts/sub-a/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/umbrella/charts/sub-a/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -19,4 +19,4 @@ | mySubKeyA | string | `"my-sub-value-a"` | Value for sub-chart A | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/umbrella/charts/sub-b/README.md new/helm-docs-1.14.2/example-charts/umbrella/charts/sub-b/README.md --- old/helm-docs-1.13.1/example-charts/umbrella/charts/sub-b/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/umbrella/charts/sub-b/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -18,4 +18,4 @@ | mySubKeyB | string | `"my-sub-value-b"` | Value for sub-chart B | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/umbrella/charts/sub-c/README.md new/helm-docs-1.14.2/example-charts/umbrella/charts/sub-c/README.md --- old/helm-docs-1.13.1/example-charts/umbrella/charts/sub-c/README.md 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/umbrella/charts/sub-c/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -17,4 +17,4 @@ | global | object | `{}` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/use-yaml-file/Chart.yaml new/helm-docs-1.14.2/example-charts/use-yaml-file/Chart.yaml --- old/helm-docs-1.13.1/example-charts/use-yaml-file/Chart.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/use-yaml-file/Chart.yaml 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,10 @@ +apiVersion: v1 +name: no-values +description: A very simple chart that doesn't even need any values for customization +version: "0.2.0" +home: "https://github.com/norwoodj/helm-docs/tree/master/example-charts/no-values" +sources: ["https://github.com/norwoodj/helm-docs/tree/master/example-charts/no-values"] +engine: gotpl +maintainers: + - email: norwood.joh...@gmail.com + name: John Norwood diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/use-yaml-file/README.md new/helm-docs-1.14.2/example-charts/use-yaml-file/README.md --- old/helm-docs-1.13.1/example-charts/use-yaml-file/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/use-yaml-file/README.md 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,48 @@ +# no-values + +A very simple chart that doesn't even need any values for customization + + + +## Additional Information + +### Snapshot classes + +| name | resource group | incremental | +|----------|----------------|-------------| +| azure-incr | true | | +| azure | false | | +| local-incr | true | | +| local | false | | +| mask-data-incr | true | rg-mask-data | +| mask-data | false | rg-mask-data | + +### Default resources + +```yaml +requests: + cpu: 10m + memory: 100m +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +$ helm repo add foo-bar http://charts.foo-bar.com +$ helm install my-release foo-bar/no-values +``` + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| resources.requests.cpu | string | `"10m"` | | +| resources.requests.memory | string | `"100m"` | | +| volumeSnapshotClass.azure.parameters | object | `{}` | | +| volumeSnapshotClass.local.parameters | object | `{}` | | +| volumeSnapshotClass.mask-data.parameters.resourceGroup | string | `"rg-mask-data"` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/use-yaml-file/README.md.gotmpl new/helm-docs-1.14.2/example-charts/use-yaml-file/README.md.gotmpl --- old/helm-docs-1.13.1/example-charts/use-yaml-file/README.md.gotmpl 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/use-yaml-file/README.md.gotmpl 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,39 @@ +{{ template "chart.header" . }} +{{ template "chart.description" . }} + +{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} + +## Additional Information + +{{ $values := (.Files.Get "values.yaml") | fromYaml }} + +### Snapshot classes + +| name | resource group | incremental | +|----------|----------------|-------------| +{{- range $name, $spec := $values.volumeSnapshotClass }} +{{- range $parameterIncr := list "true" "false" }} +| {{ $name }}{{- if eq $parameterIncr "true" -}}-incr{{- end }} | {{ $parameterIncr }} | {{ $spec.parameters.resourceGroup | default "" }} | +{{- end }} +{{- end }} + +### Default resources + +```yaml +{{ $values.resources | toYaml }} +``` + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +$ helm repo add foo-bar http://charts.foo-bar.com +$ helm install my-release foo-bar/{{ template "chart.name" . }} +``` + +{{ template "chart.requirementsSection" . }} + +{{ template "chart.valuesSection" . }} + +{{ template "helm-docs.versionFooter" . }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/example-charts/use-yaml-file/values.yaml new/helm-docs-1.14.2/example-charts/use-yaml-file/values.yaml --- old/helm-docs-1.13.1/example-charts/use-yaml-file/values.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/example-charts/use-yaml-file/values.yaml 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,15 @@ +volumeSnapshotClass: + azure: + parameters: {} + + local: + parameters: {} + + mask-data: + parameters: + resourceGroup: rg-mask-data + +resources: + requests: + cpu: 10m + memory: 100m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/go.mod new/helm-docs-1.14.2/go.mod --- old/helm-docs-1.13.1/go.mod 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/go.mod 2024-07-08 12:13:38.000000000 +0200 @@ -1,43 +1,45 @@ module github.com/norwoodj/helm-docs -go 1.22 +go 1.22.0 + +toolchain go1.22.1 require ( - github.com/Masterminds/sprig/v3 v3.2.2 + github.com/Masterminds/sprig/v3 v3.2.3 github.com/gobwas/glob v0.2.3 - github.com/sirupsen/logrus v1.6.0 - github.com/spf13/cobra v1.7.0 + github.com/sirupsen/logrus v1.9.3 + github.com/spf13/cobra v1.8.1 github.com/spf13/viper v1.16.0 - github.com/stretchr/testify v1.8.3 + github.com/stretchr/testify v1.9.0 gopkg.in/yaml.v3 v3.0.1 - k8s.io/helm v2.14.3+incompatible + helm.sh/helm/v3 v3.15.2 ) require ( github.com/Masterminds/goutils v1.1.1 // indirect - github.com/Masterminds/semver/v3 v3.1.1 // indirect + github.com/Masterminds/semver/v3 v3.2.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/google/uuid v1.1.2 // indirect + github.com/google/uuid v1.3.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/huandu/xstrings v1.3.1 // indirect - github.com/imdario/mergo v0.3.11 // indirect + github.com/huandu/xstrings v1.4.0 // indirect + github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect github.com/magiconair/properties v1.8.7 // indirect - github.com/mitchellh/copystructure v1.0.0 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/mitchellh/reflectwalk v1.0.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/pelletier/go-toml/v2 v2.0.8 // indirect + github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/shopspring/decimal v1.2.0 // indirect + github.com/shopspring/decimal v1.3.1 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.1 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/subosito/gotenv v1.4.2 // indirect - golang.org/x/crypto v0.20.0 // indirect - golang.org/x/sys v0.17.0 // indirect + golang.org/x/crypto v0.21.0 // indirect + golang.org/x/sys v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/go.sum new/helm-docs-1.14.2/go.sum --- old/helm-docs-1.13.1/go.sum 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/go.sum 2024-07-08 12:13:38.000000000 +0200 @@ -40,10 +40,11 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= -github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= +github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= +github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= +github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= +github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= +github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= @@ -52,7 +53,7 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -107,8 +108,8 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -124,8 +125,9 @@ github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= @@ -133,19 +135,19 @@ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/huandu/xstrings v1.3.1 h1:4jgBlKK6tLKFvO8u5pmYjG91cqytmDCDvGh7ECVFfFs= -github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= +github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.11 h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -156,14 +158,17 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= -github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= +github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -173,17 +178,18 @@ github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= +github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= +github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= @@ -199,14 +205,16 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -217,12 +225,13 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.20.0 h1:jmAMJJZXr5KiCw05dfYK9QnqaqKLYXijU23lsEdcQqg= -golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= +golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -256,6 +265,7 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -288,6 +298,8 @@ golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -307,11 +319,11 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -343,10 +355,16 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -355,6 +373,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -407,6 +426,7 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -506,11 +526,13 @@ gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +helm.sh/helm/v3 v3.15.2 h1:/3XINUFinJOBjQplGnjw92eLGpgXXp1L8chWPkCkDuw= +helm.sh/helm/v3 v3.15.2/go.mod h1:FzSIP8jDQaa6WAVg9F+OkKz7J0ZmAga4MABtTbsb9WQ= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -518,8 +540,6 @@ honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/helm v2.14.3+incompatible h1:uzotTcZXa/b2SWVoUzM1xiCXVjI38TuxMujS/1s+3Gw= -k8s.io/helm v2.14.3+incompatible/go.mod h1:LZzlS4LQBHfciFOurYBFkCMTaZ0D1l+p0teMg7TSULI= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/pkg/document/generate.go new/helm-docs-1.14.2/pkg/document/generate.go --- old/helm-docs-1.13.1/pkg/document/generate.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/pkg/document/generate.go 2024-07-08 12:13:38.000000000 +0200 @@ -26,7 +26,7 @@ return f, err } -func PrintDocumentation(chartDocumentationInfo helm.ChartDocumentationInfo, chartSearchRoot string, templateFiles []string, dryRun bool, helmDocsVersion string, badgeStyle string, dependencyValues []DependencyValues) { +func PrintDocumentation(chartDocumentationInfo helm.ChartDocumentationInfo, chartSearchRoot string, templateFiles []string, dryRun bool, helmDocsVersion string, badgeStyle string, dependencyValues []DependencyValues, skipVersionFooter bool) { log.Infof("Generating README Documentation for chart %s", chartDocumentationInfo.ChartDirectory) chartDocumentationTemplate, err := newChartDocumentationTemplate( @@ -41,7 +41,7 @@ return } - chartTemplateDataObject, err := getChartTemplateData(chartDocumentationInfo, helmDocsVersion, dependencyValues) + chartTemplateDataObject, err := getChartTemplateData(chartDocumentationInfo, helmDocsVersion, dependencyValues, skipVersionFooter) if err != nil { log.Warnf("Error generating template data for chart %s: %s", chartDocumentationInfo.ChartDirectory, err) return diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/pkg/document/model.go new/helm-docs-1.14.2/pkg/document/model.go --- old/helm-docs-1.13.1/pkg/document/model.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/pkg/document/model.go 2024-07-08 12:13:38.000000000 +0200 @@ -29,10 +29,11 @@ type chartTemplateData struct { helm.ChartDocumentationInfo - HelmDocsVersion string - Values []valueRow - Sections sections - Files files + HelmDocsVersion string + Values []valueRow + Sections sections + Files files + SkipVersionFooter bool } type sections struct { @@ -156,7 +157,7 @@ return valueRowsSectionSorted } -func getChartTemplateData(info helm.ChartDocumentationInfo, helmDocsVersion string, dependencyValues []DependencyValues) (chartTemplateData, error) { +func getChartTemplateData(info helm.ChartDocumentationInfo, helmDocsVersion string, dependencyValues []DependencyValues, skipVersionFooter bool) (chartTemplateData, error) { valuesTableRows, err := getUnsortedValueRows(info.ChartValues, info.ChartValuesDescriptions) if err != nil { return chartTemplateData{}, err @@ -213,6 +214,7 @@ Values: valuesTableRows, Sections: valueRowsSectionSorted, Files: files, + SkipVersionFooter: skipVersionFooter, }, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/pkg/document/template.go new/helm-docs-1.14.2/pkg/document/template.go --- old/helm-docs-1.13.1/pkg/document/template.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/pkg/document/template.go 2024-07-08 12:13:38.000000000 +0200 @@ -10,7 +10,6 @@ "github.com/norwoodj/helm-docs/pkg/util" - "github.com/Masterminds/sprig/v3" log "github.com/sirupsen/logrus" "github.com/norwoodj/helm-docs/pkg/helm" @@ -33,7 +32,9 @@ {{ template "chart.valuesSection" . }} +{{- if not .SkipVersionFooter }} {{ template "helm-docs.versionFooter" . }} +{{- end }} ` func getNameTemplate() string { @@ -427,7 +428,7 @@ func newChartDocumentationTemplate(chartDocumentationInfo helm.ChartDocumentationInfo, chartSearchRoot string, templateFiles []string, badgeStyle string) (*template.Template, error) { documentationTemplate := template.New(chartDocumentationInfo.ChartDirectory) - documentationTemplate.Funcs(sprig.TxtFuncMap()) + documentationTemplate.Funcs(util.FuncMap()) goTemplateList, err := getDocumentationTemplates(chartDocumentationInfo.ChartDirectory, chartSearchRoot, templateFiles, badgeStyle) if err != nil { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/pkg/util/funcs.go new/helm-docs-1.14.2/pkg/util/funcs.go --- old/helm-docs-1.13.1/pkg/util/funcs.go 1970-01-01 01:00:00.000000000 +0100 +++ new/helm-docs-1.14.2/pkg/util/funcs.go 2024-07-08 12:13:38.000000000 +0200 @@ -0,0 +1,44 @@ +package util + +import ( + "strings" + "text/template" + + "github.com/Masterminds/sprig/v3" + "gopkg.in/yaml.v3" +) + +func FuncMap() template.FuncMap { + f := sprig.TxtFuncMap() + f["toYaml"] = toYAML + f["fromYaml"] = fromYAML + return f +} + +// toYAML takes an interface, marshals it to yaml, and returns a string. It will +// always return a string, even on marshal error (empty string). +// +// This is designed to be called from a template. +func toYAML(v interface{}) string { + data, err := yaml.Marshal(v) + if err != nil { + // Swallow errors inside of a template. + return "" + } + return strings.TrimSuffix(string(data), "\n") +} + +// fromYAML converts a YAML document into a map[string]interface{}. +// +// This is not a general-purpose YAML parser, and will not parse all valid +// YAML documents. Additionally, because its intended use is within templates +// it tolerates errors. It will insert the returned error message string into +// m["Error"] in the returned map. +func fromYAML(str string) map[string]interface{} { + m := map[string]interface{}{} + + if err := yaml.Unmarshal([]byte(str), &m); err != nil { + m["Error"] = err.Error() + } + return m +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/pkg/util/ignore.go new/helm-docs-1.14.2/pkg/util/ignore.go --- old/helm-docs-1.13.1/pkg/util/ignore.go 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/pkg/util/ignore.go 2024-07-08 12:13:38.000000000 +0200 @@ -7,7 +7,7 @@ "path/filepath" log "github.com/sirupsen/logrus" - "k8s.io/helm/pkg/ignore" + "helm.sh/helm/v3/pkg/ignore" ) var defaultIgnore = map[string]bool{ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helm-docs-1.13.1/release.sh new/helm-docs-1.14.2/release.sh --- old/helm-docs-1.13.1/release.sh 2024-03-02 15:12:58.000000000 +0100 +++ new/helm-docs-1.14.2/release.sh 2024-07-08 12:13:38.000000000 +0200 @@ -8,6 +8,11 @@ exit 1 fi + if ! [[ "${release_version}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + echo "Release version must be of the form 'v1.2.3'" + exit 1 + fi + git commit -am "Release ${release_version}" --allow-empty git cliff --tag "${release_version}" -o git commit --amend -a ++++++ helm-docs.obsinfo ++++++ --- /var/tmp/diff_new_pack.Y0MoC7/_old 2024-07-11 20:33:46.006152698 +0200 +++ /var/tmp/diff_new_pack.Y0MoC7/_new 2024-07-11 20:33:46.006152698 +0200 @@ -1,5 +1,5 @@ name: helm-docs -version: 1.13.1 -mtime: 1709388778 -commit: a66bb9c69c0bb38ff86ec7dccb1c11e7b70654c0 +version: 1.14.2 +mtime: 1720433618 +commit: 37d3055fece566105cf8cff7c17b7b2355a01677 ++++++ vendor.tar.gz ++++++ ++++ 9784 lines of diff (skipped)