HelmCLI: support SOL018 Helm CLI ssh access
[pti/o2.git] / charts / templates / service.yaml
index 990f78b..8e59597 100644 (file)
@@ -29,3 +29,19 @@ spec:
   selector:
     app: o2api
 ---
+apiVersion: v1
+kind: Service
+metadata:
+  name: helmcli
+  namespace: {{ .Values.global.namespace }}
+spec:
+  type: NodePort
+  ports:
+  - name: helmcli
+    port: 10022
+    targetPort: 22
+    nodePort: 30022
+    protocol: TCP
+  selector:
+    app: o2api
+---
\ No newline at end of file