From 459662a4869f147a4162b02fe76d2745cf7d3e54 Mon Sep 17 00:00:00 2001 From: Dex Date: Wed, 1 May 2024 02:41:10 -0400 Subject: [PATCH] initial commit --- kx3dex-radio/application.yaml | 23 +++++++++++++++++++++++ kx3dex-radio/prod/deployment.yaml | 19 +++++++++++++++++++ kx3dex-radio/prod/service.yaml | 11 +++++++++++ 3 files changed, 53 insertions(+) create mode 100644 kx3dex-radio/application.yaml create mode 100644 kx3dex-radio/prod/deployment.yaml create mode 100644 kx3dex-radio/prod/service.yaml diff --git a/kx3dex-radio/application.yaml b/kx3dex-radio/application.yaml new file mode 100644 index 0000000..b825adb --- /dev/null +++ b/kx3dex-radio/application.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kx3dex-radio-site + namespace: argocd +spec: + project: kx3dex-radio + + source: + repoURL: https://gitea.simplysyncedllc.com/Dex/argocd-configs.git + targetRevision: HEAD + path: prod + destination: + server: https://kubernetes.default.svc + namespace: kx3dex-radio + + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: true + prune: true diff --git a/kx3dex-radio/prod/deployment.yaml b/kx3dex-radio/prod/deployment.yaml new file mode 100644 index 0000000..e5c9d09 --- /dev/null +++ b/kx3dex-radio/prod/deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: kx3dex-radio-deployment +spec: + selector: + matchLabels: + app: KX3DEX_Radio + replicas: 2 + template: + metadata: + labels: + app: KX3DEX_Radio + spec: + containers: + - name: kx3dex-radio-site + image: gitea.simplysyncedllc.com/dex/kx3dex_radio:latest + ports: + - containerPort: 3000 diff --git a/kx3dex-radio/prod/service.yaml b/kx3dex-radio/prod/service.yaml new file mode 100644 index 0000000..5aef174 --- /dev/null +++ b/kx3dex-radio/prod/service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: kx3dex-radio-service +spec: + selector: + app: myapp + ports: + - port: 3000 + protocol: TCP + targetPort: 3000