chore(bootstrap): point projects to internal ssh url

This commit is contained in:
David Landry 2024-01-21 21:09:05 -05:00
parent 62ddd07b1f
commit e42033bd43
2 changed files with 92 additions and 92 deletions

View file

@ -10,17 +10,17 @@ metadata:
namespace: argocd
spec:
clusterResourceWhitelist:
- group: '*'
kind: '*'
- group: "*"
kind: "*"
description: media project
destinations:
- namespace: '*'
server: '*'
- namespace: "*"
server: "*"
namespaceResourceWhitelist:
- group: '*'
kind: '*'
- group: "*"
kind: "*"
sourceRepos:
- '*'
- "*"
status: {}
---
@ -37,7 +37,7 @@ spec:
- git:
files:
- path: apps/**/media/config.json
repoURL: https://git.nc.landry.land/davad/argo.git
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
@ -48,7 +48,7 @@ spec:
- git:
files:
- path: apps/**/media/config_dir.json
repoURL: https://git.nc.landry.land/davad/argo.git
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
@ -58,8 +58,8 @@ spec:
project: ""
source:
directory:
exclude: '{{ exclude }}'
include: '{{ include }}'
exclude: "{{ exclude }}"
include: "{{ include }}"
jsonnet: {}
recurse: true
repoURL: ""
@ -68,13 +68,13 @@ spec:
metadata:
labels:
app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: '{{ appName }}'
app.kubernetes.io/name: "{{ appName }}"
name: media-{{ userGivenName }}
namespace: argocd
spec:
destination:
namespace: '{{ destNamespace }}'
server: '{{ destServer }}'
namespace: "{{ destNamespace }}"
server: "{{ destServer }}"
ignoreDifferences:
- group: argoproj.io
jsonPointers:
@ -82,9 +82,9 @@ spec:
kind: Application
project: media
source:
path: '{{ srcPath }}'
repoURL: '{{ srcRepoURL }}'
targetRevision: '{{ srcTargetRevision }}'
path: "{{ srcPath }}"
repoURL: "{{ srcRepoURL }}"
targetRevision: "{{ srcTargetRevision }}"
syncPolicy:
automated:
allowEmpty: true

View file

@ -10,17 +10,17 @@ metadata:
namespace: argocd
spec:
clusterResourceWhitelist:
- group: '*'
kind: '*'
- group: "*"
kind: "*"
description: system project
destinations:
- namespace: '*'
server: '*'
- namespace: "*"
server: "*"
namespaceResourceWhitelist:
- group: '*'
kind: '*'
- group: "*"
kind: "*"
sourceRepos:
- '*'
- "*"
status: {}
---
@ -37,7 +37,7 @@ spec:
- git:
files:
- path: apps/**/system/config.json
repoURL: https://git.nc.landry.land/davad/argo.git
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
@ -48,7 +48,7 @@ spec:
- git:
files:
- path: apps/**/system/config_dir.json
repoURL: https://git.nc.landry.land/davad/argo.git
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
@ -58,8 +58,8 @@ spec:
project: ""
source:
directory:
exclude: '{{ exclude }}'
include: '{{ include }}'
exclude: "{{ exclude }}"
include: "{{ include }}"
jsonnet: {}
recurse: true
repoURL: ""
@ -68,13 +68,13 @@ spec:
metadata:
labels:
app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: '{{ appName }}'
app.kubernetes.io/name: "{{ appName }}"
name: system-{{ userGivenName }}
namespace: argocd
spec:
destination:
namespace: '{{ destNamespace }}'
server: '{{ destServer }}'
namespace: "{{ destNamespace }}"
server: "{{ destServer }}"
ignoreDifferences:
- group: argoproj.io
jsonPointers:
@ -82,9 +82,9 @@ spec:
kind: Application
project: system
source:
path: '{{ srcPath }}'
repoURL: '{{ srcRepoURL }}'
targetRevision: '{{ srcTargetRevision }}'
path: "{{ srcPath }}"
repoURL: "{{ srcRepoURL }}"
targetRevision: "{{ srcTargetRevision }}"
syncPolicy:
automated:
allowEmpty: true