Skip to content

Commit edad555

Browse files
authored
Add support for host-aliases, and volume mounts to the Sombra containers. (#24)
2 parents 5932b9f + e8db7a4 commit edad555

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

charts/sombra/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@
6969

7070
## 0.6.7
7171

72-
* See 0.6.6. This is a re-release of 0.6.6 to test an updated chart release process.
72+
* See 0.6.6. This is a re-release of 0.6.6 to test an updated chart release process.
73+
74+
## 0.6.8
75+
76+
* Added support for host-aliases, and volume mounts to the Sombra customer-ingress pods.

charts/sombra/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: sombra
33
description: A Helm chart to deploy Sombra and its dependent services in a Kubernetes cluster
44
type: application
5-
version: 0.6.7
5+
version: 0.6.8
66
maintainers:
77
- name: Transcend
88

charts/sombra/templates/deployment.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ spec:
3838
serviceAccountName: {{ include "sombra-chart.serviceAccountName" . }}
3939
{{- end }}
4040
{{- end }}
41+
{{- with .Values.hostAliases }}
42+
hostAliases:
43+
{{- toYaml . | nindent 8 }}
44+
{{- end }}
45+
{{- with .Values.volumes }}
46+
volumes:
47+
{{- toYaml . | nindent 8 }}
48+
{{- end }}
4149
containers:
4250
- name: {{ .Chart.Name }}
4351
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
@@ -81,6 +89,8 @@ spec:
8189
{{- toYaml .Values.readinessProbe | nindent 12 }}
8290
resources:
8391
{{- toYaml .Values.resources | nindent 12 }}
92+
volumeMounts:
93+
{{- toYaml .Values.volumeMounts | nindent 12 }}
8494
{{- with .Values.nodeSelector }}
8595
nodeSelector:
8696
{{- toYaml . | nindent 8 }}

charts/sombra/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ readinessProbe:
179179
port: 5042
180180
scheme: HTTP
181181

182+
# Host-aliases to define on the pods.
183+
hostAliases: []
184+
185+
# Volumes to add to the pods.
186+
volumes: []
187+
# Volume mounts to add to the pods.
188+
volumeMounts: []
189+
182190
# Enable to use horizontal pod autoscaling based off metrics
183191
autoscaling:
184192
enabled: false

0 commit comments

Comments
 (0)