diff --git a/charts/qalita/Chart.lock b/charts/qalita/Chart.lock
new file mode 100644
index 0000000..28ddbc5
--- /dev/null
+++ b/charts/qalita/Chart.lock
@@ -0,0 +1,9 @@
+dependencies:
+- name: postgresql
+ repository: https://charts.bitnami.com/bitnami
+ version: 12.5.8
+- name: seaweedfs
+ repository: https://seaweedfs.github.io/seaweedfs/helm
+ version: "3.55"
+digest: sha256:fcb29682b74b34f1d62aed162b5348d2ce4efcb73e8b82156c5f2a116b47dd62
+generated: "2023-07-29T11:30:04.260376205+02:00"
diff --git a/charts/qalita/Chart.yaml b/charts/qalita/Chart.yaml
index aebdbfd..6c612c9 100644
--- a/charts/qalita/Chart.yaml
+++ b/charts/qalita/Chart.yaml
@@ -1,7 +1,7 @@
apiVersion: v2
description: Helm chart for QALITA Platform, a platform for managing and monitoring your data quality.
name: qalita
-version: "1.0.30"
+version: "1.0.31"
icon: https://avatars.githubusercontent.com/u/101010687?s=48&v=4
appVersion: "1.0.0"
home: https://qalita.io
diff --git a/charts/qalita/README.md b/charts/qalita/README.md
index 4dfda96..89e99d2 100644
--- a/charts/qalita/README.md
+++ b/charts/qalita/README.md
@@ -1,6 +1,10 @@
-# QALITA Helm Chart
+# QALITA Platform Helm Chart
-This chart deploys QALITA on a Kubernetes cluster using the Helm package manager.
+
+
+
+
+This chart deploys QALITA Platform on a Kubernetes cluster using the Helm package manager.
# Quick Start
diff --git a/charts/qalita/templates/doc-deployment.yaml b/charts/qalita/templates/doc-deployment.yaml
new file mode 100644
index 0000000..d137a15
--- /dev/null
+++ b/charts/qalita/templates/doc-deployment.yaml
@@ -0,0 +1,43 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: "{{ .Release.Name }}-doc"
+ labels:
+ app: "{{ .Release.Name }}-doc"
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ heritage: {{ .Release.Service }}
+ release: {{ .Release.Name }}
+{{ include "qalita.labels" . | indent 4 }}
+spec:
+ replicas: {{ .Values.doc.replicaCount }}
+ selector:
+ matchLabels:
+ app: "{{ .Release.Name }}-doc"
+ release: {{ .Release.Name }}
+ template:
+ metadata:
+ labels:
+ app: "{{ .Release.Name }}-doc"
+ release: {{ .Release.Name }}
+ annotations:
+ rollme: {{ randAlphaNum 5 | quote }}
+ spec:
+ containers:
+ - name: "doc"
+ image: "{{ .Values.doc.image.repository }}:{{ .Values.doc.image.tag }}"
+ imagePullPolicy: {{ .Values.doc.image.pullPolicy }}
+{{- if .Values.doc.deployment.env }}
+{{ toYaml .Values.doc.deployment.env | indent 10 }}
+{{- end }}
+ ports:
+ - containerPort: {{ .Values.doc.service.targetPort }}
+ name: {{ .Values.doc.service.targetPort }}{{ .Values.doc.service.protocol | lower }}
+ protocol: {{ .Values.doc.service.protocol }}
+{{- if .Values.doc.deployment.resources }}
+ resources:
+{{ toYaml .Values.doc.deployment.resources | indent 10 }}
+{{- end }}
+ {{- if .Values.dockerregistry.enabled }}
+ imagePullSecrets:
+ - name: "{{ .Release.Name }}-dockerregistry"
+ {{- end }}
diff --git a/charts/qalita/templates/doc-ingress.yaml b/charts/qalita/templates/doc-ingress.yaml
new file mode 100644
index 0000000..c28ff04
--- /dev/null
+++ b/charts/qalita/templates/doc-ingress.yaml
@@ -0,0 +1,42 @@
+{{- if .Values.doc.ingress.enabled -}}
+{{- $serviceName := print .Release.Name "-doc-service" }}
+{{- $servicePort := print .Values.doc.service.targetPort .Values.doc.service.protocol | lower -}}
+
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: "{{ .Release.Name }}-doc-ingress"
+ annotations:
+ cert-manager.io/cluster-issuer: {{ .Values.cluster.issuer }}
+ ingress.kubernetes.io/ssl-redirect: "true"
+ kubernetes.io/ingress.allow-http: "false"
+ traefik.ingress.kubernetes.io/router.entrypoints: websecure
+ traefik.ingress.kubernetes.io/router.tls: "true"
+ labels:
+ app: "{{ .Release.Name }}-doc"
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ heritage: {{ .Release.Service }}
+ release: {{ .Release.Name }}
+{{- if .Values.doc.ingress.annotations }}
+ annotations:
+{{ toYaml .Values.doc.ingress.annotations | indent 4 }}
+{{- end }}
+spec:
+{{- if .Values.doc.ingress.tls.enabled }}
+ tls:
+ - hosts:
+ - doc.{{ .Values.cluster.domain }}
+ secretName: doc-cert
+{{- end }}
+ rules:
+ - host: doc.{{ .Values.cluster.domain }}
+ http:
+ paths:
+ - path: /
+ pathType: ImplementationSpecific
+ backend:
+ service:
+ name: {{ $serviceName }}
+ port:
+ name: {{ $servicePort }}
+{{- end -}}
diff --git a/charts/qalita/templates/doc-service.yaml b/charts/qalita/templates/doc-service.yaml
new file mode 100644
index 0000000..8f56feb
--- /dev/null
+++ b/charts/qalita/templates/doc-service.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: "{{ .Release.Name }}-doc-service"
+spec:
+ type: {{ .Values.doc.service.type }}
+ ports:
+ - name: {{ .Values.doc.service.targetPort }}{{ .Values.doc.service.protocol | lower }}
+ port: {{ .Values.doc.service.targetPort }}
+ protocol: {{ .Values.doc.service.protocol }}
+ targetPort: {{ .Values.doc.service.targetPort }}{{ .Values.doc.service.protocol | lower }}
+ selector:
+ app: "{{ .Release.Name }}-doc"
+ release: {{ .Release.Name }}
diff --git a/charts/qalita/templates/frontend-deployment.yaml b/charts/qalita/templates/frontend-deployment.yaml
index 3ebdd15..1e22100 100644
--- a/charts/qalita/templates/frontend-deployment.yaml
+++ b/charts/qalita/templates/frontend-deployment.yaml
@@ -31,6 +31,8 @@ spec:
value: "http://{{ .Release.Name }}-backend-service:3080/api/v1"
- name: QALITA_PUBLIC_API_URL
value: "https://api.{{ .Values.cluster.domain }}"
+ - name: QALITA_PUBLIC_DOC_URL
+ value: "https://doc.{{ .Values.cluster.domain }}"
{{- if .Values.frontend.deployment.env }}
{{ toYaml .Values.frontend.deployment.env | indent 10 }}
{{- end }}
diff --git a/charts/qalita/values.yaml b/charts/qalita/values.yaml
index a2b6abc..7d485da 100644
--- a/charts/qalita/values.yaml
+++ b/charts/qalita/values.yaml
@@ -42,6 +42,30 @@ frontend:
- name: NEXT_WEBPACK_USEPOLLING
value: "false"
+doc:
+ image:
+ repository: qalita.azurecr.io/qalita/doc
+ tag: "1.0.0"
+ pullPolicy: IfNotPresent
+
+ replicaCount: 1
+
+ service:
+ type: ClusterIP
+ targetPort: "80"
+ protocol: TCP
+
+ ingress:
+ enabled: true
+ tls:
+ enabled: true
+
+ deployment:
+ resources:
+ requests:
+ memory: "50mi"
+ cpu: "50m"
+
backend:
image:
repository: qalita.azurecr.io/qalita/backend