Skip to content

Commit

Permalink
fix: add changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Sep 6, 2024
1 parent 5750da0 commit b619676
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/mint/templates/model-catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: wait-for-model-catalog-endpoint
image: alpine/curl
command: ["sh", "-c", "until curl -sk {{ include "mint.prefix" . }}-model-catalog-endpoint:3030/$/modelcatalog/ping; do echo waiting for model-catalog-endpoint; sleep 2; done"]
resources:
{{- toYaml .Values.resources | nindent 12 }}
containers:
- name: model-catalog
{{- with .Values.components.model_catalog_api }}
Expand Down

0 comments on commit b619676

Please sign in to comment.