about summary refs log tree commit diff
path: root/misc/nginx/templates/deployment.yaml
diff options
context:
space:
mode:
authorIurii Plugatariov <[email protected]>2024-06-28 17:57:16 +0200
committerGitHub <[email protected]>2024-06-28 17:57:16 +0200
commitc6292662cd65ba74a15841c8e698e64bfbcc65cb (patch)
tree5ebb53f940860cd14ce5625c40b1d8db9ce9aa81 /misc/nginx/templates/deployment.yaml
parent303262c75bd8d3ad2e166760f0518a0d8aa0591c (diff)
parent812cf4c17ef7570e52427e4a590b3a8c168c1621 (diff)
downloadk3s-lab-c6292662cd65ba74a15841c8e698e64bfbcc65cb.tar.gz
Merge pull request #1 from makefunstuff/argocd-and-stuff
argocd and stuff
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
+