Skip to content

Commit

Permalink
Add support to sidecars
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Dec 8, 2023
1 parent 300548e commit 454db60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tsuru-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.2.19
version: 0.2.20

# 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
3 changes: 3 additions & 0 deletions charts/tsuru-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
{{- with .Values.sidecars }}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
Expand Down
1 change: 1 addition & 0 deletions charts/tsuru-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ podAnnotations: {}

volumes: []
volumeMounts: []
sidecars: []

podSecurityContext: {}
# fsGroup: 2000
Expand Down

0 comments on commit 454db60

Please sign in to comment.