diff --git a/charts/ai-model/templates/ai-model-deployment.yaml b/charts/ai-model/templates/ai-model-deployment.yaml index fe5616e..bf0c4e7 100644 --- a/charts/ai-model/templates/ai-model-deployment.yaml +++ b/charts/ai-model/templates/ai-model-deployment.yaml @@ -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: @@ -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 diff --git a/charts/ai-model/templates/ai-model-svc.yaml b/charts/ai-model/templates/ai-model-svc.yaml index 5613d2a..cd33a02 100644 --- a/charts/ai-model/templates/ai-model-svc.yaml +++ b/charts/ai-model/templates/ai-model-svc.yaml @@ -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 diff --git a/scripts/observability/cli.sh b/scripts/observability/cli.sh index 40c2030..a228b30 100644 --- a/scripts/observability/cli.sh +++ b/scripts/observability/cli.sh @@ -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