diff --git a/charts/beskar/templates/_helpers.tpl b/charts/beskar/templates/_helpers.tpl index 973ec46..8069244 100644 --- a/charts/beskar/templates/_helpers.tpl +++ b/charts/beskar/templates/_helpers.tpl @@ -62,13 +62,13 @@ app.kubernetes.io/instance: {{ .Release.Name }} name: beskar-gossip-secret key: gossipKey - name: BESKAR_REGISTRY_HTTP_ADDR - value: {{ printf ":%v" .Values.services.registry.port | quote }} + value: {{ printf "%v:%v" .Values.services.registry.host .Values.services.registry.port | quote }} - name: BESKAR_REGISTRY_HTTP_DEBUG_ADDR - value: {{ printf ":%v" .Values.metrics.port | quote }} + value: {{ printf "%v:%v" .Values.metrics.host .Values.metrics.port | quote }} - name: BESKAR_GOSSIP_ADDR - value: {{ printf ":%v" .Values.services.gossip.port | quote }} + value: {{ printf "%v:%v" .Values.services.gossip.host .Values.services.gossip.port | quote }} - name: BESKAR_CACHE_ADDR - value: {{ printf ":%v" .Values.services.groupcache.port | quote }} + value: {{ printf "%v:%v" .Values.services.groupcache.host .Values.services.groupcache.port | quote }} - name: BESKAR_HOSTNAME value: {{ template "beskar.fullname" . }} {{- if .Values.secrets.htpasswd }} diff --git a/charts/beskar/values.yaml b/charts/beskar/values.yaml index f56ed14..4b1acab 100644 --- a/charts/beskar/values.yaml +++ b/charts/beskar/values.yaml @@ -29,6 +29,7 @@ services: # sessionAffinity: None # sessionAffinityConfig: {} # clusterIP: + host: 0.0.0.0 port: 5000 # nodePort: # loadBalancerIP: @@ -38,11 +39,13 @@ services: gossip: # sessionAffinity: None # sessionAffinityConfig: {} + host: 0.0.0.0 port: 5002 annotations: {} groupcache: # sessionAffinity: None # sessionAffinityConfig: {} + host: 0.0.0.0 port: 5003 annotations: {} @@ -149,6 +152,7 @@ proxy: metrics: enabled: true + host: 0.0.0.0 port: 5001 # Create a prometheus-operator servicemonitor serviceMonitor: