Skip to content

Commit

Permalink
update: apollo chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
dellnoantechnp committed Jul 13, 2024
1 parent 33e7d99 commit 17bb01a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion charts/apollo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainers:
name: apollo
type: application
kubeVersion: ">=1.18.0"
version: 0.8.3
version: 0.8.4
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ metadata:
name: {{ $adminServiceFullName }}
labels:
{{- include "apollo.service.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/admin-service/configmap-adminservice.yaml") . | sha256sum }}
spec:
replicas: {{ .Values.adminService.replicaCount }}
selector:
Expand All @@ -35,8 +33,9 @@ spec:
metadata:
labels:
app: {{ $adminServiceFullName }}
{{- with .Values.adminService.annotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/admin-service/configmap-adminservice.yaml") . | sha256sum }}
{{- with .Values.adminService.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ metadata:
name: {{ $configServiceFullName }}
labels:
{{- include "apollo.service.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config-service/configmap-configservice.yaml") . | sha256sum }}
spec:
replicas: {{ .Values.configService.replicaCount }}
selector:
Expand All @@ -35,8 +33,9 @@ spec:
metadata:
labels:
app: {{ $configServiceFullName }}
{{- with .Values.configService.annotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config-service/configmap-configservice.yaml") . | sha256sum }}
{{- with .Values.configService.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down
5 changes: 2 additions & 3 deletions charts/apollo/templates/portal/deployment-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ metadata:
name: {{ $portalFullName }}
labels:
{{- include "apollo.portal.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/portal/configmap-portal.yaml") . | sha256sum }}
spec:
replicas: {{ .Values.portal.replicaCount }}
selector:
Expand All @@ -36,8 +34,9 @@ spec:
metadata:
labels:
app: {{ $portalFullName }}
{{- with .Values.portal.annotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/portal/configmap-portal.yaml") . | sha256sum }}
{{- with .Values.portal.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down
12 changes: 6 additions & 6 deletions charts/apollo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ db:
port: 3306
dbName: ApolloConfigDB
# apolloconfigdb user name
userName: ""
userName: "abc"
# apolloconfigdb password
password: ""
password: "abc"
connectionStringProperties: characterEncoding=utf8&useSSL=false

## @param service: create a externalName service for foreign database endpoint
Expand Down Expand Up @@ -51,9 +51,9 @@ db:
port: 3306
dbName: ApolloPortalDB
# apolloportaldb user name
userName: ""
userName: "abc"
# apolloportaldb password
password: ""
password: "abc"
connectionStringProperties: characterEncoding=utf8&useSSL=false

## @param service: create a externalName service for foreign database endpoint
Expand Down Expand Up @@ -200,7 +200,7 @@ adminService:
portal:
## @param enabled: boolean value for install portal web-ui.
##
enabled: false
enabled: true

name: apollo-portal
fullNameOverride: ""
Expand Down Expand Up @@ -247,7 +247,7 @@ portal:

## @param envs: specify the env names, e.g. dev,pro
##
envs: "dev"
envs: "dev, prod"

## @param metaServers: specify the meta servers, e.g.
## dev: http://apollo-configservice-dev:8080
Expand Down

0 comments on commit 17bb01a

Please sign in to comment.