mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-20 04:23:16 +00:00
Add Helm chart for Kubernetes deployment
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "xslt-playground.fullname" . }}-backend
|
||||
labels:
|
||||
{{- include "xslt-playground.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.backend.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.backend.port }}
|
||||
targetPort: {{ .Values.service.backend.port }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "xslt-playground.selectorLabels" . | nindent 4 }}
|
||||
component: backend
|
||||
|
||||
Reference in New Issue
Block a user