File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 47
47
- name : WATCH_NAMESPACES
48
48
value : {{ include "kagent.watchNamespaces" . }}
49
49
{{- end }}
50
+ {{- with .Values.controller.env }}
51
+ {{- toYaml . | nindent 12 }}
52
+ {{- end }}
50
53
- name : app
51
54
securityContext :
52
55
{{- toYaml .Values.securityContext | nindent 12 }}
66
69
value : {{ .Values.otel.tracing.exporter.otlp.timeout | quote }}
67
70
- name : OTEL_EXPORTER_OTLP_TRACES_INSECURE
68
71
value : {{ .Values.otel.tracing.exporter.otlp.insecure | quote }}
72
+ - name : KAGENT_NAMESPACE
73
+ valueFrom :
74
+ fieldRef :
75
+ fieldPath : metadata.namespace
76
+ {{- with .Values.app.env }}
77
+ {{- toYaml . | nindent 12 }}
78
+ {{- end }}
69
79
ports :
70
80
- name : http
71
81
containerPort : {{ .Values.service.ports.app.targetPort }}
86
96
env :
87
97
- name : NEXT_PUBLIC_BACKEND_URL
88
98
value : " http://{{ include " kagent.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local/api"
99
+ {{- with .Values.ui.env }}
100
+ {{- toYaml . | nindent 12 }}
101
+ {{- end }}
89
102
ports :
90
103
- name : http
91
104
containerPort : {{ .Values.service.ports.ui.targetPort }}
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ controller:
38
38
limits :
39
39
cpu : 500m
40
40
memory : 512Mi
41
+ env : {} # Additional environment variables for the controller can be added here
41
42
42
43
app :
43
44
image :
52
53
limits :
53
54
cpu : 1000m
54
55
memory : 1Gi
56
+ env : {} # Additional environment variables for the app can be added here
55
57
56
58
ui :
57
59
image :
66
68
limits :
67
69
cpu : 1000m
68
70
memory : 1Gi
71
+ env : {} # Additional environment variables for the ui can be added here
69
72
70
73
service :
71
74
type : ClusterIP
You can’t perform that action at this time.
0 commit comments