Files
yamls/swaous.yaml
The Ephemeral Force a8f5142689 yippeeeeee
2025-04-18 12:07:46 -04:00

65 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: swaous.asuscomm.com
annotations:
keel.sh/policy: all
keel.sh/trigger: poll
spec:
replicas: 1
selector:
matchLabels:
app: swaous.asuscomm.com
template:
metadata:
labels:
app: swaous.asuscomm.com
spec:
containers:
- name: swaous-container
image: swaous.asuscomm.com/swaous.asuscomm.com:latest
imagePullPolicy: Always
ports:
- containerPort: 80
imagePullSecrets:
- name: regcred
---
apiVersion: v1
kind: Service
metadata:
name: homepage-service
spec:
selector:
app: swaous.asuscomm.com
ports:
- port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
kubernetes.io/ingress.class: traefik
name: homepage
spec:
rules:
- host: swaous.asuscomm.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: homepage-service
port:
number: 80
tls:
- hosts:
- swaous.asuscomm.com
secretName: swaous-tls