Title: Juice Shop Helm Chart deployment fails when ingress is enabled · Issue #735 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Juice Shop Helm Chart deployment fails when ingress is enabled · Issue #735 · secureCodeBox/secureCodeBox
X Title: Juice Shop Helm Chart deployment fails when ingress is enabled · Issue #735 · secureCodeBox/secureCodeBox
Description: 🐞 Bug report Describe the bug Helm Chart deployment fails when the ingress is enabled from the values.yaml Steps To Reproduce $ /usr/local/bin/helm repo add securecodebox https://charts.securecodebox.io/ "securecodebox" already exists wi...
Open Graph Description: 🐞 Bug report Describe the bug Helm Chart deployment fails when the ingress is enabled from the values.yaml Steps To Reproduce $ /usr/local/bin/helm repo add securecodebox https://charts.securecodeb...
X Description: 🐞 Bug report Describe the bug Helm Chart deployment fails when the ingress is enabled from the values.yaml Steps To Reproduce $ /usr/local/bin/helm repo add securecodebox https://charts.securecodeb...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/735
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Juice Shop Helm Chart deployment fails when ingress is enabled","articleBody":"## 🐞 Bug report\r\n\u003c!--\r\nThank you for reporting an issue in our project 🙌\r\n\r\nBefore opening a new issue, please make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.\r\n--\u003e\r\n\r\n### Describe the bug\r\nHelm Chart deployment fails when the ingress is enabled from the values.yaml\r\n\r\n### Steps To Reproduce\r\n```bash\r\n$ /usr/local/bin/helm repo add securecodebox https://charts.securecodebox.io/\r\n\"securecodebox\" already exists with the same configuration, skipping\r\n```\r\n```bash\r\n$ /usr/local/bin/helm repo update \r\nHang tight while we grab the latest from your chart repositories...\r\n...Successfully got an update from the \"securecodebox\" chart repository\r\nUpdate Complete. ⎈Happy Helming!⎈\r\n```\r\n\r\n```bash\r\necho \"\r\ningress:\r\n enabled: \\\"true\\\"\r\n \" \u003e values.yaml\r\n```\r\n\r\n```bash\r\n$ /usr/local/bin/helm upgrade --install my-juice-shop securecodebox/juice-shop -f values.yaml --version 3.1.1 --dry-run --debug\r\n```\r\n\r\n### Expected behavior\r\nHelm3 Deployment should work\r\n\r\n### System (please complete the following information):\r\n - secureCodeBox Version/Release v12.7.0\r\n - Helm Chart Version 3.1.1\r\n - Kubernetes Version \r\n```\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"17\", GitVersion:\"v1.17.3\", GitCommit:\"06ad960bfd03b39c8310aaf92d1e7c12ce618213\", GitTreeState:\"clean\", BuildDate:\"2020-02-11T18:14:22Z\", GoVersion:\"go1.13.6\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"17\", GitVersion:\"v1.17.3\", GitCommit:\"06ad960bfd03b39c8310aaf92d1e7c12ce618213\", GitTreeState:\"clean\", BuildDate:\"2020-02-11T18:07:13Z\", GoVersion:\"go1.13.6\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n - Helm Version\r\n```\r\n$ /usr/local/bin/helm versionversion.BuildInfo{Version:\"v3.7.1\", GitCommit:\"1d11fcb5d3f3bf00dbe6fe31b8412839a96b3dc4\", GitTreeState:\"clean\", GoVersion:\"go1.16.9\"}\r\n```\r\n--\u003e\r\n\r\n### Screenshots / Logs\r\n```\r\nhistory.go:56: [debug] getting history for release my-juice-shop\r\nRelease \"my-juice-shop\" does not exist. Installing it now.\r\ninstall.go:178: [debug] Original chart version: \"3.1.1\"\r\ninstall.go:199: [debug] CHART PATH: /root/.cache/helm/repository/juice-shop-3.1.1.tgz\r\n\r\nError: unable to build kubernetes objects from release manifest: error validating \"\": error validating data: apiVersion not set\r\nhelm.go:88: [debug] error validating \"\": error validating data: apiVersion not set\r\nhelm.sh/helm/v3/pkg/kube.scrubValidationError\r\n helm.sh/helm/v3/pkg/kube/client.go:631\r\nhelm.sh/helm/v3/pkg/kube.(*Client).Build\r\n helm.sh/helm/v3/pkg/kube/client.go:204\r\nhelm.sh/helm/v3/pkg/action.(*Install).RunWithContext\r\n helm.sh/helm/v3/pkg/action/install.go:275\r\nmain.runInstall\r\n helm.sh/helm/v3/cmd/helm/install.go:265\r\nmain.newUpgradeCmd.func2\r\n helm.sh/helm/v3/cmd/helm/upgrade.go:124\r\ngithub.com/spf13/cobra.(*Command).execute\r\n github.com/spf13/cobra@v1.2.1/command.go:856\r\ngithub.com/spf13/cobra.(*Command).ExecuteC\r\n github.com/spf13/cobra@v1.2.1/command.go:974\r\ngithub.com/spf13/cobra.(*Command).Execute\r\n github.com/spf13/cobra@v1.2.1/command.go:902\r\nmain.main\r\n helm.sh/helm/v3/cmd/helm/helm.go:87\r\nruntime.main\r\n runtime/proc.go:225\r\nruntime.goexit\r\n runtime/asm_amd64.s:1371\r\nunable to build kubernetes objects from release manifest\r\nhelm.sh/helm/v3/pkg/action.(*Install).RunWithContext\r\n helm.sh/helm/v3/pkg/action/install.go:277\r\nmain.runInstall\r\n helm.sh/helm/v3/cmd/helm/install.go:265\r\nmain.newUpgradeCmd.func2\r\n helm.sh/helm/v3/cmd/helm/upgrade.go:124\r\ngithub.com/spf13/cobra.(*Command).execute\r\n github.com/spf13/cobra@v1.2.1/command.go:856\r\ngithub.com/spf13/cobra.(*Command).ExecuteC\r\n github.com/spf13/cobra@v1.2.1/command.go:974\r\ngithub.com/spf13/cobra.(*Command).Execute\r\n github.com/spf13/cobra@v1.2.1/command.go:902\r\nmain.main\r\n helm.sh/helm/v3/cmd/helm/helm.go:87\r\nruntime.main\r\n runtime/proc.go:225\r\nruntime.goexit\r\n runtime/asm_amd64.s:1371\r\n```\r\n\r\n### Additional context\r\nN/A\r\n","author":{"url":"https://github.com/dhananjaya94","@type":"Person","name":"dhananjaya94"},"datePublished":"2021-10-17T04:31:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/735/secureCodeBox/issues/735"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f8f93f48-d0a1-79e3-09cf-b56bebd64b81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A320:3D3C35:26D6CCF:36EA218:69790553 |
| html-safe-nonce | 96c27c981dfeb5c069aa4151863c42f3ce0499cdd4bcafd43beb875c0bfbd182 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzIwOjNEM0MzNToyNkQ2Q0NGOjM2RUEyMTg6Njk3OTA1NTMiLCJ2aXNpdG9yX2lkIjoiMTQ4NjY5ODU4NDc3MzAzNTM0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cbe2d7584340f8653e43af94950d16f534de9f50606c21eae96a942cb73f070c |
| hovercard-subject-tag | issue:1028213609 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/735/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58b4ae5ab7c1e98b6159428ddb6f76455ae4efce5751d0ea37f8e389acee2904/secureCodeBox/secureCodeBox/issues/735 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58b4ae5ab7c1e98b6159428ddb6f76455ae4efce5751d0ea37f8e389acee2904/secureCodeBox/secureCodeBox/issues/735 |
| og:image:alt | 🐞 Bug report Describe the bug Helm Chart deployment fails when the ingress is enabled from the values.yaml Steps To Reproduce $ /usr/local/bin/helm repo add securecodebox https://charts.securecodeb... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dhananjaya94 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6ea7ee451781d61a7d52349482d8542aa79fb260ac3eee5bdb5bc3254706e297 |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26d23265f5ce81c7eb01d7a436e9442b19d30bc6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width