From d61006f049d001472db286a924865e2d92fe3905 Mon Sep 17 00:00:00 2001 From: xogoodnow Date: Tue, 26 Nov 2024 15:05:22 +0330 Subject: [PATCH] Added host alias --- charts/tempo/templates/statefulset.yaml | 4 ++++ charts/tempo/values.yaml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/charts/tempo/templates/statefulset.yaml b/charts/tempo/templates/statefulset.yaml index 53c9605fad..d79f420922 100644 --- a/charts/tempo/templates/statefulset.yaml +++ b/charts/tempo/templates/statefulset.yaml @@ -52,6 +52,10 @@ spec: {{- end }} {{- end }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - args: - -config.file=/conf/tempo.yaml diff --git a/charts/tempo/values.yaml b/charts/tempo/values.yaml index 2b9ce226ef..21f791c0c2 100644 --- a/charts/tempo/values.yaml +++ b/charts/tempo/values.yaml @@ -306,7 +306,11 @@ affinity: {} # -- The name of the PriorityClass priorityClassName: null - +# -- hostAliases to add +hostAliases: [] +# - ip: 1.2.3.4 +# hostnames: +# - domain.tld networkPolicy: ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now. ##