Skip to content

Commit

Permalink
fix: entsearch ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-lsd authored Aug 21, 2024
1 parent 628c460 commit 8808737
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion charts/lsdmop/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: lsdmop
version: "4.7.7"
version: "4.7.8"
appVersion: "1.0.2"
# Disabling kubeVersion because GKE is dumb
# kubeVersion: ">=v1.11.0"
Expand Down
31 changes: 31 additions & 0 deletions charts/lsdmop/templates/elastic.entsearch.ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-entsearch
namespace: lsdmop
annotations:
cert-manager.io/cluster-issuer: nginx-private
meta.helm.sh/release-name: {{ .Release.Name }}
meta.helm.sh/release-namespace: {{ .Release.Name }}
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/client-body-buffer-size: 64m
nginx.ingress.kubernetes.io/proxy-body-size: 350m
service.alpha.kubernetes.io/app-protocols: '{"https":"HTTPS"}'
spec:
ingressClassName: nginx-private
tls:
- hosts:
- entsearch.mop.sandbox.internal.lsdopen.io
secretName: entsearch-ingress-tls
rules:
- host: entsearch.mop.sandbox.internal.lsdopen.io
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: enterprise-search-{{ .Release.Name }}-ent-http
port:
number: 3002
31 changes: 0 additions & 31 deletions charts/lsdmop/templates/elastic.entsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,3 @@ spec:
count: 1
elasticsearchRef:
name: {{ .Release.Name }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}-entsearch
namespace: lsdmop
annotations:
cert-manager.io/cluster-issuer: nginx-private
meta.helm.sh/release-name: {{ .Release.Name }}
meta.helm.sh/release-namespace: {{ .Release.Name }}
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/client-body-buffer-size: 64m
nginx.ingress.kubernetes.io/proxy-body-size: 350m
service.alpha.kubernetes.io/app-protocols: '{"https":"HTTPS"}'
spec:
ingressClassName: nginx-private
tls:
- hosts:
- entsearch.mop.sandbox.internal.lsdopen.io
secretName: entsearch-ingress-tls
rules:
- host: entsearch.mop.sandbox.internal.lsdopen.io
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: enterprise-search-{{ .Release.Name }}-ent-http
port:
number: 3002

0 comments on commit 8808737

Please sign in to comment.