Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
d88a712
adds lombok to project
nihussmann Jul 25, 2025
f5b25fd
adding basic functions for gitlab and refactoring from scmmanager
nihussmann Jul 25, 2025
ea3cdd9
removed Gitlab from SCMManager
nihussmann Jul 29, 2025
3b3fa05
update
nihussmann Jul 30, 2025
5dd84ae
moves api requests for scmmanager from bash to retrofit.
nihussmann Aug 13, 2025
5bdad23
updating abstract git
nihussmann Aug 15, 2025
8b9e4c8
fixing ArgocdApplication
nihussmann Aug 21, 2025
7f049d3
ScmRepo refactoring
nihussmann Aug 25, 2025
1c61528
update
nihussmann Aug 28, 2025
b4829a5
update
nihussmann Sep 2, 2025
d0e399b
package cleanup and refactoring
nihussmann Sep 3, 2025
3e70c81
fixing imports
nihussmann Sep 4, 2025
8100b29
smaller renaming
nihussmann Sep 4, 2025
bb5c8d1
adding repo creation
nihussmann Sep 4, 2025
653b81b
adding comments and minor changes
nihussmann Sep 5, 2025
a1bdb7c
make it more compileable
Sep 8, 2025
f54a855
Fix HttpClientFactory compile error by accessing username and passwor…
avetgit Sep 8, 2025
8f857a1
Remove GitHandler from ScmRepoProvider, because GitHandler is the acc…
avetgit Sep 8, 2025
5597793
Remove GitHandler from ScmRepoProvider, because GitHandler is the acc…
avetgit Sep 8, 2025
4177bb7
Fix(config): correct scmm calls & centralScmUrl (multiTenant)
avetgit Sep 9, 2025
2a9ee3a
smaller fixes
nihussmann Sep 17, 2025
5e52372
smaller fixes
nihussmann Sep 18, 2025
6b39784
Move GitRepo and ScmmRepoProvider into new package
avetgit Sep 18, 2025
daf021d
Refactor git package according to feature/git-abstraction
avetgit Sep 18, 2025
4d7af4a
Move ScmUrlResolver and GitProvider into providers package
avetgit Sep 18, 2025
5b2512f
add GitPushAuth
avetgit Sep 18, 2025
cc419e7
removed examples and exercises
nihussmann Sep 18, 2025
8563cc0
fixed some compile issues
nihussmann Sep 22, 2025
99e9491
fixed some compile issues
nihussmann Sep 22, 2025
1820ee4
reached compilable state
nihussmann Sep 23, 2025
11471b4
Rename ScmmManager to ScmManagerSetup,
avetgit Sep 23, 2025
e92edfd
remove git.local package and put GitRepo and GitRepoFactory to git pa…
avetgit Sep 23, 2025
0124169
Rename ScmmApi to ScmManagerApi, ScmUsesr to ScmManagerUser
avetgit Sep 23, 2025
bd57e44
first refactoring: moving scmApiClient into objects
nihussmann Sep 23, 2025
d60e337
HttpClientFactory refactoring, removing singleton
nihussmann Sep 24, 2025
9421551
configs for scm
nihussmann Sep 24, 2025
98fb1ee
Add code from feature/git-abstraction and resolve conflicts
avetgit Sep 24, 2025
b9d75f6
ContentLoader and AirGappedUtils create repository by using GitRepo i…
avetgit Sep 24, 2025
13f3bd8
config changes and improvements
nihussmann Sep 24, 2025
02c20df
Rename ScmmConfig to ScmManagerConfig
avetgit Sep 24, 2025
26872ab
fixing scmApiClient url and rollout tests
nihussmann Sep 24, 2025
5c08320
removed init-scmm for faster testing.
nihussmann Sep 25, 2025
eeffa9e
renaming Content-Typ and ScmApiClient Setup with NodePortIP
nihussmann Sep 25, 2025
199c246
Add return value for getHost and getProtocol
avetgit Sep 25, 2025
8cc29f0
Clean up
avetgit Sep 25, 2025
b651f38
Remove Networkutils from k8sClient Constructor
avetgit Sep 25, 2025
4399339
templating fixes and clusterBindAddres
nihussmann Sep 26, 2025
f07c98e
url logging in clone command
nihussmann Sep 26, 2025
aec7101
GitProvider#setRepositoryPermission signature changed.
avetgit Sep 29, 2025
c023c73
Implement setPermission for Gitlab
avetgit Sep 29, 2025
aa8547c
smaller fixes
nihussmann Sep 29, 2025
921affa
Move logic if application is running from intellij(local) to base() i…
avetgit Sep 29, 2025
a77bb6b
caching clusterBindAddress
nihussmann Sep 29, 2025
390be96
Bugfix computePushUrl
avetgit Sep 29, 2025
75cf3b6
fixing git clone folder problem
nihussmann Sep 29, 2025
20ab634
adding todo
nihussmann Sep 29, 2025
7d019f9
Rename namespace to repoNamespace in createRepository and setPermission
avetgit Sep 30, 2025
4c22364
ScmManager getUrl uses in-cluster DNS; computePushUrl uses NodePort
avetgit Sep 30, 2025
3fddb84
Use prometheusMetricsEndpoint
avetgit Oct 1, 2025
5fdfa76
Small refactoring and remove ingressBase method in ScmManager. We wil…
avetgit Oct 1, 2025
32d595f
Add caching for clusterBindAddress
avetgit Oct 2, 2025
8d01257
Prefix namespace within GitHandler
avetgit Oct 2, 2025
7e5872e
fixing empty tenant argocd/argocd repo
nihussmann Oct 2, 2025
5466c59
adding .git as default to all Argocd Application repoUrls
nihussmann Oct 2, 2025
7cc5835
Use baseUrl for getUrl instead of repoUrl,
avetgit Oct 6, 2025
4e6090c
adding picocli option for SCM switching
nihussmann Oct 6, 2025
b8cf206
Use repoUrl with prefix in templates
avetgit Oct 6, 2025
062815b
Merge remote-tracking branch 'origin/feature/abstract-git-gitlab' int…
avetgit Oct 6, 2025
94ea6f4
Add default for computeRepoUrlPrefixForInCluster(boolean includeNameP…
avetgit Oct 6, 2025
591787c
Bugfix repoUrl with double Slashes
avetgit Oct 6, 2025
b9143fd
Cleanup ScmManager URLS
avetgit Oct 6, 2025
7a8103c
scm-manager new helm chart
nihussmann Oct 6, 2025
31e7480
fixing first gitlab issues
nihussmann Oct 7, 2025
558d5f6
Gitlab fixes
nihussmann Oct 7, 2025
f0f7276
Rename URL methods in ScmManager
avetgit Oct 7, 2025
fd475cd
Gitlab url fix
nihussmann Oct 7, 2025
3319d43
fixing single Tenant rollout and non dedicated problems
nihussmann Oct 7, 2025
97606a5
Fix createRepositories for Gitlab
avetgit Oct 8, 2025
f0babb3
Put gitOpsUsername in ScmTenantSchema instead of specific Gitlab- and…
avetgit Oct 8, 2025
60bdb4e
GitlabTenantConfig rename parentProjectId to parentGroupId
avetgit Oct 8, 2025
cb73eb8
Implement URLs for Gitlab
avetgit Oct 8, 2025
849756c
Add missing .git in ftl.yaml
avetgit Oct 8, 2025
8755b3e
Fix repoPath of Gitlab and centralScmmUrl
avetgit Oct 8, 2025
29c1c24
Set default provider bach to SCM_MANAGER
avetgit Oct 9, 2025
d2b97bd
Set default provider back to SCM_MANAGER
avetgit Oct 9, 2025
8aee846
Bugfix ScmManager baseForClient , if internal use serviceDnsBase() or…
avetgit Oct 9, 2025
e9d2303
Remove nameprefix from Gitlab and ScmManager createRepository
avetgit Oct 10, 2025
18790e2
Add missing .git after repo target in ftl.yaml
avetgit Oct 10, 2025
1d132ca
Remove unused Method and move withSlash back to ScmManager class
avetgit Oct 10, 2025
a4f957f
fixes unittest compile problems
nihussmann Oct 10, 2025
0abc347
Move URL logic into own ScmManagerUrlResolver class and fix getCreden…
avetgit Oct 10, 2025
7cf80b0
Merge remote-tracking branch 'origin/feature/abstract-git-gitlab' int…
avetgit Oct 10, 2025
29d446f
clean up
avetgit Oct 10, 2025
cb61993
fixes unittest compile problems
nihussmann Oct 10, 2025
ea43574
fixes unittest compile problems
nihussmann Oct 10, 2025
b15a36e
fixes unittest compile problems
nihussmann Oct 13, 2025
f69f141
Refactor: unify repo URLs via RepoUrlScope; default to IN_CLUSTER; de…
avetgit Oct 14, 2025
29e0d76
fixes unittest compile problems
nihussmann Oct 14, 2025
640d1c6
Merge remote-tracking branch 'origin/feature/abstract-git-gitlab' int…
nihussmann Oct 14, 2025
56290d6
Change return of clientRepoUrl from URI to String
avetgit Oct 14, 2025
1ab1442
Merge remote-tracking branch 'refs/remotes/origin/feature/abstract-gi…
avetgit Oct 14, 2025
0876ae7
fixing tests, Description for config fields added
nihussmann Oct 14, 2025
764fe7c
Remove StringUtils and unused unit tests in git test package
avetgit Oct 14, 2025
ba88e87
Merge remote-tracking branch 'origin/feature/abstract-git-gitlab' int…
avetgit Oct 14, 2025
cf3a79e
fixing tests, Description for config fields added
nihussmann Oct 15, 2025
f5825e6
Merge remote-tracking branch 'origin/feature/abstract-git-gitlab' int…
nihussmann Oct 15, 2025
d4e3d52
Add ScmManagerMock for testing
avetgit Oct 15, 2025
2791cb8
Add ScmManagerUrlResolverTest
avetgit Oct 15, 2025
c031612
Remove unused includeNamePrefix flag.
avetgit Oct 15, 2025
0ba7cb6
Fix ScmManagerMock repoPrefix
avetgit Oct 15, 2025
b017c14
fixing tests, Description for config fields added
nihussmann Oct 16, 2025
5bbb11a
Add ScmManagerUrlResolver unit tests
avetgit Oct 16, 2025
a71e565
Merge remote-tracking branch 'origin/feature/abstract-git-gitlab' int…
avetgit Oct 16, 2025
923d681
Fix ScmManagerUrlResolver unit tests
avetgit Oct 16, 2025
a27fe66
[ERROR] Tests run: 466, Failures: 31, Errors: 38, Skipped: 0
nihussmann Oct 16, 2025
d1c48ae
[ERROR] Tests run: 466, Failures: 31, Errors: 37, Skipped: 0
nihussmann Oct 16, 2025
18fd52b
Fix ScmManagerUrlResolver unit tests
avetgit Oct 17, 2025
7f8f91e
Fix ScmManagerSetup unit tests
avetgit Oct 17, 2025
330af3a
Fix ScmManagerSetup unit tests
avetgit Oct 17, 2025
acca95b
Fix: rename SCMHandler to SCM
avetgit Oct 17, 2025
5e9aadb
Remove insecure variable in interface ScmManagerConfig, because it is…
avetgit Oct 17, 2025
2febe5b
Remove if clause dedicatedInstance within runningInsideK8s if clause,…
avetgit Oct 17, 2025
567c94e
Fix ApplicationConfigurator unit tests
avetgit Oct 20, 2025
bbe49eb
Fix GitopsPlaygroundCliTest unit tests
avetgit Oct 20, 2025
cd9aaf7
Fix DestroyerDependencyInjectionTest unit test
avetgit Oct 20, 2025
b70cc8f
Fix CertManagerTest unit tests
avetgit Oct 20, 2025
08e0c64
Fix CertManagerTest, ExternalSecretsOperatorTest, IngressNginxTest un…
avetgit Oct 20, 2025
9a00831
Fix compiling error in unit tests
avetgit Oct 20, 2025
342680f
Fix some ArgoCDTest unit test
avetgit Oct 21, 2025
9fa1c5e
Fix ArgoCDTest unit test
avetgit Oct 21, 2025
feedc22
Fix ArgocdApplicationTest unit test
avetgit Oct 21, 2025
9c8bfc2
Fix UsersApiTest unit test
avetgit Oct 21, 2025
d6ec798
Refactor test package
avetgit Oct 21, 2025
f353c3f
Fix GitRepoTest
avetgit Oct 21, 2025
74e3f81
Fix AirGappedUtilsTest
avetgit Oct 22, 2025
a7838a1
In ContentLoader use @mergedReposFolder in order to force direct fiel…
avetgit Oct 22, 2025
74eddd9
revert: In ContentLoader use @mergedReposFolder in order to force dir…
avetgit Oct 22, 2025
0332f66
Remove namePrefix from 3rd-party dependencies and fix clouster-resour…
avetgit Oct 22, 2025
c17c061
Fix some failing ArgoCDTest unit tests
avetgit Oct 22, 2025
447f813
Fix remaining failed ArgoCDTest unit tests
avetgit Oct 23, 2025
c4ecfbe
Fix PrometheusStackTest
avetgit Oct 23, 2025
9369de3
Fix PrometheusStackTest compile error
avetgit Oct 23, 2025
f0f3369
Fix some ContentLoaderTest
avetgit Oct 23, 2025
6942e87
Fix ContentLoaderTest
avetgit Oct 23, 2025
0759092
Move idempotent repository creation logic from TestGitRepoFactory to …
avetgit Oct 23, 2025
ff4fe1e
Add namePrefix back to create3thPartyDependencies
avetgit Oct 24, 2025
63392e8
Fix failues in ApplicationTest and GitopsPlaygroundCliMainScriptedTest
avetgit Oct 24, 2025
524f441
Fix failue in JsonSchemaGeneratorTest and comment out verify(my-prefi…
avetgit Oct 24, 2025
2425966
Fix bug in ScmManagerSetup
avetgit Oct 24, 2025
c60c1c2
Refactor unit test and put mocks regarding git in own package under util
avetgit Oct 24, 2025
874eb96
Add GitHandler unit tests
avetgit Oct 24, 2025
b0a99bd
Update proxy-config.json
avetgit Oct 24, 2025
1066021
Remove @DisplayName in ScmManagerUrlResolverTest
avetgit Oct 24, 2025
2efb669
Add ScmManager unit tests
avetgit Oct 24, 2025
09b8e62
Small renaming
avetgit Oct 24, 2025
df4ba7a
Merge branch 'main' into feature/abstract-git-gitlab
nihussmann Oct 27, 2025
f676140
removed lombok, fixing scm object
nihussmann Oct 27, 2025
a2150e9
fixing tests
nihussmann Oct 27, 2025
8176f54
removing example apps test
nihussmann Oct 27, 2025
0c8b3e9
removed scmm from templating
nihussmann Oct 27, 2025
7243534
fixing tests
nihussmann Oct 28, 2025
e3225a8
fixing repoUrl without prefix.
nihussmann Oct 28, 2025
6a5328c
code cleanup and adding docs
nihussmann Oct 28, 2025
fe29b83
Refactor multi-tenant SCM configuration and documentation
nihussmann Oct 29, 2025
fb4db24
Update multi-tenant SCM schema and README documentation
nihussmann Oct 30, 2025
18a9340
GitopsUsername reworked, Cleaned Configs and params
nihussmann Oct 30, 2025
f77836a
schema updated
nihussmann Oct 30, 2025
5066a98
docs updated
nihussmann Oct 31, 2025
4438659
Fix trailing slash bug
avetgit Nov 3, 2025
613a3d3
jenkins githandler
nihussmann Nov 4, 2025
3d95218
Fix jenkins url
avetgit Nov 4, 2025
35f2d32
Remove unused config constants
avetgit Nov 4, 2025
5fab4e3
jenkins githandler added
nihussmann Nov 4, 2025
dcfd906
Merge remote-tracking branch 'refs/remotes/origin/feature/abstract-gi…
avetgit Nov 4, 2025
1e54595
Fix compile und test errors in JenkinsTest
avetgit Nov 4, 2025
56748c2
fixing namespace for central scmm if getting nodeport
nihussmann Nov 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 117 additions & 54 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,16 @@ prometheus:
- prometheus-metrics-creds-scmm
- prometheus-metrics-creds-jenkins
additionalScrapeConfigs:
<#if config.scm.scmProviderType?lower_case == "scm_manager">
- job_name: 'scm-manager'
static_configs:
- targets: [ '${scmm.host}' ]
scheme: ${scmm.protocol}
metrics_path: '${scmm.path}'
- targets: [ '${scm.host}' ]
scheme: ${scm.protocol}
metrics_path: '${scm.path}'
basic_auth:
username: '${config.application.namePrefix}metrics'
password_file: '/etc/prometheus/secrets/prometheus-metrics-creds-scmm/password'
</#if>
- job_name: 'jenkins'
static_configs:
- targets: [ '${jenkins.host}' ]
Expand Down
2 changes: 1 addition & 1 deletion argocd/argocd/applications/argocd.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
project: argocd
source:
path: ${config.features.argocd.operator?string("operator/", "argocd/")}
repoURL: ${scmm.repoUrl}argocd/argocd<#if config.scmm.provider == "gitlab">.git</#if>
repoURL: ${scm.repoUrl}argocd/argocd.git
targetRevision: main
# needed to sync the operator/rbac folder
<#if config.features.argocd.operator>
Expand Down
2 changes: 1 addition & 1 deletion argocd/argocd/applications/bootstrap.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
project: argocd
source:
path: applications/
repoURL: ${scmm.repoUrl}argocd/argocd<#if config.scmm.provider == "gitlab">.git</#if>
repoURL: ${scm.repoUrl}argocd/argocd.git
targetRevision: main
directory:
recurse: true
Expand Down
2 changes: 1 addition & 1 deletion argocd/argocd/applications/cluster-resources.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
project: argocd
source:
path: argocd/
repoURL: ${scmm.repoUrl}argocd/cluster-resources<#if config.scmm.provider == "gitlab">.git</#if>
repoURL: ${scm.repoUrl}argocd/cluster-resources.git
targetRevision: main
directory:
recurse: true
Expand Down
23 changes: 0 additions & 23 deletions argocd/argocd/applications/example-apps.ftl.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion argocd/argocd/applications/projects.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
project: argocd
source:
path: projects/
repoURL: ${scmm.repoUrl}argocd/argocd<#if config.scmm.provider == "gitlab">.git</#if>
repoURL: ${scm.repoUrl}argocd/argocd.git
targetRevision: main
directory:
recurse: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
project: ${tenantName}
source:
path: ${config.features.argocd.operator?string("operator/", "argocd/")}
repoURL: ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/argocd
repoURL: ${scm.centralScmUrl}argocd/argocd.git
targetRevision: main
# needed to sync the operator/rbac folder
<#if config.features.argocd.operator??>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
project: ${tenantName}
source:
path: multiTenant/central/applications/
repoURL: ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/argocd
repoURL: ${scm.centralScmUrl}argocd/argocd.git
targetRevision: main
directory:
recurse: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
project: ${tenantName}
source:
path: argocd/
repoURL: ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/cluster-resources
repoURL: ${scm.centralScmUrl}argocd/cluster-resources.git
targetRevision: main
directory:
recurse: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
project: ${tenantName}
source:
path: multiTenant/central/projects/
repoURL: ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/argocd
repoURL: ${scm.centralScmUrl}argocd/argocd.git
targetRevision: main
directory:
recurse: true
Expand Down
16 changes: 8 additions & 8 deletions argocd/argocd/multiTenant/central/projects/tenant.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ spec:
- namespace: '*'
server: https://kubernetes.default.svc
sourceRepos:
- ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/argocd
- ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/cluster-resources
- ${scm.centralScmUrl}argocd/argocd.git
- ${scm.centralScmUrl}argocd/cluster-resources.git
<#if config.application.mirrorRepos>
- ${scmm.repoUrl}3rd-party-dependencies/kube-prometheus-stack<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}3rd-party-dependencies/mailhog<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}3rd-party-dependencies/ingress-nginx<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}3rd-party-dependencies/external-secrets<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}3rd-party-dependencies/vault<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}3rd-party-dependencies/cert-manager<#if config.scmm.provider == "gitlab">.git</#if>
- ${scm.repoUrl}3rd-party-dependencies/kube-prometheus-stack.git
- ${scm.repoUrl}3rd-party-dependencies/mailhog.git
- ${scm.repoUrl}3rd-party-dependencies/ingress-nginx.git
- ${scm.repoUrl}3rd-party-dependencies/external-secrets.git
- ${scm.repoUrl}3rd-party-dependencies/vault.git
- ${scm.repoUrl}3rd-party-dependencies/cert-manager.git
<#else>
- https://prometheus-community.github.io/helm-charts
- https://codecentric.github.io/helm-charts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
project: argocd
source:
path: applications/
repoURL: ${scmm.repoUrl}argocd/argocd
repoURL: ${scm.repoUrl}argocd/argocd.git
targetRevision: main
directory:
recurse: true
Expand All @@ -39,7 +39,7 @@ spec:
project: argocd
source:
path: projects/
repoURL: ${scmm.repoUrl}argocd/argocd
repoURL: ${scm.repoUrl}argocd/argocd.git
targetRevision: main
directory:
recurse: true
Expand Down Expand Up @@ -67,8 +67,8 @@ spec:
- namespace: ${config.application.namePrefix}example-apps-staging
server: https://kubernetes.default.svc
sourceRepos:
- ${scmm.repoUrl}argocd/example-apps<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}argocd/nginx-helm-umbrella<#if config.scmm.provider == "gitlab">.git</#if>
- ${scm.repoUrl}argocd/example-apps.git
- ${scm.repoUrl}argocd/nginx-helm-umbrella.git

# allow to only see application resources from the specified namespace
sourceNamespaces:
Expand Down
12 changes: 6 additions & 6 deletions argocd/argocd/operator/argocd.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ spec:
ingress:
enabled: ${((!config.application.openshift) && (!config.application.insecure))?c}
initialRepositories: |
<#if !(scmm.centralScmmUrl?has_content)>
<#if !(scm.centralScmUrl?has_content)>
- name: argocd
url: ${scmm.repoUrl}argocd/argocd<#if config.scmm.provider == "gitlab">.git</#if>
url: ${scm.repoUrl}argocd/argocd.git
- name: cluster-resources
url: ${scmm.repoUrl}argocd/cluster-resources<#if config.scmm.provider == "gitlab">.git</#if>
url: ${scm.repoUrl}argocd/cluster-resources.git
- name: prometheus-community
type: helm
url: https://prometheus-community.github.io/helm-charts
Expand All @@ -143,11 +143,11 @@ spec:
url: https://kubernetes.github.io/ingress-nginx
</#if>
- name: example-apps
url: ${scmm.repoUrl}argocd/example-apps<#if config.scmm.provider == "gitlab">.git</#if>
url: ${scm.repoUrl}argocd/example-apps.git
- name: nginx-helm-jenkins
url: ${scmm.repoUrl}argocd/nginx-helm-jenkins<#if config.scmm.provider == "gitlab">.git</#if>
url: ${scm.repoUrl}argocd/nginx-helm-jenkins.git
- name: nginx-helm-umbrella
url: ${scmm.repoUrl}argocd/nginx-helm-umbrella<#if config.scmm.provider == "gitlab">.git</#if>
url: ${scm.repoUrl}argocd/nginx-helm-umbrella.git
- name: bitnami
type: helm
url: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
Expand Down
14 changes: 7 additions & 7 deletions argocd/argocd/projects/cluster-resources.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ spec:
- namespace: '*'
server: https://kubernetes.default.svc
sourceRepos:
- ${scmm.repoUrl}argocd/cluster-resources<#if config.scmm.provider == "gitlab">.git</#if>
- ${scm.repoUrl}argocd/cluster-resources.git
<#if config.application.mirrorRepos>
- ${scmm.baseUrl}<#if config.scmm.provider == "gitlab">/3rd-party-dependencies/kube-prometheus-stack.git<#else>/repo/3rd-party-dependencies/kube-prometheus-stack</#if>
- ${scmm.baseUrl}<#if config.scmm.provider == "gitlab">/3rd-party-dependencies/mailhog.git<#else>/repo/3rd-party-dependencies/mailhog</#if>
- ${scmm.baseUrl}<#if config.scmm.provider == "gitlab">/3rd-party-dependencies/ingress-nginx.git<#else>/repo/3rd-party-dependencies/ingress-nginx</#if>
- ${scmm.baseUrl}<#if config.scmm.provider == "gitlab">/3rd-party-dependencies/external-secrets.git<#else>/repo/3rd-party-dependencies/external-secrets</#if>
- ${scmm.baseUrl}<#if config.scmm.provider == "gitlab">/3rd-party-dependencies/vault.git<#else>/repo/3rd-party-dependencies/vault</#if>
- ${scmm.baseUrl}<#if config.scmm.provider == "gitlab">/3rd-party-dependencies/cert-manager.git<#else>/repo/3rd-party-dependencies/cert-manager</#if>
- ${scm.baseUrl}<#if config.scm.scmProviderType == "GITLAB">/3rd-party-dependencies/kube-prometheus-stack.git<#else>/repo/3rd-party-dependencies/kube-prometheus-stack</#if>
- ${scm.baseUrl}<#if config.scm.scmProviderType == "GITLAB">/3rd-party-dependencies/mailhog.git<#else>/repo/3rd-party-dependencies/mailhog</#if>
- ${scm.baseUrl}<#if config.scm.scmProviderType == "GITLAB">/3rd-party-dependencies/ingress-nginx.git<#else>/repo/3rd-party-dependencies/ingress-nginx</#if>
- ${scm.baseUrl}<#if config.scm.scmProviderType == "GITLAB">/3rd-party-dependencies/external-secrets.git<#else>/repo/3rd-party-dependencies/external-secrets</#if>
- ${scm.baseUrl}<#if config.scm.scmProviderType == "GITLAB">/3rd-party-dependencies/vault.git<#else>/repo/3rd-party-dependencies/vault</#if>
- ${scm.baseUrl}<#if config.scm.scmProviderType == "GITLAB">/3rd-party-dependencies/cert-manager.git<#else>/repo/3rd-party-dependencies/cert-manager</#if>
<#else>
- https://prometheus-community.github.io/helm-charts
- https://codecentric.github.io/helm-charts
Expand Down
4 changes: 2 additions & 2 deletions argocd/argocd/projects/example-apps.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
- namespace: ${config.application.namePrefix}example-apps-staging
server: https://kubernetes.default.svc
sourceRepos:
- ${scmm.repoUrl}argocd/example-apps<#if config.scmm.provider == "gitlab">.git</#if>
- ${scmm.repoUrl}argocd/nginx-helm-umbrella<#if config.scmm.provider == "gitlab">.git</#if>
- ${scm.repoUrl}argocd/example-apps.git
- ${scm.repoUrl}argocd/nginx-helm-umbrella.git


# allow to only see application resources from the specified namespace
Expand Down
4 changes: 2 additions & 2 deletions argocd/cluster-resources/argocd/misc.ftl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ spec:
source:
path: misc/
<#if config.multiTenant.useDedicatedInstance>
repoURL: ${scmm.centralScmmUrl}/repo/${config.application.namePrefix}argocd/cluster-resources
repoURL: ${scm.centralScmUrl}argocd/cluster-resources.git
<#else>
repoURL: ${scmm.repoUrl}argocd/cluster-resources<#if config.scmm.provider == "gitlab">.git</#if>
repoURL: ${scm.repoUrl}argocd/cluster-resources.git
</#if>
targetRevision: main
directory:
Expand Down
1 change: 0 additions & 1 deletion argocd/example-apps/README.md

This file was deleted.

Empty file removed argocd/example-apps/apps/.gitkeep
Empty file.
53 changes: 0 additions & 53 deletions argocd/example-apps/argocd/exercise-nginx-helm.ftl.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions argocd/example-apps/argocd/exercise-petclinic-helm.ftl.yaml

This file was deleted.

Loading