ungleich-k8s/apps/workadventure/v3/templates/icon-deployment.yaml

39 lines
867 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
name: {{ .Release.Name }}-icon
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: icon
template:
metadata:
labels:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: icon
spec:
containers:
- image: matthiasluedtke/iconserver:v3.13.0
name: icon
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-icon
labels:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: icon
spec:
type: ClusterIP
ports:
- port: 80
name: http
selector:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: icon