apps: pixelfed: use ExternalName service
Anirudh Oppiliappan x@icyphox.sh
Fri, 12 Jul 2024 09:07:51 +0300
1 files changed,
3 insertions(+),
18 deletions(-)
jump to
M
apps/pixelfed/pixelfed.yaml
→
apps/pixelfed/pixelfed.yaml
@@ -3,22 +3,8 @@ kind: Service
metadata: name: pixelfed spec: - # selector: - # app: pixelfed - ports: - - name: pixelfed-http - port: 80 - targetPort: 3535 ---- -apiVersion: v1 -kind: Endpoints -metadata: - name: pixelfed -subsets: -- addresses: - - ip: 192.168.100.30 - ports: - - port: 3535 + type: ExternalName + externalName: sini --- apiVersion: networking.k8s.io/v1 kind: Ingress@@ -37,5 +23,4 @@ backend:
service: name: pixelfed port: - number: 80 - + number: 3535