1
1
imagePullSecrets : []
2
2
3
- nameOverride : " langflow"
3
+ nameOverride : " langflow-service "
4
4
# Override for the name of the helm deployment
5
- fullnameOverride : " langflow"
5
+ # Note: using `langflow` as service name causes
6
+ # env var collision when deploying on openshift
7
+ # https://github.com/langflow-ai/langflow/issues/4330#issuecomment-2459097917
8
+ fullnameOverride : " langflow-service"
6
9
7
10
serviceAccount :
8
11
# Specifies whether a service account should be created
9
12
create : true
10
13
# Annotations to add to the service account
11
14
annotations : {}
12
15
# The name of the service account to use.
13
- # If not set and create is true, a name is generated using the fullname template
16
+ # If not set and create is true, a name is generated using the
17
+ # fullname template
14
18
name : " "
15
19
16
20
ingress :
@@ -26,11 +30,27 @@ ingress:
26
30
# hosts:
27
31
# - chart-example.local
28
32
33
+ securityContext :
34
+ capabilities :
35
+ drop :
36
+ - ALL
37
+ readOnlyRootFilesystem : true
38
+ runAsNonRoot : true
39
+ runAsUser : 1000
40
+ allowPrivilegeEscalation : false
41
+ runAsGroup : 1000
42
+
43
+ podSecurityContext :
44
+ fsGroup : 1000
45
+ runAsUser : 1000
46
+ runAsNonRoot : true
47
+ runAsGroup : 1000
48
+
49
+
29
50
langflow :
30
51
global :
31
52
image :
32
- pullPolicy : IfNotPresent
33
- tag : " "
53
+ tag : " latest"
34
54
backend :
35
55
replicaCount : 1
36
56
service :
@@ -39,9 +59,17 @@ langflow:
39
59
backendOnly : true
40
60
numWorkers : 1
41
61
image :
42
- repository : langflowai/langflow-backend
43
- pullPolicy : IfNotPresent
44
- tag : " "
62
+ repository : langflowai/langflow
63
+ imagePullPolicy : IfNotPresent
64
+ tag : latest
65
+ command :
66
+ - python
67
+ - -m
68
+ - langflow
69
+ - run
70
+ - --host
71
+ - 0.0.0.0
72
+ - --backend-only
45
73
resources :
46
74
requests :
47
75
cpu : 0.5
@@ -54,42 +82,75 @@ langflow:
54
82
periodSeconds : 10
55
83
timeoutSeconds : 5
56
84
initialDelaySeconds : 5
57
- env : []
85
+ env :
86
+ - name : LANGFLOW_PORT
87
+ value : " 7860"
88
+ - name : LANGFLOW_ALEMBIC_LOG_FILE
89
+ value : " /app/db/alembic.log"
90
+ - name : LANGFLOW_UPDATE_STARTER_PROJECTS
91
+ value : " false"
58
92
nodeSelector : {}
59
-
60
-
61
93
tolerations : []
62
-
63
94
affinity : {}
64
95
podAnnotations :
65
96
prometheus.io/scrape : " true"
66
- prometheus.io/port : " 9090"
97
+ prometheus.io/port : 9090
67
98
prometheus.io/path : " /metrics"
68
99
69
- securityContext : {}
70
- # capabilities:
71
- # drop:
72
- # - ALL
73
- # readOnlyRootFilesystem: true
74
- # runAsNonRoot: true
75
- # runAsUser: 1000
76
-
77
- podSecurityContext : {}
100
+ securityContext :
101
+ capabilities :
102
+ drop :
103
+ - ALL
104
+ readOnlyRootFilesystem : true
105
+ runAsNonRoot : true
106
+ runAsUser : 1000
107
+ allowPrivilegeEscalation : false
108
+ runAsGroup : 1000
109
+
110
+ podSecurityContext :
111
+ fsGroup : 1000
112
+ runAsUser : 1000
113
+ runAsNonRoot : true
114
+ runAsGroup : 1000
78
115
79
116
externalDatabase :
80
- # Compose in the SQLAlchemy format: https://docs.sqlalchemy.org/en/20/core/engines.html#database-urls
117
+ # Compose in the SQLAlchemy format:
118
+ # https://docs.sqlalchemy.org/en/20/core/engines.html#database-urls
81
119
enabled : false
82
120
driver : {}
83
121
# value: "postgresql"
84
122
port : {}
85
123
user : {}
86
124
password : {}
87
- # valueFrom: │
88
- # secretKeyRef: │
89
- # key: password │
125
+ # valueFrom:
126
+ # secretKeyRef:
127
+ # key: password
90
128
# name: <secret-name>
91
129
database : {}
92
130
131
+ volumes :
132
+ - name : flows
133
+ emptyDir : {}
134
+ - name : tmp
135
+ emptyDir : {}
136
+ - name : data
137
+ emptyDir : {}
138
+ - name : db
139
+ emptyDir : {}
140
+
141
+ volumeMounts :
142
+ - name : flows
143
+ mountPath : /app/flows
144
+ readOnly : false
145
+ - name : tmp
146
+ mountPath : /tmp
147
+ readOnly : false
148
+ - name : data
149
+ mountPath : /app/data
150
+ readOnly : false
151
+ - name : db
152
+ mountPath : /app/db
153
+ readOnly : false
93
154
94
155
sqlite :
95
156
enabled : true
@@ -133,7 +194,7 @@ langflow:
133
194
# superuserPassword: <superuser password>
134
195
# secretKey: <encryption key, optional>
135
196
# newUserIsActive: true|false
136
-
197
+
137
198
frontend :
138
199
enabled : true
139
200
replicaCount : 1
@@ -142,8 +203,8 @@ langflow:
142
203
port : 8080
143
204
image :
144
205
repository : langflowai/langflow-frontend
145
- pullPolicy : IfNotPresent
146
- tag : " "
206
+ imagePullPolicy : IfNotPresent
207
+ tag : latest
147
208
resources :
148
209
requests :
149
210
cpu : 0.3
@@ -162,14 +223,15 @@ langflow:
162
223
163
224
affinity : {}
164
225
podAnnotations : {}
165
- podSecurityContext : {}
166
- securityContext : {}
167
- # capabilities:
168
- # drop:
169
- # - ALL
170
- # readOnlyRootFilesystem: true
171
- # runAsNonRoot: true
172
- # runAsUser: 1000
226
+
227
+ volumes :
228
+ - name : tmp
229
+ emptyDir : {}
230
+
231
+ volumeMounts :
232
+ - name : tmp
233
+ mountPath : /tmp
234
+ readOnly : false
173
235
174
236
secretProvider :
175
237
enabled : false
0 commit comments