external-resources #291

Merged
aggarwalakshun merged 6 commits from external-resources into main 2026-01-21 05:14:28 +05:30
3 changed files with 53 additions and 0 deletions
Showing only changes of commit 1e9f1f9f48 - Show all commits

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Endpoints
metadata:
name: omv
namespace: external-resources
subsets:
- addresses:
- ip: 192.168.1.4
ports:
- name: http
protocol: TCP
port: 80

View File

@@ -0,0 +1,27 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: omv-ingress
namespace: external-resources
annotations:
cert-manager.io/cluster-issuer: letsencrypt-cloudflare
traefik.ingress.kubernetes.io/router.middlewares: tools-authelia@kubernetescrd
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
tls:
- hosts:
- omv.akshun-lab.cc
secretName: omv-tls
rules:
- host: omv.akshun-lab.cc
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: omv
port:
number: 80

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: omv
namespace: external-resources
spec:
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
clusterIP: None