"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "d44e9df7d49a9bb3400b002c38c06fae2dd7d1e8"
Unverified Commit e31f8d95 authored by julienmancuso's avatar julienmancuso Committed by GitHub
Browse files

fix: fix dynamo cloud helm chart (#1376)

parent c103d56a
...@@ -28,6 +28,8 @@ dynamo-operator: ...@@ -28,6 +28,8 @@ dynamo-operator:
dynamo: dynamo:
enableLWS: ${ENABLE_LWS} enableLWS: ${ENABLE_LWS}
apiStore:
endpoint: http://${RELEASE_NAME}-dynamo-api-store
ingress: ingress:
enabled: ${INGRESS_ENABLED} enabled: ${INGRESS_ENABLED}
className: ${INGRESS_CLASS} className: ${INGRESS_CLASS}
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: "dynamo-store" name: {{ include "helm.fullname" . }}
{{- with .Values.service.annotations }} {{- with .Values.service.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
...@@ -30,4 +30,4 @@ spec: ...@@ -30,4 +30,4 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
selector: selector:
app: dynamo-api-store app: {{ include "helm.name" . }}
\ No newline at end of file \ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
apiVersion: networking.istio.io/v1beta1 apiVersion: networking.istio.io/v1beta1
kind: VirtualService kind: VirtualService
metadata: metadata:
name: dynamo-ingress name: {{ include "helm.fullname" . }}
spec: spec:
gateways: gateways:
- {{ .Values.istio.gateway }} - {{ .Values.istio.gateway }}
...@@ -29,7 +29,7 @@ spec: ...@@ -29,7 +29,7 @@ spec:
prefix: / prefix: /
route: route:
- destination: - destination:
host: dynamo-store.{{ .Release.Namespace }}.svc.cluster.local host: {{ include "helm.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local
port: port:
number: 80 number: 80
{{- end }} {{- end }}
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
{{- if (index .Values "dynamo-api-store").ingress.enabled }} {{- if (index .Values "dynamo-api-store").ingress.enabled }}
Your service is available at: Your service is available at:
http{{ if .Values.ingress.tls }}s{{ end }}://{{ (index .Values.ingress.hosts 0).host }} http{{ if (index .Values "dynamo-api-store").ingress.tls }}s{{ end }}://{{ (index (index .Values "dynamo-api-store").ingress.hosts 0).host }}
{{- else if (index .Values "dynamo-api-store").istio.enabled }} {{- else if (index .Values "dynamo-api-store").istio.enabled }}
Your service is available at: Your service is available at:
...@@ -30,7 +30,7 @@ No ingress configured. ...@@ -30,7 +30,7 @@ No ingress configured.
To access your service via port-forwarding, run: To access your service via port-forwarding, run:
kubectl port-forward svc/dynamo-store <local-port>:{{ (index .Values "dynamo-api-store").service.port }} kubectl port-forward svc/{{ include "helm.fullname" (index .Subcharts "dynamo-api-store") }} <local-port>:{{ (index .Values "dynamo-api-store").service.port }}
Then access it locally at: Then access it locally at:
......
Markdown is supported
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