Skip to content
Open
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
15 changes: 12 additions & 3 deletions helm/kagent-tools/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ spec:
{{- end }}
{{- end }}


securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "kagent-tools.serviceAccountName" . }}
Expand Down Expand Up @@ -84,7 +83,7 @@ spec:
secretKeyRef:
name: {{ include "kagent-tools.fullname" . }}-openai
key: OPENAI_API_KEY
optional: true # if the secret is not found, the tool will not be available
optional: true
- name: OTEL_TRACING_ENABLED
value: {{ .Values.otel.tracing.enabled | quote }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
Expand All @@ -95,6 +94,16 @@ spec:
value: {{ .Values.otel.tracing.exporter.otlp.insecure | quote }}
- name: TOKEN_PASSTHROUGH
value: {{ (index .Values.tools "k8s" | default dict).tokenPassthrough | default false | quote }}
- name: PROMETHEUS_URL
value: {{ .Values.tools.prometheus.url | quote }}
Comment on lines +97 to +98
- name: PROMETHEUS_USERNAME
value: {{ .Values.tools.prometheus.username | quote }}
- name: PROMETHEUS_PASSWORD
value: {{ .Values.tools.prometheus.password | quote }}
Comment on lines +99 to +102
- name: GRAFANA_URL
value: {{ .Values.tools.grafana.url | quote }}
- name: GRAFANA_API_KEY
value: {{ .Values.tools.grafana.apiKey | quote }}
Comment on lines +101 to +106
Comment on lines +97 to +106
{{- with .Values.tools.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand All @@ -116,4 +125,4 @@ spec:
mountPath: /tmp
volumes:
- name: tmp
emptyDir: {}
emptyDir: {}
Loading