civo / kubernetes-marketplace

Marketplace of Kubernetes applications available for quick and easy installation in to Civo Kubernetes clusters
https://www.civo.com/
MIT License
216 stars 182 forks source link

Update jenkins install.sh with the correct keys #750

Closed rizaldim closed 2 months ago

rizaldim commented 2 months ago

Hi @saiyam1814. I think the installation script doesn't work anymore. I tried creating new kubernetes cluster with jenkins installed and I found an error.

{"time":"2024-04-19T14:42:29.691030802Z","level":"INFO","msg":"Command output","stdout":"\"jenkins\" has been added to your repositories\nHang tight while we grab the latest from your chart repositories...\n...Successfully got an update from the \"jenkins\" chart repository\nUpdate Complete. ⎈Happy Helming!⎈\nnamespace/jenkins created\n"}
{"time":"2024-04-19T14:42:29.691166777Z","level":"ERROR","msg":"Command output","stderr":"Error: INSTALLATION FAILED: execution error at (jenkins/templates/deprecation.yaml:129:6): `controller.adminUser` no longer exists. It has been renamed to `controller.admin.username`\n"}
Error: exit status 1
Usage:
  marketplace-installer install [flags]

Examples:
install <app name>

Flags:
  -h, --help   help for install

Global Flags:
  -d, --git-url string   The git repo to clone from (default "https://git.civo.com/civo/marketplace.git")

I think now the jenkins helm chart expect controller.admin.username and controller.admin.password.

https://github.com/jenkinsci/helm-charts/blob/jenkins-5.1.5/charts/jenkins/values.yaml#L78