Files
charts/bitnami/wavefront/templates/proxy-service.yaml
T
9dea8f5794 [bitnami/wavefront] Add wavefront chart to the catalog (#3520)
* Add upstream wavefront chart

* Adapt common/generic files

* Adapt values.yaml and fix side effects

* Add common subchart and standarize labels

* Standarize names

* Standarize images

* Standarize resources and tolerations

* Fix linter issues

* Minor fixes

* Exclude chart from GH action testing as it is needed access to Wavefront instances

* [bitnami/minio] Release 3.7.3 updating components versions

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

* Exclude chart from GH action testing as it is needed access to Wavefront instances

* Add commonLabels, extraDeploy & commonAnnotations

* Add resources

* Revert "[bitnami/minio] Release 3.7.3 updating components versions"

This reverts commit 326611b2977decda7df67325545c51a74c70e57d.

* Remove duplicated

* Add readiness & liveness probes

* Add podAnnotations, affinity, nodeSelector, tolerations, priorityClassName, and lifecycleHooks

* Add sidecars and initContainers

* Add sidecars extraEnv and extraVolume

* Add podLabels

* Add updateStrategy

* Add commands & args

* Add SecurityContexts

* Minor fixes

* Fix batch of suggestions

* Add existing configmap option

* Support existing secrets for token

* Add validations

* Avoid failing if the params are not set

* Add enable parameter to securityContexts

* Rename wavefront-collector Docker image

* Add namespace to the installation instructions

* Update requirements.lock

* Update images

* Update tags and deps

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-10-09 09:59:09 +02:00

68 lines
2.1 KiB
YAML

{{- if .Values.proxy.enabled }}
apiVersion: v1
kind: Service
metadata:
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 }}
name: {{ template "common.names.fullname" . }}-proxy
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
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
type: ClusterIP
{{ end }}