File tree 12 files changed +32
-18
lines changed
client/packages/lowcoder/src
12 files changed +32
-18
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ export const CompName = (props: Iprops) => {
115
115
116
116
117
117
if ( compInfo . isRemote ) {
118
+ // Falk: Displaying the current version of the component
119
+ items . push ( {
120
+ text : trans ( "history.currentVersion" ) + ": " + compInfo . packageVersion ,
121
+ onClick : ( ) => {
122
+ } ,
123
+ } ) ;
118
124
items . push ( {
119
125
text : trans ( "history.currentVersion" ) + ": " + compInfo . packageVersion ,
120
126
onClick : ( ) => {
@@ -127,6 +133,7 @@ export const CompName = (props: Iprops) => {
127
133
onClick : ( ) => {
128
134
handleUpgrade ( ) ;
129
135
} ,
136
+
130
137
} ) ;
131
138
}
132
139
Original file line number Diff line number Diff line change @@ -374,6 +374,9 @@ function EditorView(props: EditorViewProps) {
374
374
// we check if we are on the public cloud
375
375
const isLowCoderDomain = window . location . hostname === 'app.lowcoder.cloud' ;
376
376
377
+ // we check if we are on the public cloud
378
+ const isLowCoderDomain = window . location . hostname === 'app.lowcoder.cloud' ;
379
+
377
380
if ( readOnly && hideHeader ) {
378
381
return (
379
382
< CustomShortcutWrapper >
@@ -464,7 +467,6 @@ function EditorView(props: EditorViewProps) {
464
467
< script key = "clearbit-script" src = "https://tag.clearbitscripts.com/v1/pk_dfbc0aeefb28dc63475b67134facf127/tags.js" referrerPolicy = "strict-origin-when-cross-origin" type = "text/javascript" > </ script >
465
468
] }
466
469
</ Helmet >
467
-
468
470
{ showNewUserGuide && < EditorTutorials /> }
469
471
< EditorGlobalHotKeys
470
472
disabled = { readOnly }
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ export default function PluginPanel() {
36
36
} ) ,
37
37
[ commonSettings ?. npmPlugins ]
38
38
) ;
39
-
40
39
const handleSetNpmPlugins = ( nextNpmPlugins : string [ ] ) => {
41
40
dispatch (
42
41
setCommonSettings ( {
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ appVersion: "latest"
13
13
dependencies :
14
14
- condition : redis.enabled
15
15
name : redis
16
- repository : https ://charts.bitnami.com/bitnami
17
- version : 17.0.10
16
+ repository : oci ://registry-1.docker.io/bitnamicharts
17
+ version : 19.1.0
18
18
- condition : mongodb.enabled
19
19
name : mongodb
20
- repository : https ://charts.bitnami.com/bitnami
21
- version : 13.6.2
20
+ repository : oci ://registry-1.docker.io/bitnamicharts
21
+ version : 15.1.4
22
22
Original file line number Diff line number Diff line change @@ -62,7 +62,13 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
62
62
Selector labels
63
63
*/} }
64
64
{ {- define " lowcoder.selectorLabels" -} }
65
- app.kubernetes.io/name: { { include " lowcoder.name" . } }
65
+ { {- $name := include " lowcoder.name" . -} }
66
+ { {- $componentName := .component | default " " -} }
67
+ { {- if ne $componentName " " -} }
68
+ app.kubernetes.io/name: { { $name } }-{ { $componentName } }
69
+ { {- else -} }
70
+ app.kubernetes.io/name: { { $name } }
71
+ { {- end } }
66
72
app.kubernetes.io/instance: { { .Release.Name } }
67
73
{ {- end } }
68
74
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ spec:
10
10
{{- end }}
11
11
selector :
12
12
matchLabels :
13
- {{- include "lowcoder.selectorLabels" . | nindent 6 }}
13
+ {{- include "lowcoder.selectorLabels" (dict "component" "api-service" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 6 }}
14
14
template :
15
15
metadata :
16
16
{{- with .Values.podAnnotations }}
17
17
annotations :
18
18
{{- toYaml . | nindent 8 }}
19
19
{{- end }}
20
20
labels :
21
- {{- include "lowcoder.selectorLabels" . | nindent 8 }}
21
+ {{- include "lowcoder.selectorLabels" (dict "component" "api-service" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 8 }}
22
22
spec :
23
23
{{- with .Values.imagePullSecrets }}
24
24
imagePullSecrets :
Original file line number Diff line number Diff line change 17
17
{{- end }}
18
18
{{- end }}
19
19
selector :
20
- {{- include "lowcoder.selectorLabels" . | nindent 4 }}
20
+ {{- include "lowcoder.selectorLabels" (dict "component" "api-service" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 4 }}
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ spec:
10
10
{{- end }}
11
11
selector :
12
12
matchLabels :
13
- {{- include "lowcoder.selectorLabels" . | nindent 6 }}
13
+ {{- include "lowcoder.selectorLabels" (dict "component" "frontend" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 6 }}
14
14
template :
15
15
metadata :
16
16
{{- with .Values.podAnnotations }}
17
17
annotations :
18
18
{{- toYaml . | nindent 8 }}
19
19
{{- end }}
20
20
labels :
21
- {{- include "lowcoder.selectorLabels" . | nindent 8 }}
21
+ {{- include "lowcoder.selectorLabels" (dict "component" "frontend" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 8 }}
22
22
spec :
23
23
{{- with .Values.imagePullSecrets }}
24
24
imagePullSecrets :
Original file line number Diff line number Diff line change 17
17
{{- end }}
18
18
{{- end }}
19
19
selector :
20
- {{- include "lowcoder.selectorLabels" . | nindent 4 }}
20
+ {{- include "lowcoder.selectorLabels" (dict "component" "frontend" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 4 }}
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ spec:
10
10
{{- end }}
11
11
selector :
12
12
matchLabels :
13
- {{- include "lowcoder.selectorLabels" . | nindent 6 }}
13
+ {{- include "lowcoder.selectorLabels" (dict "component" "node-service" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 6 }}
14
14
template :
15
15
metadata :
16
16
{{- with .Values.podAnnotations }}
17
17
annotations :
18
18
{{- toYaml . | nindent 8 }}
19
19
{{- end }}
20
20
labels :
21
- {{- include "lowcoder.selectorLabels" . | nindent 8 }}
21
+ {{- include "lowcoder.selectorLabels" (dict "component" "node-service" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 8 }}
22
22
spec :
23
23
{{- with .Values.imagePullSecrets }}
24
24
imagePullSecrets :
Original file line number Diff line number Diff line change 17
17
{{- end }}
18
18
{{- end }}
19
19
selector :
20
- {{- include "lowcoder.selectorLabels" . | nindent 4 }}
20
+ {{- include "lowcoder.selectorLabels" (dict "component" "node-service" "Values" .Values "Release" .Release "Chart" .Chart) | nindent 4 }}
Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ frontend:
136
136
# tag: "latest"
137
137
138
138
service :
139
- type : NodePort
139
+ type : ClusterIP
140
140
port : 80
141
- nodePort : 30099
141
+ # nodePort: 30099
142
142
143
143
replicaCount : 1
144
144
autoscaling :
You can’t perform that action at this time.
0 commit comments