diff --git a/projects/k3s-cluster-secrets.yaml b/projects/k3s-cluster-secrets.yaml new file mode 100644 index 0000000..0a8d397 --- /dev/null +++ b/projects/k3s-cluster-secrets.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + annotations: + argocd.argoproj.io/sync-wave: "2" + creationTimestamp: null + name: app-secrets + namespace: argocd +spec: + generators: + - git: + files: + - path: secrets/env/k3s-cluster/config.json + repoURL: https://github.com/3dwardch3ng/home-cluster-ops.git + requeueAfterSeconds: 20 + revision: "" + template: + metadata: {} + spec: + destination: {} + project: "" + source: + repoURL: "" \ No newline at end of file diff --git a/resources/secrets/env/k3s-cluster/Chart.yaml b/secrets/env/k3s-cluster/Chart.yaml similarity index 100% rename from resources/secrets/env/k3s-cluster/Chart.yaml rename to secrets/env/k3s-cluster/Chart.yaml diff --git a/resources/secrets/env/k3s-cluster/config.json b/secrets/env/k3s-cluster/config.json similarity index 84% rename from resources/secrets/env/k3s-cluster/config.json rename to secrets/env/k3s-cluster/config.json index 1bcd790..411f84c 100644 --- a/resources/secrets/env/k3s-cluster/config.json +++ b/secrets/env/k3s-cluster/config.json @@ -3,7 +3,7 @@ "userGivenName": "app-secrets", "destNamespace": "argocd", "destServer": "https://kubernetes.default.svc", - "srcPath": "resources/secrets/env/k3s-cluster", + "srcPath": "secrets/env/k3s-cluster", "srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git", "srcTargetRevision": "", "labels": null, diff --git a/resources/secrets/env/k3s-cluster/templates/secrets.yaml b/secrets/env/k3s-cluster/templates/secrets.yaml similarity index 100% rename from resources/secrets/env/k3s-cluster/templates/secrets.yaml rename to secrets/env/k3s-cluster/templates/secrets.yaml diff --git a/resources/secrets/env/k3s-cluster/templates/secrets/postgresql.yaml b/secrets/env/k3s-cluster/templates/secrets/postgresql.yaml similarity index 100% rename from resources/secrets/env/k3s-cluster/templates/secrets/postgresql.yaml rename to secrets/env/k3s-cluster/templates/secrets/postgresql.yaml