Skip to content

Commit 45301d8

Browse files
committed
Fix install error
1 parent 74b5551 commit 45301d8

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

deploy/all-cr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ spec:
859859
- name: JOYLIVE_CONTROL_PLANE_URL
860860
value: ""
861861
- name: JOYLIVE_FILTER_SENSITIVE
862-
value: "enabled"
862+
value: "true"
863863
- name: JOYLIVE_CLUSTER_ID
864864
value: ""
865865
- name: JOYLIVE_MATCH_KEY

deploy/joylive-injector/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ containerArgs:
3232

3333
matchEnvLabels: x-live, x-service
3434
controlPlaneUrl: ""
35-
filterSensitive: "enabled" # enabled or disabled
35+
filterSensitive: "true"
3636

3737
imagePullSecrets: [ ]
3838
nameOverride: ""
-15 Bytes
Binary file not shown.

pkg/resource/control.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func GetApplicationEnvironments(labels map[string]string) (map[string]string, er
5858
return nil, response.Error
5959
}
6060
for key, value := range response.Data {
61-
if len(config.FilterSensitive) != 0 && config.FilterSensitive == "enabled" {
61+
if len(config.FilterSensitive) != 0 && config.FilterSensitive == "true" {
6262
// Filter out keys ending with "USERNAME" and "PASSWORD" to enhance security.
6363
if strings.HasSuffix(key, "USERNAME") || strings.HasSuffix(key, "PASSWORD") {
6464
continue

0 commit comments

Comments
 (0)