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 namespace: argocd
spec: spec:
clusterResourceWhitelist: clusterResourceWhitelist:
- group: '*' - group: "*"
kind: '*' kind: "*"
description: media project description: media project
destinations: destinations:
- namespace: '*' - namespace: "*"
server: '*' server: "*"
namespaceResourceWhitelist: namespaceResourceWhitelist:
- group: '*' - group: "*"
kind: '*' kind: "*"
sourceRepos: sourceRepos:
- '*' - "*"
status: {} status: {}
--- ---
@ -34,57 +34,57 @@ metadata:
namespace: argocd namespace: argocd
spec: spec:
generators: generators:
- git: - git:
files: files:
- path: apps/**/media/config.json - 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 requeueAfterSeconds: 20
revision: "" revision: ""
template: template:
metadata: {} metadata: {}
spec: spec:
destination: {} destination: {}
project: "" project: ""
- git: - git:
files: files:
- path: apps/**/media/config_dir.json - 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 requeueAfterSeconds: 20
revision: "" revision: ""
template: template:
metadata: {} metadata: {}
spec: spec:
destination: {} destination: {}
project: "" project: ""
source: source:
directory: directory:
exclude: '{{ exclude }}' exclude: "{{ exclude }}"
include: '{{ include }}' include: "{{ include }}"
jsonnet: {} jsonnet: {}
recurse: true recurse: true
repoURL: "" repoURL: ""
syncPolicy: {} syncPolicy: {}
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/managed-by: argocd-autopilot app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: '{{ appName }}' app.kubernetes.io/name: "{{ appName }}"
name: media-{{ userGivenName }} name: media-{{ userGivenName }}
namespace: argocd namespace: argocd
spec: spec:
destination: destination:
namespace: '{{ destNamespace }}' namespace: "{{ destNamespace }}"
server: '{{ destServer }}' server: "{{ destServer }}"
ignoreDifferences: ignoreDifferences:
- group: argoproj.io - group: argoproj.io
jsonPointers: jsonPointers:
- /status - /status
kind: Application kind: Application
project: media project: media
source: source:
path: '{{ srcPath }}' path: "{{ srcPath }}"
repoURL: '{{ srcRepoURL }}' repoURL: "{{ srcRepoURL }}"
targetRevision: '{{ srcTargetRevision }}' targetRevision: "{{ srcTargetRevision }}"
syncPolicy: syncPolicy:
automated: automated:
allowEmpty: true allowEmpty: true

View file

@ -10,17 +10,17 @@ metadata:
namespace: argocd namespace: argocd
spec: spec:
clusterResourceWhitelist: clusterResourceWhitelist:
- group: '*' - group: "*"
kind: '*' kind: "*"
description: system project description: system project
destinations: destinations:
- namespace: '*' - namespace: "*"
server: '*' server: "*"
namespaceResourceWhitelist: namespaceResourceWhitelist:
- group: '*' - group: "*"
kind: '*' kind: "*"
sourceRepos: sourceRepos:
- '*' - "*"
status: {} status: {}
--- ---
@ -34,57 +34,57 @@ metadata:
namespace: argocd namespace: argocd
spec: spec:
generators: generators:
- git: - git:
files: files:
- path: apps/**/system/config.json - 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 requeueAfterSeconds: 20
revision: "" revision: ""
template: template:
metadata: {} metadata: {}
spec: spec:
destination: {} destination: {}
project: "" project: ""
- git: - git:
files: files:
- path: apps/**/system/config_dir.json - 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 requeueAfterSeconds: 20
revision: "" revision: ""
template: template:
metadata: {} metadata: {}
spec: spec:
destination: {} destination: {}
project: "" project: ""
source: source:
directory: directory:
exclude: '{{ exclude }}' exclude: "{{ exclude }}"
include: '{{ include }}' include: "{{ include }}"
jsonnet: {} jsonnet: {}
recurse: true recurse: true
repoURL: "" repoURL: ""
syncPolicy: {} syncPolicy: {}
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/managed-by: argocd-autopilot app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: '{{ appName }}' app.kubernetes.io/name: "{{ appName }}"
name: system-{{ userGivenName }} name: system-{{ userGivenName }}
namespace: argocd namespace: argocd
spec: spec:
destination: destination:
namespace: '{{ destNamespace }}' namespace: "{{ destNamespace }}"
server: '{{ destServer }}' server: "{{ destServer }}"
ignoreDifferences: ignoreDifferences:
- group: argoproj.io - group: argoproj.io
jsonPointers: jsonPointers:
- /status - /status
kind: Application kind: Application
project: system project: system
source: source:
path: '{{ srcPath }}' path: "{{ srcPath }}"
repoURL: '{{ srcRepoURL }}' repoURL: "{{ srcRepoURL }}"
targetRevision: '{{ srcTargetRevision }}' targetRevision: "{{ srcTargetRevision }}"
syncPolicy: syncPolicy:
automated: automated:
allowEmpty: true allowEmpty: true