Skip to content
Snippets Groups Projects
Commit 17441f54 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

use public url env var to define ingress host

parent bb22d349
No related branches found
No related tags found
No related merge requests found
Pipeline #115434 failed with stages
in 55 seconds
......@@ -41,7 +41,7 @@ stages:
${CI_PROJECT_NAME}-${CI_ENVIRONMENT_NAME}-meilisearch
./deploy/meilisearch
--namespace=${KUBE_NAMESPACE}
--set meilisearch.ingress.hosts[0]=${CI_ENVIRONMENT_URL}
--set meilisearch.ingress.hosts[0]=${PUBLIC_URL}
--set meilisearch.environment.MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
--set env=${ENV:-development}
--values deploy/meilisearch/values.yaml
......@@ -64,6 +64,7 @@ deploy:meilisearch:dev:
variables:
CI_DEBUG_TRACE: "true"
ENV: "development"
PUBLIC_URL: "defense-finder-meilisearch.dev.pasteur.cloud"
environment:
name: k8sdev-01
url: "https://defense-finder-meilisearch.dev.pasteur.cloud"
......
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "meilisearch.serviceAccountName" . }}
labels:
{{- include "meilisearch.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment