Skip to content

Commit

Permalink
feat: add apollo chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
dellnoantechnp committed Jul 12, 2024
1 parent 9a61ef7 commit 62c12d7
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 187 deletions.
Empty file removed charts/apollo-portal/.helmignore
Empty file.
12 changes: 0 additions & 12 deletions charts/apollo-portal/Chart.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions charts/apollo-portal/templates/NOTES.txt

This file was deleted.

62 changes: 0 additions & 62 deletions charts/apollo-portal/templates/_helpers.tpl

This file was deleted.

84 changes: 0 additions & 84 deletions charts/apollo-portal/values.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion charts/apollo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ maintainers:
url: https://github.com/dellnoantechnp/helm-chart-xxl-job-admin
name: apollo
type: application
version: 0.7.1
version: 0.7.2
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
2 changes: 2 additions & 0 deletions charts/apollo/templates/portal/configmap-portal.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.portal.enabled }}
kind: ConfigMap
apiVersion: v1
metadata:
Expand All @@ -21,4 +22,5 @@ data:
{{- range $fileName, $content := .Values.portal.config.files }}
{{ $fileName | indent 2 }}: |
{{ $content | indent 4 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/apollo/templates/portal/deployment-portal.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.portal.enabled }}
#
# Copyright 2021 Apollo Authors
#
Expand Down Expand Up @@ -110,3 +111,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/apollo/templates/portal/ingress-portal.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.portal.enabled }}
#
# Copyright 2021 Apollo Authors
#
Expand Down Expand Up @@ -69,3 +70,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 3 additions & 1 deletion charts/apollo/templates/portal/service-portal.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.portal.enabled }}
#
# Copyright 2021 Apollo Authors
#
Expand Down Expand Up @@ -28,4 +29,5 @@ spec:
targetPort: {{ .Values.portal.service.targetPort }}
selector:
app: {{ include "apollo.portal.fullName" . }}
sessionAffinity: {{ .Values.portal.service.sessionAffinity }}
sessionAffinity: {{ .Values.portal.service.sessionAffinity }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/apollo/templates/portal/service-portaldb.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.portal.enabled }}
#
# Copyright 2021 Apollo Authors
#
Expand Down Expand Up @@ -43,4 +44,5 @@ subsets:
- protocol: TCP
port: {{ .Values.portaldb.port }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 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: "abc"
userName: ""
# apolloconfigdb password
password: "abc"
password: ""
connectionStringProperties: characterEncoding=utf8&useSSL=false

## @param service: create a externalName service for foreign database endpoint
Expand Down

0 comments on commit 62c12d7

Please sign in to comment.