Skip to content

feat: add AUTO_DEVOPS_CHART_CUSTOM_ONLY and AUTO_DEVOPS_CHART_REPOSITORY_INSECURE

Márkó Ábrahám requested to merge abmarko1/auto-deploy-image:master into master

I would like to use the auto-deploy-image in a special environment where I don't have internet access just an artifactory with self-signed certificate. Unfortunately, currently this configuration was not supported so I introduce two new variables:

  • AUTO_DEVOPS_CHART_REPOSITORY_INSECURE: when it set the --insecure-skip-tls-verify added to the helm command
  • AUTO_DEVOPS_CHART_CUSTOM_ONLY: if that's variable is not empty only custom chart will used

As an alternate solution I can imagine a new function download_custom_chart or something like that which is the same as the downlod_chart but only download the custom_chart but in that case we have to duplicate the whole function. All tests success and I'm using the image from my fork so the functionality looks good.

Merge request reports