Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package helmify for openSUSE:Factory checked in at 2024-04-21 20:26:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/helmify (Old) and /work/SRC/openSUSE:Factory/.helmify.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helmify" Sun Apr 21 20:26:51 2024 rev:18 rq:1169344 version:0.4.12 Changes: -------- --- /work/SRC/openSUSE:Factory/helmify/helmify.changes 2024-02-16 21:42:13.749426421 +0100 +++ /work/SRC/openSUSE:Factory/.helmify.new.26366/helmify.changes 2024-04-21 20:28:09.627857386 +0200 @@ -1,0 +2,8 @@ +Sat Apr 20 11:35:11 UTC 2024 - [email protected] + +- Update to version 0.4.12: + * Add the -original-name flag description to README.md + * Syntax error correction + * Add original-name flags for remaining original resource name + +------------------------------------------------------------------- Old: ---- helmify-0.4.11.obscpio New: ---- helmify-0.4.12.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ helmify.spec ++++++ --- /var/tmp/diff_new_pack.OsxAIe/_old 2024-04-21 20:28:13.395995649 +0200 +++ /var/tmp/diff_new_pack.OsxAIe/_new 2024-04-21 20:28:13.399995796 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: helmify -Version: 0.4.11 +Version: 0.4.12 Release: 0 Summary: Creates Helm chart from Kubernetes yaml License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.OsxAIe/_old 2024-04-21 20:28:13.427996823 +0200 +++ /var/tmp/diff_new_pack.OsxAIe/_new 2024-04-21 20:28:13.431996970 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/arttor/helmify/</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.4.11</param> + <param name="revision">v0.4.12</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.OsxAIe/_old 2024-04-21 20:28:13.447997557 +0200 +++ /var/tmp/diff_new_pack.OsxAIe/_new 2024-04-21 20:28:13.451997704 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/arttor/helmify/</param> - <param name="changesrevision">2e9539cb5dfaf33b8c9741c1fd5deddc83e9db41</param></service></servicedata> + <param name="changesrevision">1a32d2058e682dc9a2486615c5a6b5ebf71bab05</param></service></servicedata> (No newline at EOF) ++++++ helmify-0.4.11.obscpio -> helmify-0.4.12.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmify-0.4.11/README.md new/helmify-0.4.12/README.md --- old/helmify-0.4.11/README.md 2024-02-16 07:56:14.000000000 +0100 +++ new/helmify-0.4.12/README.md 2024-04-20 11:33:45.000000000 +0200 @@ -107,8 +107,9 @@ | -version | Print helmify version. | `helmify -version` | | -crd-dir | Place crds in their own folder per Helm 3 [docs](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-1-let-helm-do-it-for-you). Caveat: CRDs templating is not supported by Helm. | `helmify -crd-dir` | | -image-pull-secrets | Allows the user to use existing secrets as imagePullSecrets | `helmify -image-pull-secrets` | +| -original-name | Use the object's original name instead of adding the chart's release name as the common prefix. | `helmify -original-name` | | -cert-manager-as-subchart | Allows the user to install cert-manager as a subchart | `helmify -cert-manager-as-subchart` | -| -cert-manager-version | Allows the user to specify cert-manager subchart version. Only useful with cert-manager-as-subchart. (default "v1.12.2") | `helmify -cert-manager-as-subchart` | +| -cert-manager-version | Allows the user to specify cert-manager subchart version. Only useful with cert-manager-as-subchart. (default "v1.12.2") | `helmify -cert-manager-as-subchart` | ## Status Supported k8s resources: - Deployment, DaemonSet, StatefulSet diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmify-0.4.11/cmd/helmify/flags.go new/helmify-0.4.12/cmd/helmify/flags.go --- old/helmify-0.4.11/cmd/helmify/flags.go 2024-02-16 07:56:14.000000000 +0100 +++ new/helmify-0.4.12/cmd/helmify/flags.go 2024-04-20 11:33:45.000000000 +0200 @@ -62,10 +62,11 @@ flag.BoolVar(&result.VeryVerbose, "vv", false, "Enable very verbose output. Same as verbose but with DEBUG. Example: helmify -vv") flag.BoolVar(&crd, "crd-dir", false, "Enable crd install into 'crds' directory.\nWarning: CRDs placed in 'crds' directory will not be templated by Helm.\nSee https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations\nExample: helmify -crd-dir") flag.BoolVar(&result.ImagePullSecrets, "image-pull-secrets", false, "Allows the user to use existing secrets as imagePullSecrets in values.yaml") - flag.BoolVar(&result.GenerateDefaults, "generate-defaults", false, "Allows the user to add empty placeholders for tipical customization options in values.yaml. Currently covers: topology constraints, node selectors, tolerances") + flag.BoolVar(&result.GenerateDefaults, "generate-defaults", false, "Allows the user to add empty placeholders for typical customization options in values.yaml. Currently covers: topology constraints, node selectors, tolerances") flag.BoolVar(&result.CertManagerAsSubchart, "cert-manager-as-subchart", false, "Allows the user to add cert-manager as a subchart") flag.StringVar(&result.CertManagerVersion, "cert-manager-version", "v1.12.2", "Allows the user to specify cert-manager subchart version. Only useful with cert-manager-as-subchart.") flag.BoolVar(&result.FilesRecursively, "r", false, "Scan dirs from -f option recursively") + flag.BoolVar(&result.OriginalName, "original-name", false, "Use the object's original name instead of adding the chart's release name as the common prefix.") flag.Var(&files, "f", "File or directory containing k8s manifests") flag.Parse() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmify-0.4.11/pkg/config/config.go new/helmify-0.4.12/pkg/config/config.go --- old/helmify-0.4.11/pkg/config/config.go 2024-02-16 07:56:14.000000000 +0100 +++ new/helmify-0.4.12/pkg/config/config.go 2024-04-20 11:33:45.000000000 +0200 @@ -34,6 +34,8 @@ Files []string // FilesRecursively read Files recursively FilesRecursively bool + // OriginalName retains Kubernetes resource's original name + OriginalName bool } func (c *Config) Validate() error { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/helmify-0.4.11/pkg/metadata/metadata.go new/helmify-0.4.12/pkg/metadata/metadata.go --- old/helmify-0.4.11/pkg/metadata/metadata.go 2024-02-16 07:56:14.000000000 +0100 +++ new/helmify-0.4.12/pkg/metadata/metadata.go 2024-04-20 11:33:45.000000000 +0200 @@ -82,6 +82,9 @@ // TemplatedName - converts object name to its Helm templated representation. // Adds chart fullname prefix from _helpers.tpl func (a *Service) TemplatedName(name string) string { + if a.conf.OriginalName { + return name + } _, contains := a.names[name] if !contains { // template only app objects ++++++ helmify.obsinfo ++++++ --- /var/tmp/diff_new_pack.OsxAIe/_old 2024-04-21 20:28:13.580002400 +0200 +++ /var/tmp/diff_new_pack.OsxAIe/_new 2024-04-21 20:28:13.584002547 +0200 @@ -1,5 +1,5 @@ name: helmify -version: 0.4.11 -mtime: 1708066574 -commit: 2e9539cb5dfaf33b8c9741c1fd5deddc83e9db41 +version: 0.4.12 +mtime: 1713605625 +commit: 1a32d2058e682dc9a2486615c5a6b5ebf71bab05 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/helmify/vendor.tar.gz /work/SRC/openSUSE:Factory/.helmify.new.26366/vendor.tar.gz differ: char 5, line 1
