initial commit
This commit is contained in:
commit
0b7dae5415
|
@ -0,0 +1,13 @@
|
|||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: mt.r8z.us
|
||||
namespace: default
|
||||
spec:
|
||||
secretName: mt.r8z.us-tls
|
||||
issuerRef:
|
||||
name: letsencrypt
|
||||
kind: ClusterIssuer
|
||||
commonName: mt.r8z.us
|
||||
dnsNames:
|
||||
- mt.r8z.us
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: mt-ing-rt
|
||||
namespace: default
|
||||
spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`mt.r8z.us`) && (PathPrefix(`/`)
|
||||
services:
|
||||
- kind: Service
|
||||
name: mt-svc
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
name: mt-ingress
|
||||
namespace: default
|
||||
spec:
|
||||
rules:
|
||||
- host: mt.r8z.us
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: mt-svc
|
||||
port:
|
||||
number: 80
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- mt.r8z.us
|
||||
secretName: mt.r8z.us-tls
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mt-svc
|
||||
labels:
|
||||
app: mt-test
|
||||
spec:
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
||||
ipFamilyPolicy: RequireDualStack
|
||||
selector:
|
||||
app: mt-test
|
||||
ports:
|
||||
- protocol: TCP
|
||||
name: http
|
||||
port: 80
|
||||
- protocol: TCP
|
||||
name: https
|
||||
port: 443
|
Loading…
Reference in New Issue