From 6403e617319f7166e6d25db8f2099130b3119389 Mon Sep 17 00:00:00 2001
From: nold <nold@gnu.one>
Date: Fri, 20 Dec 2024 20:45:33 +0100
Subject: [PATCH] add: bi/qdrant

---
 projects/bi/project.yaml              |  6 ++++++
 projects/{ai => bi}/values/qdrant.yml | 22 ++++++++++------------
 2 files changed, 16 insertions(+), 12 deletions(-)
 rename projects/{ai => bi}/values/qdrant.yml (74%)

diff --git a/projects/bi/project.yaml b/projects/bi/project.yaml
index 9a4496c4..5c7f7c18 100644
--- a/projects/bi/project.yaml
+++ b/projects/bi/project.yaml
@@ -21,6 +21,12 @@ apps:
     jsonPointers:
     - /spec/replicas
 
+- name: qdrant
+  namespace: bi
+  repoUR: https://qdrant.github.io/qdrant-helm
+  chart: qdrant
+  targetRevision: 1.12.5
+
 # - name: mongo-express
 #   repoURL: https://cowboysysop.github.io/charts/
 #   chart: mongo-express
diff --git a/projects/ai/values/qdrant.yml b/projects/bi/values/qdrant.yml
similarity index 74%
rename from projects/ai/values/qdrant.yml
rename to projects/bi/values/qdrant.yml
index 08672bce..34764ced 100644
--- a/projects/ai/values/qdrant.yml
+++ b/projects/bi/values/qdrant.yml
@@ -1,6 +1,5 @@
 image:
   repository: docker.io/qdrant/qdrant
-  pullPolicy: IfNotPresent
   tag: "v1.12.5"
   useUnprivilegedImage: true
 
@@ -9,28 +8,27 @@ env:
     value: "true"
 
 ingress:
-  enabled: false
-  ingressClassName: ""
-  additionalLabels: {}
-  annotations: {}
-    # kubernetes.io/ingress.class: alb
+  enabled: true
+  ingressClassName: "ingress-internal"
+  annotations:
+    cert-manager.io/cluster-issuer: vault-issuer
   hosts:
-    - host: example-domain.com
+    - host: qdrant.dc
       paths:
         - path: /
           pathType: Prefix
           servicePort: 6333
-  tls: []
-    # - hosts:
-    #    - example-domain.com
-    #   secretName: tls-secret-name
+  tls:
+    - hosts:
+      - qdrant.dc
+      secretName: tls-qdrant
 
 updateVolumeFsOwnership: false
 
 persistence:
   accessModes: ["ReadWriteOnce"]
   size: 10Gi
-  storageClassName: ssd
+  # storageClassName:
 
 # modification example for configuration to overwrite defaults
 config: