diff --git a/K8S_config/clusterip.yaml b/argocd_k8S_config/clusterip.yaml similarity index 100% rename from K8S_config/clusterip.yaml rename to argocd_k8S_config/clusterip.yaml diff --git a/K8S_config/deployment-apiserver.yaml b/argocd_k8S_config/deployment-apiserver.yaml similarity index 100% rename from K8S_config/deployment-apiserver.yaml rename to argocd_k8S_config/deployment-apiserver.yaml diff --git a/K8S_config/deployment-frontend.yaml b/argocd_k8S_config/deployment-frontend.yaml similarity index 100% rename from K8S_config/deployment-frontend.yaml rename to argocd_k8S_config/deployment-frontend.yaml diff --git a/K8S_config/ingress.yaml b/argocd_k8S_config/ingress.yaml similarity index 100% rename from K8S_config/ingress.yaml rename to argocd_k8S_config/ingress.yaml diff --git a/k8s_config/.argocd.yaml b/k8s_config/.argocd.yaml new file mode 100644 index 0000000..2a5f8de --- /dev/null +++ b/k8s_config/.argocd.yaml @@ -0,0 +1,8 @@ +piVersion: argoproj.io/v1alpha1 +kind: Application +spec: + source: + path: . + ignore: + - redis-deployment.yaml + - secrets.yaml \ No newline at end of file diff --git a/k8s_config/redis-deployment.yaml b/k8s_config/redis-deployment.yaml new file mode 100644 index 0000000..77b2125 --- /dev/null +++ b/k8s_config/redis-deployment.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Deployment +metadata: + name: redis-deployment + namespace: d1l1th1um +spec: + replicas: 2 + template: \ No newline at end of file diff --git a/k8s_config/secrets.yaml b/k8s_config/secrets.yaml new file mode 100644 index 0000000..db40b8a --- /dev/null +++ b/k8s_config/secrets.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Secret +metadata: + name: d1l1th1um-apiserver-env-secret + namespace: d1l1th1um +type: Opaque +data: + MONGODB_USER: base64_encoded + MONGODB_PASSWD: base64_encoded + JWT_SECRET: base64_encoded \ No newline at end of file