diff options
| author | Saumit <justsaumit@protonmail.com> | 2025-10-04 01:36:57 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2025-10-04 01:36:57 +0530 |
| commit | df2bd058309ac234eebdad3b0682a137e27dfc44 (patch) | |
| tree | 39be2243787c3bdd595ae123766565f80a8a039c /astroshop-helm/imageprovider/templates/service.yaml | |
| parent | 90a62ae7ea5e745b99d8ac8d08ae837bbaedfce5 (diff) | |
Add tested Helm chart and configuration files for OpenTelemetry demo services
Diffstat (limited to 'astroshop-helm/imageprovider/templates/service.yaml')
| -rw-r--r-- | astroshop-helm/imageprovider/templates/service.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/astroshop-helm/imageprovider/templates/service.yaml b/astroshop-helm/imageprovider/templates/service.yaml new file mode 100644 index 0000000..05448c6 --- /dev/null +++ b/astroshop-helm/imageprovider/templates/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.namespace }}-{{ include "imageprovider.fullname" . }} + labels: + app.kubernetes.io/component: imageprovider + app.kubernetes.io/part-of: opentelemetry-demo + opentelemetry.io/name: {{ .Values.namespace }}-{{ include "imageprovider.fullname" . }} + {{- include "imageprovider.labels" . | nindent 4 }} +spec: + type: {{ .Values.opentelemetryDemoImageprovider.type }} + selector: + opentelemetry.io/name: {{ .Values.namespace }}-{{ include "imageprovider.fullname" . }} + {{- include "imageprovider.selectorLabels" . | nindent 4 }} + ports: + {{- .Values.opentelemetryDemoImageprovider.ports | toYaml | nindent 2 }} |
