add base apps
This commit is contained in:
30
clusters/cl01tl/applications/kiwix/templates/http-route.yaml
Normal file
30
clusters/cl01tl/applications/kiwix/templates/http-route.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: http-route-kiwix
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: http-route-kiwix
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||
app.kubernetes.io/component: web
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: traefik-gateway
|
||||
namespace: traefik
|
||||
hostnames:
|
||||
- kiwix.alexlebens.net
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- group: ''
|
||||
kind: Service
|
||||
name: kiwix
|
||||
port: 80
|
||||
weight: 100
|
@@ -30,21 +30,6 @@ kiwix:
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
protocol: HTTP
|
||||
ingress:
|
||||
tailscale:
|
||||
enabled: true
|
||||
className: tailscale
|
||||
hosts:
|
||||
- host: kiwix-cl01tl
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
service:
|
||||
name: kiwix
|
||||
port: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- kiwix-cl01tl
|
||||
persistence:
|
||||
media:
|
||||
existingClaim: kiwix-nfs-storage
|
30
clusters/cl01tl/applications/plex/templates/http-route.yaml
Normal file
30
clusters/cl01tl/applications/plex/templates/http-route.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: http-route-plex
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: http-route-plex
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||
app.kubernetes.io/component: web
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: traefik-gateway
|
||||
namespace: traefik
|
||||
hostnames:
|
||||
- plex.alexlebens.net
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- group: ''
|
||||
kind: Service
|
||||
name: plex
|
||||
port: 32400
|
||||
weight: 100
|
@@ -29,45 +29,12 @@ plex:
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
# type: LoadBalancer
|
||||
ports:
|
||||
http:
|
||||
port: 32400
|
||||
targetPort: 32400
|
||||
protocol: HTTP
|
||||
ingress:
|
||||
tailscale:
|
||||
enabled: true
|
||||
className: tailscale
|
||||
hosts:
|
||||
- host: plex-cl01tl
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
service:
|
||||
name: plex
|
||||
port: 32400
|
||||
tls:
|
||||
- hosts:
|
||||
- plex-cl01tl
|
||||
traefik:
|
||||
enabled: true
|
||||
className: traefik
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||
hosts:
|
||||
- host: plex.alexlebens.net
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
service:
|
||||
name: plex
|
||||
port: 32400
|
||||
tls:
|
||||
- hosts:
|
||||
- plex.alexlebens.net
|
||||
secretName: plex-tls-secret
|
||||
persistence:
|
||||
config:
|
||||
storageClass: ceph-block
|
Reference in New Issue
Block a user