Restructure project for Docker: move app to src/, add Helm chart and Fleet config

This commit is contained in:
eka
2026-03-01 10:32:26 +05:00
parent b8b822e578
commit 649ec54886
17 changed files with 240 additions and 61 deletions

View File

@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "sigra.fullname" . }}
labels:
{{- include "sigra.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "sigra.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
{{- include "sigra.selectorLabels" . | nindent 8 }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
resources:
{{- toYaml .Values.resources | nindent 12 }}