update
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: mothership
|
name: tdarr
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: app
|
- name: app
|
||||||
port: 8006
|
port: 8265
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8006
|
targetPort: 8265
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|
||||||
@@ -16,13 +16,13 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Endpoints
|
kind: Endpoints
|
||||||
metadata:
|
metadata:
|
||||||
name: mothership
|
name: tdarr
|
||||||
subsets:
|
subsets:
|
||||||
- addresses:
|
- addresses:
|
||||||
- ip: 192.168.21.253
|
- ip: 192.168.20.253
|
||||||
ports:
|
ports:
|
||||||
- name: app
|
- name: app
|
||||||
port: 8006
|
port: 8265
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -30,36 +30,36 @@ subsets:
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: mothership-ingress
|
name: tdarr-ingress
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`mothership.internal.durp.info`)
|
- match: Host(`tdarr.internal.durp.info`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: whitelist
|
- name: whitelist
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: mothership
|
- name: tdarr
|
||||||
port: 8006
|
port: 8265
|
||||||
scheme: https
|
scheme: http
|
||||||
tls:
|
tls:
|
||||||
secretName: mothership-tls
|
secretName: tdarr-tls
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: mothership-tls
|
name: tdarr-tls
|
||||||
spec:
|
spec:
|
||||||
secretName: mothership-tls
|
secretName: tdarr-tls
|
||||||
issuerRef:
|
issuerRef:
|
||||||
name: letsencrypt-production
|
name: letsencrypt-production
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
commonName: "mothership.internal.durp.info"
|
commonName: "tdarr.internal.durp.info"
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- "mothership.internal.durp.info"
|
- "tdarr.internal.durp.info"
|
||||||
Reference in New Issue
Block a user