about summary refs log tree commit diff
path: root/misc/nginx/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/nginx/templates/service.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/nginx/templates/service.yaml b/misc/nginx/templates/service.yaml
new file mode 100644
index 0000000..b4c4888
--- /dev/null
+++ b/misc/nginx/templates/service.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: nginx
+spec:
+  type: {{ .Values.service.type }}
+  ports:
+    - port: {{ .Values.service.port }}
+      targetPort: 80
+  selector:
+    app: nginx
+