c37235381f
* feat(deployment): package as Docker image & Helm Chart * remove erroneous permission request * fix corepack issue * fix prettier * deployment testing of helm chart with ctlptl, tilt & kind * fix linting * remove need for license to be mounted * ensure consistency in naming * incorporate copilot comments * fix CI pipeline * fix * incorporate copilot review comments * include MIXPANEL environment variable * remove single quotes from NODE_ENV ARG --------- Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
39 lines
961 B
YAML
39 lines
961 B
YAML
{{- if .Values.httpRoute.enabled -}}
|
|
{{- $fullName := include "speckle-dui.fullname" . -}}
|
|
{{- $svcPort := .Values.service.port -}}
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: {{ $fullName }}
|
|
labels:
|
|
{{- include "speckle-dui.labels" . | nindent 4 }}
|
|
{{- with .Values.httpRoute.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
parentRefs:
|
|
{{- with .Values.httpRoute.parentRefs }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.httpRoute.hostnames }}
|
|
hostnames:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
rules:
|
|
{{- range .Values.httpRoute.rules }}
|
|
- backendRefs:
|
|
- name: {{ $fullName }}
|
|
port: {{ $svcPort }}
|
|
weight: 1
|
|
{{- with .filters }}
|
|
filters:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .matches }}
|
|
matches:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|