minimal-setups/deployment/deploy-yml.tmpl
Wolfgang Hottgenroth c0101a5b39
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
adjust
2025-01-13 14:44:58 +01:00

60 lines
1.1 KiB
Cheetah

apiVersion: apps/v1
kind: Deployment
metadata:
name: minimal-setups
labels:
app: minimal-setups
spec:
replicas: 1
selector:
matchLabels:
app: minimal-setups
template:
metadata:
labels:
app: minimal-setups
spec:
containers:
- name: minimal-setups
image: %IMAGE%
ports:
- containerPort: 8080
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: minimal-setups
spec:
type: ClusterIP
selector:
app: minimal-setups
ports:
- name: http
targetPort: 8080
port: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: minimal-setups
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production-http
spec:
tls:
- hosts:
- minimal-setups.de
secretName: minimal-setups
rules:
- host: minimal-setups.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: minimal-setups
port:
number: 80