about summary refs log tree commit diff
path: root/gogs/gogs-svc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gogs/gogs-svc.yaml')
-rw-r--r--gogs/gogs-svc.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/gogs/gogs-svc.yaml b/gogs/gogs-svc.yaml
new file mode 100644
index 000000000000..66cd97419b75
--- /dev/null
+++ b/gogs/gogs-svc.yaml
@@ -0,0 +1,20 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: gogs
+  labels:
+    app: gogs
+spec:
+  type: LoadBalancer
+  selector:
+    app: gogs
+  ports:
+    - port: 22
+      targetPort: 22
+      name: git-ssh
+    - port: 443
+      targetPort: 443
+      name: gogs-https
+    - port: 80
+      targetPort: 80
+      name: gogs-http