ungleich-k8s/certificates/cert-for-service.yaml
Nico Schottelius 5867cc8baf ++certs
2021-06-10 00:02:16 +02:00

32 lines
516 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nginxssl
spec:
selector:
matchLabels:
app: nginxssl
replicas: 1
template:
metadata:
labels:
app: nginxssl
spec:
containers:
- name: nginx
image: nginx:1.20.0-alpine
ports:
- containerPort: 443
---
apiVersion: v1
kind: Service
metadata:
name: etherpad
labels:
app: etherpadsooooolite
spec:
type: ClusterIP
ports:
- port: 80
selector:
app: etherpadsooooolite