[CHORE] Migrate to helm chart (#4)

Co-authored-by: dunemask <dunemask@gmail.com>
Reviewed-on: https://gitea.dunemask.net/elysium/nubian/pulls/4
This commit is contained in:
dunemask 2023-08-25 01:29:15 +00:00
parent 3dba2dd52f
commit ee5c3fd600
12 changed files with 414 additions and 1 deletions

15
templates/service.yaml Normal file
View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "nubian.fullname" . }}
labels:
{{- include "nubian.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "nubian.selectorLabels" . | nindent 4 }}