Skip to content

Commit

Permalink
Fixup helm charts and add cli install
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen van Erp <[email protected]>
  • Loading branch information
hierynomus committed Nov 5, 2024
1 parent 4aaeeaf commit cf9ac53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/ai-model/templates/ai-model-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
template:
metadata:
labels:
{{- include "common.labels" . | nindent 8 }}
service: ai-model
{{- include "common.labels" . | nindent 8 }}
service: ai-model
annotations:
checksum/config: '{{ include (print $.Template.BasePath "/ai-model-cm.yaml") . | sha256sum}}'
spec:
Expand All @@ -28,7 +28,7 @@ spec:
ports:
- containerPort: 8080
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: config-volume
mountPath: /etc/app
Expand Down
2 changes: 1 addition & 1 deletion charts/ai-model/templates/ai-model-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
selector:
service: ai-model
{{- include "common.selectorLabels" . | nindent 4 }}
{{- include "common.selectorLabels" . | nindent 4 }}
ports:
- protocol: TCP
port: 80 # Service port
Expand Down
2 changes: 1 addition & 1 deletion scripts/observability/cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#######################################
observability_install_cli() {
if ! [ -x "$(command -v sts)" ]; then
curl -o- https://dl.stackstate.com/stackstate-cli/install.sh | STS_CLI_LOCATION=/usr/local/bin bash
curl -s -o- https://dl.stackstate.com/stackstate-cli/install.sh | STS_CLI_LOCATION=/usr/local/bin bash
else
echo ">>> sts CLI already installed"
fi
Expand Down

0 comments on commit cf9ac53

Please sign in to comment.