Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Jul 10, 2024
1 parent fb5dd43 commit b160e12
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
11 changes: 9 additions & 2 deletions deploy/all-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ data:
sync:
liveSpace:
type: ${CONFIG_LIVE_SPACE_API_TYPE:file} # [file,multilive]
url: ${CONFIG_LIVE_SPACE_API_URL:http://api.multilive.local:8080/v1}
url: ${CONFIG_LIVE_SPACE_API_URL:http://api.live.local:9090/v1}
#spacesUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces
#spaceUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces/${space_id}/version/${space_version}
#serviceUrl: ${CONFIG_LIVE_SPACE_API_URL}/services/${service_name}/version/${service_version}
Expand All @@ -208,6 +208,7 @@ data:
switch:
live:
enabled: ${CONFIG_LIVE_ENABLED:true}
mq: ${CONFIG_LIVE_MQ_ENABLED:false}
dubbo: true
sofarpc: true
jsf: true
Expand Down Expand Up @@ -246,10 +247,16 @@ data:
warmups: ${CONFIG_WARMUP_SERVICES:}
excludes:
- org.apache.dubbo.metadata.MetadataService
circuitBreaker:
type: Resilience4j
cleanInterval: 30000
expireTime: 60000
live:
topics: ${CONFIG_LIVE_TOPICS}
modifyMQGroupEnabled: ${CONFIG_LIVE_MODIFY_MQ_GROUP:true}
lane:
topics: ${CONFIG_LANE_TOPICS}
modifyMQGroupEnabled: ${CONFIG_LANE_MODIFY_MQ_GROUP:true}
router:
virtual: ${CONFIG_VIRTUAL_SIZE:500}
phevos:
Expand Down Expand Up @@ -524,7 +531,7 @@ spec:
- name: JOYLIVE_NAMESPACE
value: joylive
name: joylive-injector
image: ghcr.m.daocloud.io/jd-opensource/joylive-injector:v1.0.0
image: ghcr.m.daocloud.io/jd-opensource/joylive-injector:latest
imagePullPolicy: Always
args:
- --cert=/etc/kubernetes/ssl/dac.pem
Expand Down
4 changes: 2 additions & 2 deletions deploy/joylive-injector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.1.0

keywords:
- joylive
Expand All @@ -26,4 +26,4 @@ home: https://github.com/jd-opensource/joylive-injector
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.0.0"
appVersion: "1.1.0"
9 changes: 8 additions & 1 deletion deploy/joylive-injector/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ agent:
sync:
liveSpace:
type: ${CONFIG_LIVE_SPACE_API_TYPE:file} # [file,multilive]
url: ${CONFIG_LIVE_SPACE_API_URL:http://api.multilive.local:8080/v1}
url: ${CONFIG_LIVE_SPACE_API_URL:http://api.live.local:9090/v1}
#spacesUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces
#spaceUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces/${space_id}/version/${space_version}
#serviceUrl: ${CONFIG_LIVE_SPACE_API_URL}/services/${service_name}/version/${service_version}
Expand All @@ -83,6 +83,7 @@ agent:
switch:
live:
enabled: ${CONFIG_LIVE_ENABLED:true}
mq: ${CONFIG_LIVE_MQ_ENABLED:false}
dubbo: true
sofarpc: true
jsf: true
Expand Down Expand Up @@ -121,10 +122,16 @@ agent:
warmups: ${CONFIG_WARMUP_SERVICES:}
excludes:
- org.apache.dubbo.metadata.MetadataService
circuitBreaker:
type: Resilience4j
cleanInterval: 30000
expireTime: 60000
live:
topics: ${CONFIG_LIVE_TOPICS}
modifyMQGroupEnabled: ${CONFIG_LIVE_MODIFY_MQ_GROUP:true}
lane:
topics: ${CONFIG_LANE_TOPICS}
modifyMQGroupEnabled: ${CONFIG_LANE_MODIFY_MQ_GROUP:true}
router:
virtual: ${CONFIG_VIRTUAL_SIZE:500}
phevos:
Expand Down
2 changes: 1 addition & 1 deletion deploy/joylive-injector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ image:
repository: ghcr.m.daocloud.io/jd-opensource/joylive-injector
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: v1.0.0
tag: latest

configMapName: joylive-injector-config

Expand Down
Binary file removed deploy/packages/joylive-injector-1.0.0.tgz
Binary file not shown.
Binary file added deploy/packages/joylive-injector-1.1.0.tgz
Binary file not shown.

0 comments on commit b160e12

Please sign in to comment.