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: {}
---
@ -34,57 +34,57 @@ metadata:
namespace: argocd
spec:
generators:
- git:
files:
- path: apps/**/media/config.json
repoURL: https://git.nc.landry.land/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
- git:
files:
- path: apps/**/media/config_dir.json
repoURL: https://git.nc.landry.land/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
source:
directory:
exclude: '{{ exclude }}'
include: '{{ include }}'
jsonnet: {}
recurse: true
repoURL: ""
- git:
files:
- path: apps/**/media/config.json
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
- git:
files:
- path: apps/**/media/config_dir.json
repoURL: ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git
requeueAfterSeconds: 20
revision: ""
template:
metadata: {}
spec:
destination: {}
project: ""
source:
directory:
exclude: "{{ exclude }}"
include: "{{ include }}"
jsonnet: {}
recurse: true
repoURL: ""
syncPolicy: {}
template:
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:
- /status
kind: Application
- group: argoproj.io
jsonPointers:
- /status
kind: Application
project: media
source:
path: '{{ srcPath }}'
repoURL: '{{ srcRepoURL }}'
targetRevision: '{{ srcTargetRevision }}'
path: "{{ srcPath }}"
repoURL: "{{ srcRepoURL }}"
targetRevision: "{{ srcTargetRevision }}"
syncPolicy:
automated:
allowEmpty: true