diff --git a/projects/media.yaml b/projects/media.yaml index 90fc1ac..a84bc19 100644 --- a/projects/media.yaml +++ b/projects/media.yaml @@ -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 diff --git a/projects/system.yaml b/projects/system.yaml index 0a2f08d..ee4e730 100644 --- a/projects/system.yaml +++ b/projects/system.yaml @@ -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: {} --- @@ -34,57 +34,57 @@ metadata: namespace: argocd spec: generators: - - git: - files: - - path: apps/**/system/config.json - repoURL: https://git.nc.landry.land/davad/argo.git - requeueAfterSeconds: 20 - revision: "" - template: - metadata: {} - spec: - destination: {} - project: "" - - git: - files: - - path: apps/**/system/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/**/system/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/**/system/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: system-{{ 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: system source: - path: '{{ srcPath }}' - repoURL: '{{ srcRepoURL }}' - targetRevision: '{{ srcTargetRevision }}' + path: "{{ srcPath }}" + repoURL: "{{ srcRepoURL }}" + targetRevision: "{{ srcTargetRevision }}" syncPolicy: automated: allowEmpty: true