Skip to content

Commit 1d0c448

Browse files
lambda-hjnobodyiam
authored andcommitted
feat(charts): 为 apollo-configservice、apollo-adminservice 和 apollo-portal 的服务添加注解配置
- 在 apollo-configservice、apollo-adminservice 和 apollo-portal 的服务配置中添加了 annotations 参数 - 新增的注解配置项适用于图表版本 0.9.0 及以上 - 更新了英文和中文的分布式部署指南文档,添加了新的配置项说明
1 parent 4a44455 commit 1d0c448

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/en/deployment/distributed-deployment-guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@ The following table lists the configurable parameters of the apollo-service-char
963963
| `configService.image.pullPolicy` | Image pull policy of apollo-configservice | `IfNotPresent` |
964964
| `configService.imagePullSecrets` | Image pull secrets of apollo-configservice | `[]` |
965965
| `configService.service.fullNameOverride` | Override the service name for apollo-configservice | `nil` |
966+
| `configService.service.annotations` | The annotations of the service for apollo-configservice. _(chart version >= 0.9.0)_ | `{}` |
966967
| `configService.service.port` | The port for the service of apollo-configservice | `8080` |
967968
| `configService.service.targetPort` | The target port for the service of apollo-configservice | `8080` |
968969
| `configService.service.type` | The service type of apollo-configservice | `ClusterIP` |
@@ -993,6 +994,7 @@ The following table lists the configurable parameters of the apollo-service-char
993994
| `adminService.image.pullPolicy` | Image pull policy of apollo-adminservice | `IfNotPresent` |
994995
| `adminService.imagePullSecrets` | Image pull secrets of apollo-adminservice | `[]` |
995996
| `adminService.service.fullNameOverride` | Override the service name for apollo-adminservice | `nil` |
997+
| `adminService.service.annotations` | The annotations of the service for apollo-adminservice. _(chart version >= 0.9.0)_ | `{}` |
996998
| `adminService.service.port` | The port for the service of apollo-adminservice | `8090` |
997999
| `adminService.service.targetPort` | The target port for the service of apollo-adminservice | `8090` |
9981000
| `adminService.service.type` | The service type of apollo-adminservice | `ClusterIP` |
@@ -1152,6 +1154,7 @@ The following table lists the configurable parameters of the apollo-portal chart
11521154
| `image.pullPolicy` | Image pull policy of apollo-portal | `IfNotPresent` |
11531155
| `imagePullSecrets` | Image pull secrets of apollo-portal | `[]` |
11541156
| `service.fullNameOverride` | Override the service name for apollo-portal | `nil` |
1157+
| `service.annotations` | The annotations of the service for apollo-portal. _(chart version >= 0.9.0)_ | `{}` |
11551158
| `service.port` | The port for the service of apollo-portal | `8070` |
11561159
| `service.targetPort` | The target port for the service of apollo-portal | `8070` |
11571160
| `service.type` | The service type of apollo-portal | `ClusterIP` |

docs/zh/deployment/distributed-deployment-guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,7 @@ $ helm uninstall -n your-namespace apollo-service-dev
913913
| `configService.image.pullPolicy` | Image pull policy of apollo-configservice | `IfNotPresent` |
914914
| `configService.imagePullSecrets` | Image pull secrets of apollo-configservice | `[]` |
915915
| `configService.service.fullNameOverride` | Override the service name for apollo-configservice | `nil` |
916+
| `configService.service.annotations` | The annotations of the service for apollo-configservice. _(chart version >= 0.9.0)_ | `{}` |
916917
| `configService.service.port` | The port for the service of apollo-configservice | `8080` |
917918
| `configService.service.targetPort` | The target port for the service of apollo-configservice | `8080` |
918919
| `configService.service.type` | The service type of apollo-configservice | `ClusterIP` |
@@ -943,6 +944,7 @@ $ helm uninstall -n your-namespace apollo-service-dev
943944
| `adminService.image.pullPolicy` | Image pull policy of apollo-adminservice | `IfNotPresent` |
944945
| `adminService.imagePullSecrets` | Image pull secrets of apollo-adminservice | `[]` |
945946
| `adminService.service.fullNameOverride` | Override the service name for apollo-adminservice | `nil` |
947+
| `adminService.service.annotations` | The annotations of the service for apollo-adminservice. _(chart version >= 0.9.0)_ | `{}` |
946948
| `adminService.service.port` | The port for the service of apollo-adminservice | `8090` |
947949
| `adminService.service.targetPort` | The target port for the service of apollo-adminservice | `8090` |
948950
| `adminService.service.type` | The service type of apollo-adminservice | `ClusterIP` |
@@ -1101,6 +1103,7 @@ $ helm uninstall -n your-namespace apollo-portal
11011103
| `image.pullPolicy` | Image pull policy of apollo-portal | `IfNotPresent` |
11021104
| `imagePullSecrets` | Image pull secrets of apollo-portal | `[]` |
11031105
| `service.fullNameOverride` | Override the service name for apollo-portal | `nil` |
1106+
| `service.annotations` | The annotations of the service for apollo-portal. _(chart version >= 0.9.0)_ | `{}` |
11041107
| `service.port` | The port for the service of apollo-portal | `8070` |
11051108
| `service.targetPort` | The target port for the service of apollo-portal | `8070` |
11061109
| `service.type` | The service type of apollo-portal | `ClusterIP` |

0 commit comments

Comments
 (0)