diff --git a/argocd/applications/argocd-applications.yaml b/argocd/applications/argocd-applications.yaml index 7b3680f..d694ce3 100644 --- a/argocd/applications/argocd-applications.yaml +++ b/argocd/applications/argocd-applications.yaml @@ -1,23 +1,23 @@ -# Declare the application applying the argocd applications -# basically apply the changes on this repository in argocd +# Declare the argocd application application applying the argocd directory +# content to the argocd cluster apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: production-argocd-applications namespace: argocd spec: project: default # Todo define a project to limit the deployment types source: repoURL: https://forge.softwareheritage.org/source/k8s-clusters-conf.git targetRevision: HEAD path: argocd directory: recurse: true destination: server: https://kubernetes.default.svc namespace: argocd syncPolicy: automated: prune: true selfHeal: true allowEmpty: false diff --git a/argocd/applications/cluster-secrets/production-cassandra.yaml b/argocd/applications/cluster-secrets/production-cassandra.yaml index 2729284..1994010 100644 --- a/argocd/applications/cluster-secrets/production-cassandra.yaml +++ b/argocd/applications/cluster-secrets/production-cassandra.yaml @@ -1,21 +1,22 @@ +# Application applying the secrets on the production-cassandra cluster apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: production-cassandra-secrets namespace: argocd spec: project: default # Todo define a project to limit the deployment types source: repoURL: ssh://git@forge.softwareheritage.org/source/k8s-swh-private-data.git targetRevision: HEAD path: production-cassandra directory: recurse: true destination: server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-pcndd namespace: default syncPolicy: automated: prune: true selfHeal: true allowEmpty: false diff --git a/argocd/applications/cluster-secrets/production-cassandra.yaml b/argocd/applications/production-cassandra/configuration.yaml similarity index 60% copy from argocd/applications/cluster-secrets/production-cassandra.yaml copy to argocd/applications/production-cassandra/configuration.yaml index 2729284..f894c6f 100644 --- a/argocd/applications/cluster-secrets/production-cassandra.yaml +++ b/argocd/applications/production-cassandra/configuration.yaml @@ -1,21 +1,23 @@ +# Declare the applications applying the production-cassandra configuration +# basically apply the content of the production-cassandra directory on the +# production-cassandra cluster apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: production-cassandra-secrets + name: production-cassandra-configuration namespace: argocd spec: project: default # Todo define a project to limit the deployment types source: - repoURL: ssh://git@forge.softwareheritage.org/source/k8s-swh-private-data.git + repoURL: https://forge.softwareheritage.org/source/k8s-clusters-conf.git targetRevision: HEAD path: production-cassandra directory: recurse: true destination: server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-pcndd - namespace: default syncPolicy: automated: prune: true selfHeal: true allowEmpty: false