Skip to content

Commit

Permalink
Merge branch 'main' into fharper/yourls
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper authored Apr 30, 2024
2 parents 01eb611 + db2ad65 commit cd6b41e
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions logos/typesense.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions typesense/components/typesense/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: <CLUSTER_NAME>-typesense
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '20'
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: typesense
name: <CLUSTER_DESTINATION>
project: <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
26 changes: 26 additions & 0 deletions typesense/components/typesense/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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: <CLUSTER_NAME>-typesense
namespace: argocd
spec:
ingressClassName: nginx
rules:
- host: typesense.<DOMAIN_NAME>
http:
paths:
- backend:
service:
name: typesense-svc
port:
number: 8108
path: /
pathType: Prefix
tls:
- hosts:
- typesense.<DOMAIN_NAME>
secretName: typesense-tls
25 changes: 25 additions & 0 deletions typesense/components/typesense/typesenseoperator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
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"
23 changes: 23 additions & 0 deletions typesense/typesense.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: <CLUSTER_NAME>-typesense-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '100'
spec:
project: default
source:
repoURL: <GITOPS_REPO_URL>
path: <REGISTRY_PATH>/components/typesense
targetRevision: HEAD
destination:
name: in-cluster
namespace: typesense
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

0 comments on commit cd6b41e

Please sign in to comment.