diff --git a/production_app_deployment.yaml b/values/production-app-deployment.yaml similarity index 91% rename from production_app_deployment.yaml rename to values/production-app-deployment.yaml index 56d044c..15dbdd6 100644 --- a/production_app_deployment.yaml +++ b/values/production-app-deployment.yaml @@ -1,30 +1,30 @@ -apiVersion: argoproj.io/v1alpha1 +/apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: ranchercluster # Application name namespace: argocd # Argocd namespace installation spec: destination: server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-fvnrx # Destination cluster url namespace: graphql-rancher # Application deployment namespace - + project: default # name of project source: repoURL: https://github.com/amadouth6/argocd.git # repo URL targetRevision: internship-cluster # Branch content helm charts path: swh-graphql/ # helm chart path helm: releaseName: ranchercluster # release name same as application name valueFiles: # List of values files - myvalues.yaml - ranchervalues.yaml # Custom sync policy and automate task syncPolicy: syncOptions: - - CreateNamespace=true - + - CreateNamespace=true + automated: selfHeal: true prune: true diff --git a/stag_app_deployment.yaml b/values/staging-app-deployment.yaml similarity index 92% rename from stag_app_deployment.yaml rename to values/staging-app-deployment.yaml index 6d629cb..df85ce5 100644 --- a/stag_app_deployment.yaml +++ b/values/staging-app-deployment.yaml @@ -1,30 +1,30 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: minikubegraphql # Application name namespace: argocd # Argocd namespace installation - + spec: destination: - server: https://kubernetes.default.svc # Destination cluster url + server: https://kubernetes.default.svc # Destination cluster url namespace: graphql-minikube # Application deployment namespace - + project: default # name of project source: repoURL: https://github.com/amadouth6/argocd.git # repo URL targetRevision: minikube-cluster # Branch content helm charts path: swh-graphql/ # helm chart path helm: releaseName: minikubegraphql # release name same as application name valueFiles: # list of values files - myvalues.yaml - minikube-value.yml - + # Custom sync policy and automate task - syncPolicy: + syncPolicy: syncOptions: - - CreateNamespace=true - + - CreateNamespace=true + automated: selfHeal: true prune: true