mirror of
https://github.com/hanzoai/o11y-foundry.git
synced 2026-11-03 02:08:34 +00:00
#### Features - adds kubernets kustomize casting - add examples for knobs, knobs with patches, patches and default installation Related: https://github.com/SigNoz/platform-pod/issues/1778
19 lines
489 B
Go Template
19 lines
489 B
Go Template
{{- $name := print $.Metadata.Name "-telemetrystore-" $.Spec.TelemetryStore.Kind "-operator" -}}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ $name }}-metrics
|
|
labels:
|
|
app.kubernetes.io/name: {{ $name }}
|
|
app.kubernetes.io/instance: {{ $name }}
|
|
app.kubernetes.io/version: "0.25.3"
|
|
spec:
|
|
ports:
|
|
- port: 8888
|
|
name: ch-metrics
|
|
- port: 9999
|
|
name: op-metrics
|
|
selector:
|
|
app.kubernetes.io/name: {{ $name }}
|
|
app.kubernetes.io/instance: {{ $name }}
|