File tree Expand file tree Collapse file tree 4 files changed +25
-4
lines changed
Expand file tree Collapse file tree 4 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.16.9
18+ version : 0.16.10
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 11# api7ee3
22
3- ![ Version: 0.16.9 ] ( https://img.shields.io/badge/Version-0.16.9 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 3.2.14] ( https://img.shields.io/badge/AppVersion-3.2.14-informational?style=flat-square )
3+ ![ Version: 0.16.10 ] ( https://img.shields.io/badge/Version-0.16.10 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 3.2.14] ( https://img.shields.io/badge/AppVersion-3.2.14-informational?style=flat-square )
44
55A Helm chart for Kubernetes
66
@@ -161,7 +161,8 @@ A Helm chart for Kubernetes
161161| developer_portal.extraEnvVars | list | ` [] ` | |
162162| developer_portal.image.pullPolicy | string | ` "IfNotPresent" ` | |
163163| developer_portal.image.repository | string | ` "api7/api7-developer-portal" ` | |
164- | developer_portal.image.tag | string | ` "v0.0.9" ` | |
164+ | developer_portal.image.tag | string | ` "v0.0.10" ` | |
165+ | developer_portal.keyCertSecret | string | ` "" ` | |
165166| developer_portal.replicaCount | int | ` 1 ` | |
166167| developer_portal_configuration.enable | bool | ` true ` | |
167168| developer_portal_configuration.server.listen.host | string | ` "0.0.0.0" ` | |
Original file line number Diff line number Diff line change 2929 serviceAccountName : {{ include "api7ee3.serviceAccountName" . }}
3030 securityContext :
3131 {{- toYaml .Values.podSecurityContext | nindent 8 }}
32+ volumes :
33+ {{- if .Values.developer_portal.keyCertSecret }}
34+ - name : ssl
35+ secret :
36+ secretName : {{ .Values.developer_portal.keyCertSecret | quote }}
37+ {{- end }}
3238 containers :
3339 - name : developer-portal
3440 securityContext :
6773 - name : DISABLE_HTTPS
6874 value : " 1"
6975 {{- end}}
76+ {{- if .Values.developer_portal.keyCertSecret }}
77+ - name : SERVER_CERT_PATH
78+ value : " /app/certs/tls.crt"
79+ - name : SERVER_KEY_PATH
80+ value : " /app/certs/tls.key"
81+ {{- end}}
7082 {{- if .Values.developer_portal.extraEnvVars }}
7183 {{- include "api7ee3.tplvalues.render" (dict "value" .Values.developer_portal.extraEnvVars "context" $) | nindent 12 }}
7284 {{- end }}
85+ volumeMounts :
86+ {{- if .Values.developer_portal.keyCertSecret }}
87+ - mountPath : /app/certs
88+ name : ssl
89+ readOnly : true
90+ {{- end }}
7391
7492 {{- with .Values.nodeSelector }}
7593 nodeSelector :
Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ developer_portal:
5656 repository : api7/api7-developer-portal
5757 pullPolicy : IfNotPresent
5858 # Overrides the image tag whose default is the chart appVersion.
59- tag : " v0.0.9"
59+ tag : " v0.0.10"
60+ # Specifies the name of Secret for developer portal TLS configuration, and files store under /app/certs directory
61+ keyCertSecret : " "
6062 extraEnvVars : []
6163
6264imagePullSecret : " "
You can’t perform that action at this time.
0 commit comments