commit 459662a4869f147a4162b02fe76d2745cf7d3e54 Author: Dex Date: Wed May 1 02:41:10 2024 -0400 initial commit 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