Skip to content

Commit

Permalink
fix: rename configmapName
Browse files Browse the repository at this point in the history
  • Loading branch information
dyx1234 committed Oct 24, 2024
1 parent 4ca7b18 commit 8a09176
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en/client/java-sdk-user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,13 +423,13 @@ Starting from version 2.4.0, the availability of the client in the Kubernetes en

`apollo.cache.kubernetes.enable`:Whether to enable the ConfigMap cache mechanism, the default is false.

`apollo.cache.kubernetes.configmap-namespace`:The namespace of the ConfigMap to be used (the namespace in Kubernetes), the default value is "default".
`apollo.cache.kubernetes.namespace`:The namespace of the ConfigMap to be used (the namespace in Kubernetes), the default value is "default".

The configuration information will be placed in the specified ConfigMap according to the following correspondence:

namespace: Use the specified value, if not specified, the default is "default"

configMapName: {appId}
configMapName: apollo-configcache-{appId}

key: {cluster} - {namespace}

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/client/java-sdk-user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,13 @@ apollo.label=YOUR-APOLLO-LABEL

`apollo.cache.kubernetes.enable`:是否开启configMap缓存机制,默认false

`apollo.cache.kubernetes.configmap-namespace`:将使用的configMap所在的namespace(Kubernetes中的namespace),默认值为"default"
`apollo.cache.kubernetes.namespace`:将使用的configMap所在的namespace(Kubernetes中的namespace),默认值为"default"

配置信息会以下面的对应关系放置于指定的configmap中:

namespace:使用指定的值,若未指定默认为"default"

configMapName:{appId}
configMapName: apollo-configcache-{appId}

key:{cluster}-{namespace}

Expand Down

0 comments on commit 8a09176

Please sign in to comment.