From 8c6eeb9045125aa3b0666deccc3815e78112ea16 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 15:50:46 +0300 Subject: though nginx works --- misc/nginx/templates/deployment.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 misc/nginx/templates/deployment.yaml (limited to 'misc/nginx/templates/deployment.yaml') diff --git a/misc/nginx/templates/deployment.yaml b/misc/nginx/templates/deployment.yaml new file mode 100644 index 0000000..4a8dc99 --- /dev/null +++ b/misc/nginx/templates/deployment.yaml @@ -0,0 +1,22 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx + labels: + app: nginx +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + ports: + - containerPort: 80 + -- cgit 1.4.1-2-gfad0