Files
charts/bitnami/wavefront/templates/proxy-service.yaml
Miguel Ruiz aa1de39836 [bitnami/wavefront] Chart standardised (#9576)
* [bitnami/wavefront] Bump wavefront-proxy version + standardisation

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Regenerate README.md

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Apply suggestions

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Remove unused collector.extraArgs and update README

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Revert major to minor

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Fix config indent

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* [bitnami/wavefront] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2022-04-12 12:01:30 +02:00

69 lines
2.2 KiB
YAML

{{- if .Values.proxy.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-proxy" (include "common.names.fullname" .) }}
namespace: {{ .Release.Namespace | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: proxy
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
ports:
- name: wavefront
port: {{ .Values.proxy.port }}
protocol: TCP
{{- if .Values.proxy.tracePort }}
- name: wavefront-trace
port: {{ .Values.proxy.tracePort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.jaegerPort }}
- name: jaeger
port: {{ .Values.proxy.jaegerPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.traceJaegerHttpListenerPort }}
- name: jaeger-thriftdata
port: {{ .Values.proxy.traceJaegerHttpListenerPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.zipkinPort }}
- name: zipkin
port: {{ .Values.proxy.zipkinPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramPort }}
- name: histogram
port: {{ .Values.proxy.histogramPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramMinutePort }}
- name: histogram-minute
port: {{ .Values.proxy.histogramMinutePort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramHourPort }}
- name: histogram-hour
port: {{ .Values.proxy.histogramHourPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.histogramDayPort }}
- name: histogram-day
port: {{ .Values.proxy.histogramDayPort }}
protocol: TCP
{{- end }}
{{- if .Values.proxy.deltaCounterPort }}
- name: delta-counter
port: {{ .Values.proxy.deltaCounterPort }}
protocol: TCP
{{- end }}
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: proxy
{{ end }}