athens icon indicating copy to clipboard operation
athens copied to clipboard

Extend Helm chart values to allow "scm" in private Bitbucket repository URL

Open poblish opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. In order to access a private repository running on Bitbucket server, we needed to fork the main Helm chart in order to extend the git_config ConfigMap data here, replacing:

insteadOf = https://{{ $server.host }} => insteadOf = https://{{ $server.host }}/scm

Only then did downloads work.

Describe the solution you'd like Add support for an additional value within .Values.sshGitServers, e.g. path, a slash-prefixed string, which would be configured with the value: /scm in our case

Describe alternatives you've considered Forking the project chart works, likewise replacing the ConfigMap post-deploy, but the proposed change should be very quick and self-contained.

Additional context Your documentation already mentions the /scm thing: https://docs.gomods.io/configuration/authentication/ See also: https://github.com/golang/go/issues/35808

poblish avatar Jul 28 '21 08:07 poblish