diff --git a/apps/kx3dex-radio/deployment.yaml b/apps/kx3dex-radio/deployment.yaml index 42f4c58..d822b6e 100644 --- a/apps/kx3dex-radio/deployment.yaml +++ b/apps/kx3dex-radio/deployment.yaml @@ -1,3 +1,21 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: kx3dex-radio +--- +apiVersion: v1 +kind: Service +metadata: + name: kx3dex-radio +spec: + type: NodePort + selector: + app: KX3DEX_Radio + ports: + - protocol: TCP + port: 3000 + targetPort: 3000 +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -17,3 +35,17 @@ spec: image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.0 ports: - containerPort: 3000 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: KX3DEX_Radio-ingress + namespace: kx3dex-radio +spec: + rules: + - host: kx3dex.radio + http: + paths: + - backend: + serviceName: kx3dex-radio + servicePort: 3000 diff --git a/apps/kx3dex-radio/namespace.yaml b/apps/kx3dex-radio/namespace.yaml deleted file mode 100644 index fdb6410..0000000 --- a/apps/kx3dex-radio/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: kx3dex-radio diff --git a/infrastructure/ingress/ingress-controller.yaml b/infrastructure/ingress/ingress-controller.yaml index 45dc00e..abb11e4 100644 --- a/infrastructure/ingress/ingress-controller.yaml +++ b/infrastructure/ingress/ingress-controller.yaml @@ -2,8 +2,6 @@ apiVersion: v1 kind: Namespace metadata: name: ingress-nginx - labels: - toolkit.fluxcd.io/tenant: sre-team --- apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository