diff --git a/charts/sophora-ugc-proxy/Chart.yaml b/charts/sophora-ugc-proxy/Chart.yaml index 0f8a3fdf..8ea18cde 100644 --- a/charts/sophora-ugc-proxy/Chart.yaml +++ b/charts/sophora-ugc-proxy/Chart.yaml @@ -4,11 +4,11 @@ description: A Helm chart for Kubernetes to install Sophora UGC Proxy connected type: application -version: 1.0.1 +version: 1.0.2 annotations: artifacthub.io/changes: | - kind: fixed - description: "Fixed configuration and logback paths" + description: "Fixed volumes mounts of application.yml and logback.xml" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/sophora-ugc-proxy/templates/deployment.yaml b/charts/sophora-ugc-proxy/templates/deployment.yaml index b7924d5e..3c4aaf7c 100644 --- a/charts/sophora-ugc-proxy/templates/deployment.yaml +++ b/charts/sophora-ugc-proxy/templates/deployment.yaml @@ -96,10 +96,8 @@ spec: {{- end }} volumeMounts: - - name: logback-xml - mountPath: /config/logback - - name: application-yml - mountPath: /config/application + - name: proxy-config + mountPath: /app/config resources: {{- toYaml .Values.resources | nindent 12 }} @@ -107,18 +105,9 @@ spec: {{ include "common.tplvalues.render" (dict "value" .Values.extraContainers "context" $) | nindent 8 }} {{- end }} volumes: - - name: application-yml + - name: proxy-config configMap: name: {{ include "sophora-ugc-proxy.fullname" . }}-config - items: - - key: application.yml - path: application.yml - - name: logback-xml - configMap: - name: {{ include "sophora-ugc-proxy.fullname" . }}-config - items: - - key: logback-spring.xml - path: logback-spring.xml {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}