personal-charts/charts/vp-web/0.1.0/templates/deployment.yaml
2023-11-19 20:24:29 +01:00

25 lines
666 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "vp-web.fullname" . }}
labels:
{{- include "vp-web.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "vp-web.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
{{- include "vp-web.selectorLabels" . | nindent 8 }}
spec:
containers:
- name: app
image: "git.leidinger.party/hendrik/uwsgi-new"
imagePullPolicy: IfNotPresent
- name: web
image: "git.leidinger.party/hendrik/nginx"
imagePullPolicy: IfNotPresent