Skip to content

Commit

Permalink
feat: install Excalidraw
Browse files Browse the repository at this point in the history
  • Loading branch information
khuedoan committed Jan 13, 2023
1 parent e6a119e commit 349faa3
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apps/excalidraw/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: excalidraw
name: excalidraw
spec:
selector:
matchLabels:
app: excalidraw
template:
metadata:
labels:
app: excalidraw
spec:
containers:
- name: excalidraw
image: excalidraw/excalidraw:latest
24 changes: 24 additions & 0 deletions apps/excalidraw/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: excalidraw
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 draw.khuedoan.com
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: excalidraw
port:
name: http
tls:
- secretName: excalidraw-tls-certificate
hosts:
- *host
15 changes: 15 additions & 0 deletions apps/excalidraw/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: excalidraw
name: excalidraw
spec:
type: ClusterIP
selector:
app: excalidraw
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80

0 comments on commit 349faa3

Please sign in to comment.