Skip to content

Commit a125555

Browse files
authored
feat: helm chart release (#35)
* fix: agent helm chart * fix: bump version
1 parent 5a7450c commit a125555

File tree

4 files changed

+33
-71
lines changed

4 files changed

+33
-71
lines changed

charts/tensor-fusion/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.1
18+
version: 1.0.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.16.0"
24+
appVersion: "1.10.1"

charts/tensor-fusion/templates/controller-deployment.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ spec:
4545
- name: cert
4646
readOnly: true
4747
mountPath: /tmp/k8s-webhook-server/serving-certs
48+
{{- if .Values.agentId }}
49+
- name: cluster-agent
50+
image: "{{ .Values.agent.image.repository }}:{{ .Values.agent.image.tag | default "latest" }}"
51+
env:
52+
- name: CLOUD_ENDPOINT
53+
value: "{{ .Values.agent.cloudEndpoint }}"
54+
- name: AGENT_ID
55+
value: "{{ .Values.agent.agentId }}"
56+
- name: ENROLL_TOKEN
57+
value: "{{ .Values.agent.enrollToken }}"
58+
resources:
59+
{{- toYaml .Values.agent.resources | nindent 12 }}
60+
{{- end }}
4861
- name: vector
4962
image: docker.io/timberio/vector:nightly-2025-01-07-debian
5063
env:

charts/tensor-fusion/templates/gpupool-sample.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

charts/tensor-fusion/values.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,21 @@ controller:
5757
secretName: tensor-fusion-webhook-secret
5858
patch:
5959
image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.5.0
60+
61+
62+
agent:
63+
enrollToken: "token-from-cloud"
64+
agentId: 'org-from-cloud:env'
65+
cloudEndpoint: "wss://api.tensor-fusion.ai/_ws"
66+
67+
image:
68+
repository: tensorfusion/tensor-fusion-agent
69+
tag: "latest"
70+
71+
resources:
72+
requests:
73+
cpu: 50m
74+
memory: 64Mi
75+
limits:
76+
cpu: 1000m
77+
memory: 512Mi

0 commit comments

Comments
 (0)