juice-shop / multi-juicer

Host and manage multiple Juice Shop instances for security trainings and Capture The Flags
Apache License 2.0
268 stars 121 forks source link

Fix duplicate type definition #162

Closed stuebingerb closed 1 year ago

stuebingerb commented 1 year ago

When using the chart in combination with kustomize (e.g. as part of a Flux setup), its parser complains about a duplicate type definition:

{"HelmRelease":{…}, "controller":"helmrelease", "controllerGroup":"helm.toolkit.fluxcd.io", "controllerKind":"HelmRelease",
  "error":"Helm install failed: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors:
  line 17: mapping key "type" already defined at line 16", "level":"error", "msg":"Reconciler error", "name":"multi-juicer",
  "namespace":"namespace", "reconcileID":"e239b791-71e3-4e94-9ba1-457316e43e55", "ts":"2023-05-15T07:35:19.574Z"}

I've also fixed some minor typos in comments on the way.