update radio deployment

master
Robert Burgess 2024-08-13 03:45:29 -04:00
parent 73d3e6fca9
commit cb6c62f8d3
3 changed files with 32 additions and 6 deletions

View File

@ -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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
@ -17,3 +35,17 @@ spec:
image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.0 image: gitea.simplysyncedllc.com/dex/kx3dex_radio:1.3.0
ports: ports:
- containerPort: 3000 - 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

View File

@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: kx3dex-radio

View File

@ -2,8 +2,6 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: ingress-nginx name: ingress-nginx
labels:
toolkit.fluxcd.io/tenant: sre-team
--- ---
apiVersion: source.toolkit.fluxcd.io/v1 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository