diff options
Diffstat (limited to 'k8s/rest-api/templates/service.yaml')
-rw-r--r-- | k8s/rest-api/templates/service.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/k8s/rest-api/templates/service.yaml b/k8s/rest-api/templates/service.yaml new file mode 100644 index 0000000..4942d60 --- /dev/null +++ b/k8s/rest-api/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "rest-api.fullname" . }} + labels: + {{- include "rest-api.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + nodePort: 30124 + protocol: TCP + name: http + selector: + {{- include "rest-api.selectorLabels" . | nindent 4 }} |