diff --git a/charts/tempest-pushgateway/templates/cronjob.yaml b/charts/tempest-pushgateway/templates/cronjob.yaml index 8f755f0..3c79ecd 100644 --- a/charts/tempest-pushgateway/templates/cronjob.yaml +++ b/charts/tempest-pushgateway/templates/cronjob.yaml @@ -18,6 +18,10 @@ spec: {{- include "tempest-pushgateway.labels" . | indent 12 }} spec: restartPolicy: Never + {{- with .Values.hostAliases }} + hostAliases: +{{ toYaml . | indent 12 }} + {{- end }} containers: - name: tempest-pushgateway image: {{ .Values.image }}