diff --git a/README.md b/README.md index afc6273..95bd847 100644 --- a/README.md +++ b/README.md @@ -189,10 +189,10 @@ extraVolumeMounts: | `config.downloadMode.existingConfigMap.downloadModeKey` | The name of the key inside the config map where the content of the download mode file is stored. | `downloadMode` | | `config.downloadMode.configMap.annotations` | Additional annotations of the config map containing the download mode file. | `{}` | | `config.downloadMode.configMap.labels` | Additional labels of the config map containing the download mode file. | `{}` | -| `config.downloadMode.configMap.content` | The content of the download mode file. | `# downloadURL = "https://proxy.golang.org" -# -# mode = "async_redirect" -# +| `config.downloadMode.configMap.content` | The content of the download mode file. | `downloadURL = "https://proxy.golang.org" + +mode = "async_redirect" + # download "github.com/gomods/*" { # mode = "sync" # } @@ -205,7 +205,7 @@ extraVolumeMounts: # mode = "redirect" # downloadURL = "https://gocenter.io" # } -` | +` | | `config.gitConfig.enabled` | Enable mounting of a .gitconfig file into the container file system. | `false` | | `config.gitConfig.existingConfigMap.enabled` | Enable to use an external config map for mounting the .gitconfig file. | `false` | | `config.gitConfig.existingConfigMap.configMapName` | The name of the existing config map which should be used to mount the .gitconfig file. | `""` | diff --git a/unittests/configMaps/downloadMode.yaml b/unittests/configMaps/downloadMode.yaml index ce646ee..c48d452 100644 --- a/unittests/configMaps/downloadMode.yaml +++ b/unittests/configMaps/downloadMode.yaml @@ -37,10 +37,10 @@ tests: - equal: path: data.downloadMode value: | - # downloadURL = "https://proxy.golang.org" - # - # mode = "async_redirect" - # + downloadURL = "https://proxy.golang.org" + + mode = "async_redirect" + # download "github.com/gomods/*" { # mode = "sync" # } diff --git a/values.yaml b/values.yaml index d3d9ea5..099c213 100644 --- a/values.yaml +++ b/values.yaml @@ -113,10 +113,10 @@ config: annotations: {} labels: {} content: | - # downloadURL = "https://proxy.golang.org" - # - # mode = "async_redirect" - # + downloadURL = "https://proxy.golang.org" + + mode = "async_redirect" + # download "github.com/gomods/*" { # mode = "sync" # }