diff --git a/simplysyncedllc-com/application.yaml b/simplysyncedllc-com/application.yaml new file mode 100644 index 0000000..31211db --- /dev/null +++ b/simplysyncedllc-com/application.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: simplysyncedllc-com-site + namespace: argocd +spec: + project: simplysyncedllc-com + + source: + repoURL: https://gitea.simplysyncedllc.com/Dex/argocd-configs.git + targetRevision: HEAD + path: simplysyncedllc/prod + destination: + server: https://kubernetes.default.svc + namespace: simplysyncedllc-com + + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: true + prune: true diff --git a/simplysyncedllc-com/prod/deployment.yaml b/simplysyncedllc-com/prod/deployment.yaml new file mode 100644 index 0000000..08f7549 --- /dev/null +++ b/simplysyncedllc-com/prod/deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simplysyncedllc-com-deployment +spec: + selector: + matchLabels: + app: SIMPLYSYNCEDLLC_com + replicas: 2 + template: + metadata: + labels: + app: SIMPLYSYNCEDLLC_com + spec: + containers: + - name: simplysyncedllc-com-site + image: gitea.simplysyncedllc.com/dex/ss_site:1.0.0 + ports: + - containerPort: 3000 diff --git a/simplysyncedllc-com/prod/service.yaml b/simplysyncedllc-com/prod/service.yaml new file mode 100644 index 0000000..0b97fea --- /dev/null +++ b/simplysyncedllc-com/prod/service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: simplysyncedllc-com-service +spec: + type: NodePort + selector: + app: SIMPLYSYNCEDLLC_com + ports: + - protocol: TCP + port: 3000 + targetPort: 3000 + nodePort: 30080