chore(bootstrap): point projects to internal ssh url
This commit is contained in:
parent
62ddd07b1f
commit
e42033bd43
2 changed files with 92 additions and 92 deletions
|
|
@ -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: {}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
- 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:
|
||||||
|
|
@ -48,7 +48,7 @@ spec:
|
||||||
- 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:
|
||||||
|
|
@ -58,8 +58,8 @@ spec:
|
||||||
project: ""
|
project: ""
|
||||||
source:
|
source:
|
||||||
directory:
|
directory:
|
||||||
exclude: '{{ exclude }}'
|
exclude: "{{ exclude }}"
|
||||||
include: '{{ include }}'
|
include: "{{ include }}"
|
||||||
jsonnet: {}
|
jsonnet: {}
|
||||||
recurse: true
|
recurse: true
|
||||||
repoURL: ""
|
repoURL: ""
|
||||||
|
|
@ -68,13 +68,13 @@ spec:
|
||||||
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:
|
||||||
|
|
@ -82,9 +82,9 @@ spec:
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -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: {}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
- 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:
|
||||||
|
|
@ -48,7 +48,7 @@ spec:
|
||||||
- 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:
|
||||||
|
|
@ -58,8 +58,8 @@ spec:
|
||||||
project: ""
|
project: ""
|
||||||
source:
|
source:
|
||||||
directory:
|
directory:
|
||||||
exclude: '{{ exclude }}'
|
exclude: "{{ exclude }}"
|
||||||
include: '{{ include }}'
|
include: "{{ include }}"
|
||||||
jsonnet: {}
|
jsonnet: {}
|
||||||
recurse: true
|
recurse: true
|
||||||
repoURL: ""
|
repoURL: ""
|
||||||
|
|
@ -68,13 +68,13 @@ spec:
|
||||||
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:
|
||||||
|
|
@ -82,9 +82,9 @@ spec:
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue