From e89f61deddae1bf4b0ea58fec742799b7ebf614c Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Tue, 24 Sep 2024 21:46:04 +1000 Subject: [PATCH] temp disable infra and app deployments --- projects/k3s-cluster-app.yaml | 138 ++++++++++++++++---------------- projects/k3s-cluster-infra.yaml | 138 ++++++++++++++++---------------- 2 files changed, 138 insertions(+), 138 deletions(-) diff --git a/projects/k3s-cluster-app.yaml b/projects/k3s-cluster-app.yaml index 27a2eeb..27b53c5 100644 --- a/projects/k3s-cluster-app.yaml +++ b/projects/k3s-cluster-app.yaml @@ -1,69 +1,69 @@ -apiVersion: argoproj.io/v1alpha1 -kind: ApplicationSet -metadata: - annotations: - argocd.argoproj.io/sync-wave: "4" - creationTimestamp: null - name: applications - namespace: argocd -spec: - generators: - - git: - files: - - path: apps/**/k3s-cluster/config.json - repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git - requeueAfterSeconds: 20 - revision: "" - template: - metadata: {} - spec: - destination: {} - project: "" - source: - repoURL: "" - - git: - files: - - path: apps/**/k3s-cluster/config_dir.json - repoURL: https://github.com/3dwardch3ng/home-cluster-ops.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 - app.kubernetes.io/name: '{{ appName }}' - name: '{{ userGivenName }}' - namespace: '{{ namespace }}' - spec: - destination: - namespace: '{{ destNamespace }}' - server: '{{ destServer }}' - ignoreDifferences: - - group: argoproj.io - jsonPointers: - - /status - kind: Application - project: k3s-cluster - source: - path: '{{ srcPath }}' - repoURL: '{{ srcRepoURL }}' - targetRevision: '{{ srcTargetRevision }}' - syncPolicy: - automated: - allowEmpty: true - prune: true - selfHeal: true -status: {} \ No newline at end of file +#apiVersion: argoproj.io/v1alpha1 +#kind: ApplicationSet +#metadata: +# annotations: +# argocd.argoproj.io/sync-wave: "4" +# creationTimestamp: null +# name: applications +# namespace: argocd +#spec: +# generators: +# - git: +# files: +# - path: apps/**/k3s-cluster/config.json +# repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git +# requeueAfterSeconds: 20 +# revision: "" +# template: +# metadata: {} +# spec: +# destination: {} +# project: "" +# source: +# repoURL: "" +# - git: +# files: +# - path: apps/**/k3s-cluster/config_dir.json +# repoURL: https://github.com/3dwardch3ng/home-cluster-ops.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 +# app.kubernetes.io/name: '{{ appName }}' +# name: '{{ userGivenName }}' +# namespace: '{{ namespace }}' +# spec: +# destination: +# namespace: '{{ destNamespace }}' +# server: '{{ destServer }}' +# ignoreDifferences: +# - group: argoproj.io +# jsonPointers: +# - /status +# kind: Application +# project: k3s-cluster +# source: +# path: '{{ srcPath }}' +# repoURL: '{{ srcRepoURL }}' +# targetRevision: '{{ srcTargetRevision }}' +# syncPolicy: +# automated: +# allowEmpty: true +# prune: true +# selfHeal: true +#status: {} \ No newline at end of file diff --git a/projects/k3s-cluster-infra.yaml b/projects/k3s-cluster-infra.yaml index 6890179..602911f 100644 --- a/projects/k3s-cluster-infra.yaml +++ b/projects/k3s-cluster-infra.yaml @@ -1,69 +1,69 @@ -apiVersion: argoproj.io/v1alpha1 -kind: ApplicationSet -metadata: - annotations: - argocd.argoproj.io/sync-wave: "3" - creationTimestamp: null - name: infrastructures - namespace: argocd -spec: - generators: - - git: - files: - - path: infrastructures/**/k3s-cluster/config.json - repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git - requeueAfterSeconds: 20 - revision: "" - template: - metadata: {} - spec: - destination: {} - project: "" - source: - repoURL: "" - - git: - files: - - path: infrastructures/**/k3s-cluster/config_dir.json - repoURL: https://github.com/3dwardch3ng/home-cluster-ops.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 - app.kubernetes.io/name: '{{ appName }}' - name: '{{ userGivenName }}' - namespace: '{{ namespace }}' - spec: - destination: - namespace: '{{ destNamespace }}' - server: '{{ destServer }}' - ignoreDifferences: - - group: argoproj.io - jsonPointers: - - /status - kind: Application - project: k3s-cluster - source: - path: '{{ srcPath }}' - repoURL: '{{ srcRepoURL }}' - targetRevision: '{{ srcTargetRevision }}' - syncPolicy: - automated: - allowEmpty: true - prune: true - selfHeal: true -status: {} \ No newline at end of file +#apiVersion: argoproj.io/v1alpha1 +#kind: ApplicationSet +#metadata: +# annotations: +# argocd.argoproj.io/sync-wave: "3" +# creationTimestamp: null +# name: infrastructures +# namespace: argocd +#spec: +# generators: +# - git: +# files: +# - path: infrastructures/**/k3s-cluster/config.json +# repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git +# requeueAfterSeconds: 20 +# revision: "" +# template: +# metadata: {} +# spec: +# destination: {} +# project: "" +# source: +# repoURL: "" +# - git: +# files: +# - path: infrastructures/**/k3s-cluster/config_dir.json +# repoURL: https://github.com/3dwardch3ng/home-cluster-ops.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 +# app.kubernetes.io/name: '{{ appName }}' +# name: '{{ userGivenName }}' +# namespace: '{{ namespace }}' +# spec: +# destination: +# namespace: '{{ destNamespace }}' +# server: '{{ destServer }}' +# ignoreDifferences: +# - group: argoproj.io +# jsonPointers: +# - /status +# kind: Application +# project: k3s-cluster +# source: +# path: '{{ srcPath }}' +# repoURL: '{{ srcRepoURL }}' +# targetRevision: '{{ srcTargetRevision }}' +# syncPolicy: +# automated: +# allowEmpty: true +# prune: true +# selfHeal: true +#status: {} \ No newline at end of file