diff --git a/index.yaml b/index.yaml index 23e4c1a..4c8a18c 100644 --- a/index.yaml +++ b/index.yaml @@ -158,6 +158,13 @@ apps: description: "Tracetest uses your existing OpenTelemetry traces to power trace-based testing with assertions against your trace data at every point of the request transaction." category: Testing + - name: typesense + displayName: TypeSense + website: "https://github.com/typesense/typesense" + imageUrl: "https://raw.githubusercontent.com/kubefirst/gitops-catalog/main/logos/typesense.svg" + description: "Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences (deployed using the Typesense-Kubernetes-Operator)." + category: End user application + - name: vertical-pod-autoscaler displayName: Vertical Pod Autoscaler website: "https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler" diff --git a/logos/typesense.svg b/logos/typesense.svg new file mode 100644 index 0000000..394caa0 --- /dev/null +++ b/logos/typesense.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/typesense/components/typesense/application.yaml b/typesense/components/typesense/application.yaml new file mode 100644 index 0000000..43787e4 --- /dev/null +++ b/typesense/components/typesense/application.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -typesense + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: '20' + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: typesense + name: + project: + source: + repoURL: 'https://github.com/sai3010/Typesense-Kubernetes-Operator.git' + path: deploy + targetRevision: '2.0' + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/typesense/components/typesense/ingress.yaml b/typesense/components/typesense/ingress.yaml new file mode 100644 index 0000000..20f0d69 --- /dev/null +++ b/typesense/components/typesense/ingress.yaml @@ -0,0 +1,26 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + argocd.argoproj.io/sync-wave: '1' + name: -typesense + namespace: argocd +spec: + ingressClassName: nginx + rules: + - host: typesense. + http: + paths: + - backend: + service: + name: typesense-svc + port: + number: 8108 + path: / + pathType: Prefix + tls: + - hosts: + - typesense. + secretName: typesense-tls diff --git a/typesense/components/typesense/typesenseoperator.yaml b/typesense/components/typesense/typesenseoperator.yaml new file mode 100644 index 0000000..c5f892b --- /dev/null +++ b/typesense/components/typesense/typesenseoperator.yaml @@ -0,0 +1,24 @@ +apiVersion: typesenseproject.org/v1 +kind: TypesenseOperator +metadata: + name: type-operator + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: '20' + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + replicas: 1 + namespace: typesense + image: typesense/typesense:0.25.2 + resources: + requests: + memory: 100Mi + cpu: "100m" + limits: + memory: 200Mi + cpu: "100m" + nodeSelector: + kubernetes.io/os: linux +config: + password: "writepassword" diff --git a/typesense/typesense.yaml b/typesense/typesense.yaml new file mode 100644 index 0000000..793f694 --- /dev/null +++ b/typesense/typesense.yaml @@ -0,0 +1,23 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -typesense-components + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: '100' +spec: + project: default + source: + repoURL: + path: /components/typesense + targetRevision: HEAD + destination: + name: in-cluster + namespace: typesense + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true