Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/sophora-ugc-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 3 additions & 14 deletions charts/sophora-ugc-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,29 +96,18 @@ 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 }}
{{- if .Values.extraContainers }}
{{ 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 }}
Expand Down
Loading