Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: final tweaks buttoning up edge 1 #11

Merged
merged 5 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/edge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://app.mezmo.com/assets/img/mz-logo-square-128.png
description: A Helm chart for deploying Mezmo Edge
type: application
appVersion: "1.17.3"
version: 0.6.1
version: 0.6.2
maintainers:
- name: Mezmo
email: help@mezmo.com
2 changes: 1 addition & 1 deletion charts/edge/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Ports as a yaml array
Defaulting Edge ID
*/}}
{{- define "edge.Id" -}}
{{- $id_hash := sha1sum (print .Release.Name .Release.Namespace .Values.mezmoDeploymentGroup) }}
{{- $id_hash := sha1sum (print .Release.Name .Release.Namespace .Values.mezmoDeploymentGroup) | substr 0 8 }}
{{- (default $id_hash .Values.edgeIdOverride) }}
{{- end }}

Expand Down
2 changes: 2 additions & 0 deletions charts/edge/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
value: "{{include "edge.mezmoApiBaseUrl" . }}/v3/pipeline/account/local-deploy/tasks?edge_id={{include "edge.Id" . | urlquery }}"
- name: MEZMO_TASKS_POST_ENDPOINT_URL
value: "{{include "edge.mezmoApiBaseUrl" . }}/v3/pipeline/account/local-deploy/tasks/:task_id/results"
- name: MEZMO_EDGE_ID
value: "{{include "edge.Id" . }}"
- name: VECTOR_LOG
value: {{ .Values.logLevel }}
- name: POD_NAME
Expand Down