mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
website
This commit is contained in:
21
michaelthomson/deployment.yaml
Normal file
21
michaelthomson/deployment.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: michaelthomson
|
||||
namespace: michaelthomson
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: michaelthomson
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: michaelthomson
|
||||
spec:
|
||||
containers:
|
||||
- name: michaelthomson
|
||||
image: gitea.michaelthomson.dev/mthomson/michaelthomson:latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: http
|
||||
protocol: TCP
|
||||
15
michaelthomson/dns-endpoint.yaml
Normal file
15
michaelthomson/dns-endpoint.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: externaldns.k8s.io/v1alpha1
|
||||
kind: DNSEndpoint
|
||||
metadata:
|
||||
name: michaelthomson.dev
|
||||
namespace: michaelthomson
|
||||
spec:
|
||||
endpoints:
|
||||
- dnsName: michaelthomson.dev
|
||||
recordTTL: 180
|
||||
recordType: A
|
||||
targets:
|
||||
- 142.126.163.72
|
||||
providerSpecific:
|
||||
- name: external-dns.alpha.kubernetes.io/cloudflare-proxied
|
||||
value: "true"
|
||||
24
michaelthomson/ingress.yaml
Normal file
24
michaelthomson/ingress.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: michaelthomson
|
||||
namespace: michaelthomson
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
spec:
|
||||
rules:
|
||||
- host: michaelthomson.dev
|
||||
http:
|
||||
paths:
|
||||
- pathType: ImplementationSpecific
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: michaelthomson
|
||||
port:
|
||||
name: http
|
||||
tls:
|
||||
- hosts:
|
||||
- michaelthomson.dev
|
||||
secretName: letsencrypt-wildcard-cert-michaelthomson.dev
|
||||
12
michaelthomson/service.yaml
Normal file
12
michaelthomson/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: michaelthomson
|
||||
namespace: michaelthomson
|
||||
spec:
|
||||
selector:
|
||||
app: michaelthomson
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: http
|
||||
name: http
|
||||
Reference in New Issue
Block a user