refactor(blog)!: move blog to khuedoan/horus

https://github.com/khuedoan/horus/blob/master/apps/blog.yaml
This commit is contained in:
Khue Doan 2022-02-09 19:05:09 +07:00
parent a282bb0bb8
commit b6313e41a9
4 changed files with 0 additions and 67 deletions

View File

@ -1,21 +0,0 @@
# TESTING
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: blog
name: blog
spec:
replicas: 3
selector:
matchLabels:
app: blog
template:
metadata:
labels:
app: blog
spec:
containers:
- name: blog
image: registry.khuedoan.com/blog:latest
imagePullPolicy: Always

View File

@ -1,24 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: blog
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/target: homelab-tunnel.khuedoan.com
external-dns.alpha.kubernetes.io/cloudflare-proxied: 'true'
spec:
ingressClassName: nginx
rules:
- host: &host blog.khuedoan.com
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: blog
port:
name: http
tls:
- hosts:
- *host
secretName: blog-tls-certificate

View File

@ -1,7 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
- ingress.yaml

View File

@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: blog
name: blog
spec:
type: ClusterIP
selector:
app: blog
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80