Skip to content

Commit 1fb6e5d

Browse files
authored
chart: custom envs (#75)
1 parent 3336c8b commit 1fb6e5d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

charts/gitlab-merger-bot/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: gitlab-merger-bot
5-
version: 1.2.4
5+
version: 1.2.5
66
home: https://github.com/pepakriz/gitlab-merger-bot
77
maintainers:
88
- name: pepakriz

charts/gitlab-merger-bot/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ spec:
5757
value: "{{ .Values.settings.skipSquashingLabel }}"
5858
- name: HIGH_PRIORITY_LABEL
5959
value: "{{ .Values.settings.highPriorityLabel }}"
60+
{{- range $key, $value := .Values.env }}
61+
- name: "{{ $key }}"
62+
value: "{{ $value }}"
63+
{{- end }}
6064
resources:
6165
{{ toYaml .Values.resources | indent 10 }}
6266
{{- if .Values.nodeSelector }}

charts/gitlab-merger-bot/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ labels: {}
1919
nodeSelector: {}
2020
tolerations: []
2121
podAnnotations: {}
22+
env: {}
2223

2324
settings:
2425
gitlabUrl: "https://gitlab.com"

0 commit comments

Comments
 (0)