diff options
Diffstat (limited to 'astroshop-helm/checkout/templates/service.yaml')
| -rw-r--r-- | astroshop-helm/checkout/templates/service.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/astroshop-helm/checkout/templates/service.yaml b/astroshop-helm/checkout/templates/service.yaml new file mode 100644 index 0000000..3ad61a3 --- /dev/null +++ b/astroshop-helm/checkout/templates/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.namespace }}-{{ include "checkout.fullname" . }} + labels: + app.kubernetes.io/component: checkoutservice + app.kubernetes.io/part-of: opentelemetry-demo + opentelemetry.io/name: opentelemetry-demo-checkoutservice + {{- include "checkout.labels" . | nindent 4 }} +spec: + type: {{ .Values.opentelemetryDemoCheckoutservice.type }} + selector: + opentelemetry.io/name: opentelemetry-demo-checkoutservice + {{- include "checkout.selectorLabels" . | nindent 4 }} + ports: + {{- .Values.opentelemetryDemoCheckoutservice.ports | toYaml | nindent 2 }} |
