Skip to content

Commit 61629ac

Browse files
authored
Merge branch 'master' into inject-datastore-encryption-key
2 parents 1c02588 + 85c21ed commit 61629ac

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## In Development
44
* Change ingress name from `<release name>-ingress` to <release name>-st2web-ingress, useful when using `stackstorm-ha` as a requirement for another chart. (#112) (by @erenatas)
55
* Fix st2web ingress which should have been defined as an Integer instead of a String (#111) (by @erenatas)
6+
* Add an option to inject hostAliases in the st2actionrunner containers (#114)
67

78
## v0.24.0
89
* Fix st2web ingress to use `/` path by default instead of `/*`, useful for nginx ingress controller (#103) (by @erenatas)

templates/deployments.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,10 @@ spec:
986986
checksum/config: {{ include (print $.Template.BasePath "/configmaps_st2-conf.yaml") . | sha256sum }}
987987
checksum/ssh: {{ include (print $.Template.BasePath "/secrets_ssh.yaml") . | sha256sum }}
988988
spec:
989+
{{- if .Values.st2actionrunner.hostAliases }}
990+
hostAliases:
991+
{{ toYaml .Values.st2actionrunner.hostAliases | indent 8 }}
992+
{{- end }}
989993
imagePullSecrets:
990994
{{- if .Values.enterprise.enabled }}
991995
- name: {{ .Release.Name }}-st2-license

values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,16 @@ st2actionrunner:
324324
nodeSelector: {}
325325
tolerations: []
326326
affinity: {}
327+
# Allow the injection of hostAliases (https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/#adding-additional-entries-with-hostaliases)
328+
# records in the st2actionrunner containers to handle edge case in DNS accessibility/topology
329+
hostAliases: []
330+
# - hostnames:
331+
# - foo
332+
# ip: 1.1.1.1
333+
# - hostnames:
334+
# - bar
335+
# ip: 8.8.8.8
336+
327337
# https://docs.stackstorm.com/reference/ha.html#st2garbagecollector
328338
# Optional service that cleans up old executions and other operations data based on setup configurations.
329339
# By default this process does nothing and needs to be setup in st2.conf to perform any work.

0 commit comments

Comments
 (0)