Skip to content

Commit

Permalink
feat: support extra environment variables for chart
Browse files Browse the repository at this point in the history
  • Loading branch information
mrparkers committed Sep 4, 2024
1 parent c3e0796 commit 7faa273
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/gitdb/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.1.32
version: 0.1.33

# 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/gitdb/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
{{- end }}
- name: SSH_KNOWN_HOSTS
value: /etc/ssh/ssh_known_hosts
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: 8080
Expand Down
2 changes: 2 additions & 0 deletions charts/gitdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""

extraEnv: []

podAnnotations: {}
health: {}

Expand Down

0 comments on commit 7faa273

Please sign in to comment.