about summary refs log tree commit diff
path: root/misc/nginx/templates/deployment.yaml
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 14:50:46 +0200
committermakefunstuff <[email protected]>2024-06-28 14:50:46 +0200
commit8c6eeb9045125aa3b0666deccc3815e78112ea16 (patch)
treec0f1453d1b093048391d7328376426270a43f6d4 /misc/nginx/templates/deployment.yaml
parent5f14386dcdd3530c79a31678a1a3bf59e3ddb6ef (diff)
downloadk3s-lab-8c6eeb9045125aa3b0666deccc3815e78112ea16.tar.gz
though nginx works
Diffstat (limited to '')
-rw-r--r--misc/nginx/templates/deployment.yaml22
1 files changed, 22 insertions, 0 deletions
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
+