From aa3649c614e62d4fc63c8138fcb9b0dadae76a3e Mon Sep 17 00:00:00 2001 From: David Daehne Date: Fri, 20 Feb 2026 11:16:11 +0100 Subject: [PATCH 1/7] add parameter --registry-proxy-path --- README.md | 37 ++++++++++--------- docs/configuration.schema.json | 4 ++ .../petclinic-helm/Jenkinsfile.ftl | 1 + .../petclinic-plain/Jenkinsfile.ftl | 1 + .../argocd/petclinic-helm/Jenkinsfile.ftl | 2 + .../argocd/petclinic-plain/Jenkinsfile.ftl | 1 + .../com/cloudogu/gitops/config/Config.groovy | 4 ++ .../gitops/config/ConfigConstants.groovy | 1 + .../destroy/JenkinsDestructionHandler.groovy | 2 + .../cloudogu/gitops/features/Jenkins.groovy | 4 ++ .../gitops/features/JenkinsTest.groovy | 4 ++ 11 files changed, 43 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 4b8d51c0f..637b535f8 100644 --- a/README.md +++ b/README.md @@ -321,24 +321,25 @@ That is, if you pass a param via CLI, for example, it will overwrite the corresp ###### Registry -| CLI | Config | Default | Type | Description | -|-----|--------|---------|------|-------------| -| `--registry` | `registry.active` | `false` | Boolean | Installs a simple cluster-local registry for demonstration purposes. Warning: Registry does not provide authentication! | -| `--internal-registry-port` | `registry.internalPort` | `30000` | Integer | Port of registry registry. Ignored when a registry*url params are set | -| `--registry-url` | `registry.url` | `''` | String | The url of your external registry, used for pushing images | -| `--registry-path` | `registry.path` | `''` | String | Optional when registry-url is set | -| `--registry-username` | `registry.username` | `''` | String | Optional when registry-url is set | -| `--registry-password` | `registry.password` | `''` | String | Optional when registry-url is set | -| `--registry-proxy-url` | `registry.proxyUrl` | `''` | String | The url of your proxy-registry. Used in pipelines to authorize pull base images | -| `--registry-proxy-username` | `registry.proxyUsername` | `''` | String | Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets | -| `--registry-proxy-password` | `registry.proxyPassword` | `''` | String | Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets | -| `--registry-username-read-only` | `registry.readOnlyUsername` | `''` | String | Optional alternative username for registry-url with read-only permissions | -| `--registry-password-read-only` | `registry.readOnlyPassword` | `''` | String | Optional alternative password for registry-url with read-only permissions | -| `--create-image-pull-secrets` | `registry.createImagePullSecrets` | `false` | Boolean | Create image pull secrets for registry and proxy-registry for all GOP namespaces | -| - | `registry.helm.chart` | `'docker-registry'` | String | Name of the Helm chart | -| - | `registry.helm.repoURL` | `'https://helm.twun.io'` | String | Repository url from which the Helm chart should be obtained | -| - | `registry.helm.version` | `'2.2.3'` | String | The version of the Helm chart to be installed | -| - | `registry.helm.values` | `[:]` | Map | Helm values of the chart | +| CLI | Config | Default | Type | Description | +|---------------------------------|-----------------------------------|---------|------|-------------| +| `--registry` | `registry.active` | `false` | Boolean | Installs a simple cluster-local registry for demonstration purposes. Warning: Registry does not provide authentication! | +| `--internal-registry-port` | `registry.internalPort` | `30000` | Integer | Port of registry registry. Ignored when a registry*url params are set | +| `--registry-url` | `registry.url` | `''` | String | The url of your external registry, used for pushing images | +| `--registry-path` | `registry.path` | `''` | String | Optional when registry-url is set | +| `--registry-username` | `registry.username` | `''` | String | Optional when registry-url is set | +| `--registry-password` | `registry.password` | `''` | String | Optional when registry-url is set | +| `--registry-proxy-url` | `registry.proxyUrl` | `''` | String | The url of your proxy-registry. Used in pipelines to authorize pull base images | +| `--registry-proxy-path` | `registry.proxyPath` | `''` | String | Optional when registry-proxy-url is set and the registry is running on a non root web path. | +| `--registry-proxy-username` | `registry.proxyUsername` | `''` | String | Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets | +| `--registry-proxy-password` | `registry.proxyPassword` | `''` | String | Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets | +| `--registry-username-read-only` | `registry.readOnlyUsername` | `''` | String | Optional alternative username for registry-url with read-only permissions | +| `--registry-password-read-only` | `registry.readOnlyPassword` | `''` | String | Optional alternative password for registry-url with read-only permissions | +| `--create-image-pull-secrets` | `registry.createImagePullSecrets` | `false` | Boolean | Create image pull secrets for registry and proxy-registry for all GOP namespaces | +| - | `registry.helm.chart` | `'docker-registry'` | String | Name of the Helm chart | +| - | `registry.helm.repoURL` | `'https://helm.twun.io'` | String | Repository url from which the Helm chart should be obtained | +| - | `registry.helm.version` | `'2.2.3'` | String | The version of the Helm chart to be installed | +| - | `registry.helm.values` | `[:]` | Map | Helm values of the chart | ###### Jenkins diff --git a/docs/configuration.schema.json b/docs/configuration.schema.json index 0a8416f3f..8077cb007 100644 --- a/docs/configuration.schema.json +++ b/docs/configuration.schema.json @@ -776,6 +776,10 @@ "type" : [ "string", "null" ], "description" : "Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets, when create-image-pull-secrets is set." }, + "proxyPath" : { + "type" : [ "string", "null" ], + "description" : "Optional when registry-proxy-url is set and the registry is running on a non root web path." + }, "proxyUrl" : { "type" : [ "string", "null" ], "description" : "The url of your proxy-registry. Used in pipelines to authorize pull base images. Use in conjunction with petclinic base image. Used in helm charts when create-image-pull-secrets is set. Use in conjunction with helm.*image fields." diff --git a/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl b/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl index 1f4c102bb..7c65e3c67 100644 --- a/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl +++ b/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl @@ -11,6 +11,7 @@ String getDockerRegistryCredentials() { 'registry-user' } <#if config.registry.twoRegistries> String getDockerRegistryProxyBaseUrl() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL } +String getDockerRegistryProxyPath() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH } String getDockerRegistryProxyCredentials() { 'registry-proxy-user' } diff --git a/docs/content-loader/example-tenant/petclinic-plain/Jenkinsfile.ftl b/docs/content-loader/example-tenant/petclinic-plain/Jenkinsfile.ftl index 22425caeb..853e2cfe9 100644 --- a/docs/content-loader/example-tenant/petclinic-plain/Jenkinsfile.ftl +++ b/docs/content-loader/example-tenant/petclinic-plain/Jenkinsfile.ftl @@ -11,6 +11,7 @@ String getDockerRegistryCredentials() { 'registry-user' } <#if config.registry.twoRegistries> String getDockerRegistryProxyBaseUrl() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL } +String getDockerRegistryProxyPath() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH } String getDockerRegistryProxyCredentials() { 'registry-proxy-user' } <#noparse> diff --git a/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl b/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl index 6f7dff0b5..cd94dca4a 100644 --- a/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl +++ b/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl @@ -12,6 +12,8 @@ String getDockerRegistryCredentials() { 'registry-user' } <#if config.registry.twoRegistries> String getDockerRegistryProxyBaseUrl() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL } +String getDockerRegistryProxyPath() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH } +String getDockerRegistryCredentials() { 'registry-user' } String getDockerRegistryProxyCredentials() { 'registry-proxy-user' } diff --git a/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl b/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl index ec482116f..107d2d5cb 100644 --- a/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl +++ b/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl @@ -12,6 +12,7 @@ String getDockerRegistryCredentials() { 'registry-user' } <#if config.registry.twoRegistries> String getDockerRegistryProxyBaseUrl() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL } +String getDockerRegistryProxyPath() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH } String getDockerRegistryProxyCredentials() { 'registry-proxy-user' } diff --git a/src/main/groovy/com/cloudogu/gitops/config/Config.groovy b/src/main/groovy/com/cloudogu/gitops/config/Config.groovy index 617833002..94f1c067f 100644 --- a/src/main/groovy/com/cloudogu/gitops/config/Config.groovy +++ b/src/main/groovy/com/cloudogu/gitops/config/Config.groovy @@ -208,6 +208,10 @@ class Config { @JsonPropertyDescription(REGISTRY_PROXY_URL_DESCRIPTION) String proxyUrl = '' + @Option(names = ['--registry-proxy-path'], description = REGISTRY_PROXY_PATH_DESCRIPTION) + @JsonPropertyDescription(REGISTRY_PROXY_PATH_DESCRIPTION) + String proxyPath = '' + @Option(names = ['--registry-proxy-username'], description = REGISTRY_PROXY_PASSWORD_DESCRIPTION) @JsonPropertyDescription(REGISTRY_PROXY_USERNAME_DESCRIPTION) String proxyUsername = '' diff --git a/src/main/groovy/com/cloudogu/gitops/config/ConfigConstants.groovy b/src/main/groovy/com/cloudogu/gitops/config/ConfigConstants.groovy index 9f6bfc01e..1b2ce659a 100644 --- a/src/main/groovy/com/cloudogu/gitops/config/ConfigConstants.groovy +++ b/src/main/groovy/com/cloudogu/gitops/config/ConfigConstants.groovy @@ -16,6 +16,7 @@ interface ConfigConstants { String REGISTRY_PASSWORD_DESCRIPTION = 'Optional when registry-url is set' String REGISTRY_PROXY_URL_DESCRIPTION = 'The url of your proxy-registry. Used in pipelines to authorize pull base images. Use in conjunction with petclinic base image. Used in helm charts when create-image-pull-secrets is set. Use in conjunction with helm.*image fields.' + String REGISTRY_PROXY_PATH_DESCRIPTION = 'Optional when registry-proxy-url is set and the registry is running on a non root web path.' String REGISTRY_PROXY_USERNAME_DESCRIPTION = 'Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets, when create-image-pull-secrets is set.' String REGISTRY_PROXY_PASSWORD_DESCRIPTION = 'Use with registry-proxy-url, added to Jenkins as credentials and created as pull secrets, when create-image-pull-secrets is set.' diff --git a/src/main/groovy/com/cloudogu/gitops/destroy/JenkinsDestructionHandler.groovy b/src/main/groovy/com/cloudogu/gitops/destroy/JenkinsDestructionHandler.groovy index 6ea7f5202..7767678c0 100644 --- a/src/main/groovy/com/cloudogu/gitops/destroy/JenkinsDestructionHandler.groovy +++ b/src/main/groovy/com/cloudogu/gitops/destroy/JenkinsDestructionHandler.groovy @@ -26,6 +26,8 @@ class JenkinsDestructionHandler implements DestructionHandler { globalPropertyManager.deleteGlobalProperty("${configuration.application.namePrefixForEnvVars}REGISTRY_URL") globalPropertyManager.deleteGlobalProperty("${configuration.application.namePrefixForEnvVars}REGISTRY_PATH") globalPropertyManager.deleteGlobalProperty("${configuration.application.namePrefixForEnvVars}REGISTRY_PROXY_URL") + globalPropertyManager.deleteGlobalProperty("${configuration.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH") + globalPropertyManager.deleteGlobalProperty("${configuration.application.namePrefixForEnvVars}K8S_VERSION") } } diff --git a/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy b/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy index 3b867fd58..07cced9fc 100644 --- a/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy +++ b/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy @@ -146,6 +146,10 @@ class Jenkins extends Feature { globalPropertyManager.setGlobalProperty("${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL", config.registry.proxyUrl) } + if (config.registry.proxyPath) { + globalPropertyManager.setGlobalProperty("${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH", config.registry.proxyPath) + } + if (config.jenkins.mavenCentralMirror) { globalPropertyManager.setGlobalProperty("${config.application.namePrefixForEnvVars}MAVEN_CENTRAL_MIRROR", config.jenkins.mavenCentralMirror) } diff --git a/src/test/groovy/com/cloudogu/gitops/features/JenkinsTest.groovy b/src/test/groovy/com/cloudogu/gitops/features/JenkinsTest.groovy index a976f89f0..14903f6ac 100644 --- a/src/test/groovy/com/cloudogu/gitops/features/JenkinsTest.groovy +++ b/src/test/groovy/com/cloudogu/gitops/features/JenkinsTest.groovy @@ -182,6 +182,7 @@ me:x:1000:''') config.registry.username = 'reg-usr' config.registry.password = 'reg-pw' config.registry.proxyUrl = 'reg-proxy-url' + config.registry.proxyPath = 'reg-proxy-path' config.registry.proxyUsername = 'reg-proxy-usr' config.registry.proxyPassword = 'reg-proxy-pw' config.jenkins.internal = false @@ -224,6 +225,7 @@ me:x:1000:''') verify(globalPropertyManager).setGlobalProperty('MY_PREFIX_REGISTRY_URL', 'reg-url') verify(globalPropertyManager).setGlobalProperty('MY_PREFIX_REGISTRY_PATH', 'reg-path') verify(globalPropertyManager, never()).setGlobalProperty(eq('MY_PREFIX_REGISTRY_PROXY_URL'), anyString()) + verify(globalPropertyManager, never()).setGlobalProperty(eq('MY_PREFIX_REGISTRY_PROXY_PATH'), anyString()) verify(globalPropertyManager, never()).setGlobalProperty(eq('MAVEN_CENTRAL_MIRROR'), anyString()) verify(userManager).createUser('metrics-usr', 'metrics-pw') @@ -293,12 +295,14 @@ me:x:1000:''') config.registry.username = 'reg-usr' config.registry.password = 'reg-pw' config.registry.proxyUrl = 'reg-proxy-url' + config.registry.proxyPath = 'reg-proxy-path' config.registry.proxyUsername = 'reg-proxy-usr' config.registry.proxyPassword = 'reg-proxy-pw' createJenkins().install() verify(globalPropertyManager).setGlobalProperty('MY_PREFIX_REGISTRY_PROXY_URL', 'reg-proxy-url') + verify(globalPropertyManager).setGlobalProperty('MY_PREFIX_REGISTRY_PROXY_PATH', 'reg-proxy-path') verify(globalPropertyManager).setGlobalProperty(eq('MY_PREFIX_REGISTRY_URL'), anyString()) verify(globalPropertyManager).setGlobalProperty(eq('MY_PREFIX_REGISTRY_PATH'), anyString()) From 8372c92cac1b87ea374ea59172a3358356d101ab Mon Sep 17 00:00:00 2001 From: David Daehne Date: Fri, 20 Feb 2026 11:21:58 +0100 Subject: [PATCH 2/7] fix typo --- docs/developers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers.md b/docs/developers.md index d69dda499..bc44a84a8 100644 --- a/docs/developers.md +++ b/docs/developers.md @@ -536,7 +536,7 @@ EOF * Deploy playground: ```bash -# Create a docker container or use an available immage from a registry +# Create a docker container or use an available image from a registry # docker build -t gop:dev . GOP_IMAGE=gop:ingress PATH_TWO_REGISTRIES=scripts/local/two-registries.yaml #Adjust to path above From 2c5156f50f3d9a98743b6700efa912538cb471f0 Mon Sep 17 00:00:00 2001 From: David Daehne Date: Fri, 20 Feb 2026 13:00:41 +0100 Subject: [PATCH 3/7] set REGISTRY_PROXY_PATH only if twoRegistries is enabled --- src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy b/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy index 07cced9fc..bef0262cd 100644 --- a/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy +++ b/src/main/groovy/com/cloudogu/gitops/features/Jenkins.groovy @@ -144,9 +144,6 @@ class Jenkins extends Feature { if (config.registry.twoRegistries) { globalPropertyManager.setGlobalProperty("${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL", config.registry.proxyUrl) - } - - if (config.registry.proxyPath) { globalPropertyManager.setGlobalProperty("${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH", config.registry.proxyPath) } From 86294aa67a4425919aac6f0689b2e21418a4dcbf Mon Sep 17 00:00:00 2001 From: David Daehne Date: Tue, 24 Feb 2026 07:35:41 +0100 Subject: [PATCH 4/7] add RegistryProxyPath to jenkinsfile Templates --- .../example-tenant/petclinic-helm/Jenkinsfile.ftl | 3 ++- .../argocd/petclinic-helm/Jenkinsfile.ftl | 4 ++-- .../argocd/petclinic-plain/Jenkinsfile.ftl | 3 ++- .../com/cloudogu/gitops/features/argocd/ArgoCDTest.groovy | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl b/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl index 7c65e3c67..74fc63994 100644 --- a/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl +++ b/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl @@ -83,7 +83,8 @@ node { <#if config.registry.twoRegistries> <#noparse> - docker.withRegistry("https://${dockerRegistryProxyBaseUrl}", dockerRegistryProxyCredentials) { + String proxyPathPrefix = !dockerRegistryProxyPath?.trim() ? "" : "${dockerRegistryProxyPath}/" + docker.withRegistry("https://${dockerRegistryProxyBaseUrl}/${proxyPathPrefix}", dockerRegistryProxyCredentials) { image = docker.build(imageName, '.') } diff --git a/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl b/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl index cd94dca4a..defc4152d 100644 --- a/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl +++ b/examples/example-apps-via-content-loader/argocd/petclinic-helm/Jenkinsfile.ftl @@ -13,7 +13,6 @@ String getDockerRegistryCredentials() { 'registry-user' } <#if config.registry.twoRegistries> String getDockerRegistryProxyBaseUrl() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_URL } String getDockerRegistryProxyPath() { env.${config.application.namePrefixForEnvVars}REGISTRY_PROXY_PATH } -String getDockerRegistryCredentials() { 'registry-user' } String getDockerRegistryProxyCredentials() { 'registry-proxy-user' } @@ -85,7 +84,8 @@ node { <#if config.registry.twoRegistries> <#noparse> - docker.withRegistry("https://${dockerRegistryProxyBaseUrl}", dockerRegistryProxyCredentials) { + String proxyPathPrefix = !dockerRegistryProxyPath?.trim() ? "" : "${dockerRegistryProxyPath}/" + docker.withRegistry("https://${dockerRegistryProxyBaseUrl}/${proxyPathPrefix}", dockerRegistryProxyCredentials) { image = docker.build(imageName, '.') } diff --git a/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl b/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl index 107d2d5cb..fd14f8625 100644 --- a/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl +++ b/examples/example-apps-via-content-loader/argocd/petclinic-plain/Jenkinsfile.ftl @@ -77,7 +77,8 @@ node { <#if config.registry.twoRegistries> <#noparse> - docker.withRegistry("https://${dockerRegistryProxyBaseUrl}", dockerRegistryProxyCredentials) { + String proxyPathPrefix = !dockerRegistryProxyPath?.trim() ? "" : "${dockerRegistryProxyPath}/" + docker.withRegistry("https://${dockerRegistryProxyBaseUrl}/${proxyPathPrefix}", dockerRegistryProxyCredentials) { image = docker.build(imageName, '.') } diff --git a/src/test/groovy/com/cloudogu/gitops/features/argocd/ArgoCDTest.groovy b/src/test/groovy/com/cloudogu/gitops/features/argocd/ArgoCDTest.groovy index 21199166e..af3a110b6 100644 --- a/src/test/groovy/com/cloudogu/gitops/features/argocd/ArgoCDTest.groovy +++ b/src/test/groovy/com/cloudogu/gitops/features/argocd/ArgoCDTest.groovy @@ -712,7 +712,9 @@ class ArgoCDTest { 'imageName = "${dockerRegistryBaseUrl}/${pathPrefix}${application}:${imageTag}"' ] List twoRegistriesExpectedLines = [ - 'docker.withRegistry("https://${dockerRegistryProxyBaseUrl}", dockerRegistryProxyCredentials) {'] + 'String proxyPathPrefix = !dockerRegistryProxyPath?.trim() ? "" : "${dockerRegistryProxyPath}/"', + 'docker.withRegistry("https://${dockerRegistryProxyBaseUrl}/${proxyPathPrefix}", dockerRegistryProxyCredentials) {', + ] for (def petclinicRepo : petClinicRepos) { String jenkinsfile = new File(petclinicRepo.absoluteLocalRepoTmpDir, 'Jenkinsfile').text From 371e667ee9c7291f069fffc29dfe3e37e16be265 Mon Sep 17 00:00:00 2001 From: David Daehne Date: Tue, 24 Feb 2026 07:40:39 +0100 Subject: [PATCH 5/7] temporarily change which branch to pull during integration tests --- examples/example-apps-via-content-loader/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example-apps-via-content-loader/config.yaml b/examples/example-apps-via-content-loader/config.yaml index 44689aa01..30d8e047c 100644 --- a/examples/example-apps-via-content-loader/config.yaml +++ b/examples/example-apps-via-content-loader/config.yaml @@ -23,7 +23,7 @@ content: createJenkinsJob: true - url: https://github.com/cloudogu/gitops-playground path: examples/example-apps-via-content-loader/ - ref: main + ref: feature/add-proxy-registry-path-cli-param templating: true type: FOLDER_BASED overwriteMode: UPGRADE From 61c7030a35591a7327c86b5cab76c80a55fe1f8e Mon Sep 17 00:00:00 2001 From: David Daehne <47227343+DerDaehne@users.noreply.github.com> Date: Thu, 26 Feb 2026 09:08:15 +0100 Subject: [PATCH 6/7] Jenkinsfile.ftl aktualisieren Co-authored-by: Thomas --- .../example-tenant/petclinic-helm/Jenkinsfile.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl b/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl index 74fc63994..28eaf3241 100644 --- a/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl +++ b/docs/content-loader/example-tenant/petclinic-helm/Jenkinsfile.ftl @@ -83,7 +83,7 @@ node { <#if config.registry.twoRegistries> <#noparse> - String proxyPathPrefix = !dockerRegistryProxyPath?.trim() ? "" : "${dockerRegistryProxyPath}/" + String proxyPathPrefix = !dockerRegistryProxyPath?.trim() ? "" : "${dockerRegistryProxyPath.trim()}/" docker.withRegistry("https://${dockerRegistryProxyBaseUrl}/${proxyPathPrefix}", dockerRegistryProxyCredentials) { image = docker.build(imageName, '.') } From b885d7e4adb91c104723afad5512960eaf24efde Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 27 Feb 2026 07:57:05 +0100 Subject: [PATCH 7/7] Apply suggestion from @ThomasMichael1811 --- examples/example-apps-via-content-loader/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example-apps-via-content-loader/config.yaml b/examples/example-apps-via-content-loader/config.yaml index 30d8e047c..44689aa01 100644 --- a/examples/example-apps-via-content-loader/config.yaml +++ b/examples/example-apps-via-content-loader/config.yaml @@ -23,7 +23,7 @@ content: createJenkinsJob: true - url: https://github.com/cloudogu/gitops-playground path: examples/example-apps-via-content-loader/ - ref: feature/add-proxy-registry-path-cli-param + ref: main templating: true type: FOLDER_BASED overwriteMode: UPGRADE