Skip to content

Commit

Permalink
feat: helm support extra containers (casdoor#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
sp71 authored Dec 10, 2023
1 parent 4eb725d commit cb16567
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/casdoor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.2.0

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
appVersion: "1.17.0"
3 changes: 3 additions & 0 deletions manifests/casdoor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ spec:
volumeMounts:
- name: config-volume
mountPath: /conf
{{ if .Values.extraContainersEnabled }}
{{- .Values.extraContainers | nindent 8 }}
{{- end }}
volumes:
- name: config-volume
projected:
Expand Down
7 changes: 7 additions & 0 deletions manifests/casdoor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,10 @@ nodeSelector: {}
tolerations: []

affinity: {}

# -- Optionally add extra sidecar containers.
extraContainersEnabled: false
extraContainers: ""
# extraContainers: |
# - name: ...
# image: ...

0 comments on commit cb16567

Please sign in to comment.