-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update charts and configuration to optionally disable services * Fix default configuration Fix typos from #56 * Update charts to support multiple neon-core ingresses Update CLI entrypoint to make iris Gradio UI deployments optional * Add prompt to set image tag in core setup * Add method to read configured backend domain for default iris endpoint * Add LLMs to backend configuration checks * Update chart versioning and push to Helm repo * Update tests to account for added LLMs * Update logging to clearly print disabled MQ and HTTP backend services --------- Co-authored-by: Daniel McKnight <[email protected]>
- Loading branch information
1 parent
9290ab0
commit 77ea21d
Showing
24 changed files
with
292 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
neon_diana_utils/helm_charts/base/base-neon/templates/_ingress.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{{- define "base-neon.ingress" -}} | ||
{{ if .Values.ingress.enabled }} | ||
{{- $domain := .Values.domain -}} | ||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} | ||
apiVersion: networking.k8s.io/v1 | ||
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} | ||
apiVersion: networking.k8s.io/v1beta1 | ||
{{- else -}} | ||
apiVersion: extensions/v1beta1 | ||
{{- end }} | ||
kind: Ingress | ||
metadata: | ||
name: ingress-iris-http | ||
annotations: | ||
kubernetes.io/ingress.class: {{ .Values.ingress.ingressClassName }} | ||
cert-manager.io/issuer: {{ .Values.ingress.certIssuer }} | ||
spec: | ||
tls: | ||
- secretName: {{ .Values.ingress.tlsSecretName }} | ||
hosts: | ||
{{- range .Values.ingress.rules }} | ||
- {{ printf "%s.%s " .host $.Values.domain }} | ||
{{- end }} | ||
|
||
rules: | ||
{{- range .Values.ingress.rules }} | ||
- host: {{ printf "%s.%s " .host $.Values.domain }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ .serviceName }} | ||
port: | ||
number: {{ .servicePort }} | ||
{{- end }} | ||
|
||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.