summaryrefslogtreecommitdiff
path: root/astroshop-helm/frontendproxy/templates/frontend-proxy.yaml
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-10-04 01:36:57 +0530
committerSaumit <justsaumit@protonmail.com>2025-10-04 01:36:57 +0530
commitdf2bd058309ac234eebdad3b0682a137e27dfc44 (patch)
tree39be2243787c3bdd595ae123766565f80a8a039c /astroshop-helm/frontendproxy/templates/frontend-proxy.yaml
parent90a62ae7ea5e745b99d8ac8d08ae837bbaedfce5 (diff)
Add tested Helm chart and configuration files for OpenTelemetry demo services
Diffstat (limited to 'astroshop-helm/frontendproxy/templates/frontend-proxy.yaml')
-rw-r--r--astroshop-helm/frontendproxy/templates/frontend-proxy.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/astroshop-helm/frontendproxy/templates/frontend-proxy.yaml b/astroshop-helm/frontendproxy/templates/frontend-proxy.yaml
new file mode 100644
index 0000000..72ace3d
--- /dev/null
+++ b/astroshop-helm/frontendproxy/templates/frontend-proxy.yaml
@@ -0,0 +1,24 @@
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: {{ .Values.namespace }}-{{ include "frontendproxy.fullname" . }}
+ labels:
+ app.kubernetes.io/component: frontendproxy
+ app.kubernetes.io/part-of: opentelemetry-demo
+ opentelemetry.io/name: {{ .Values.namespace }}-{{ include "frontendproxy.fullname" . }}
+ annotations:
+ alb.ingress.kubernetes.io/scheme: internet-facing
+ alb.ingress.kubernetes.io/target-type: ip
+spec:
+ ingressClassName: alb
+ rules:
+ - host: example.com
+ http:
+ paths:
+ - backend:
+ service:
+ name: '{{ include "frontendproxy.fullname" . }}'
+ port:
+ number: 8080
+ path: /
+ pathType: Prefix