From df2bd058309ac234eebdad3b0682a137e27dfc44 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 4 Oct 2025 01:36:57 +0530 Subject: Add tested Helm chart and configuration files for OpenTelemetry demo services --- astroshop-helm/common/Chart.yaml | 6 ++++++ astroshop-helm/common/templates/serviceAccount.yaml | 11 +++++++++++ astroshop-helm/common/values.yaml | 10 ++++++++++ 3 files changed, 27 insertions(+) create mode 100644 astroshop-helm/common/Chart.yaml create mode 100644 astroshop-helm/common/templates/serviceAccount.yaml create mode 100644 astroshop-helm/common/values.yaml (limited to 'astroshop-helm/common') diff --git a/astroshop-helm/common/Chart.yaml b/astroshop-helm/common/Chart.yaml new file mode 100644 index 0000000..af7d45d --- /dev/null +++ b/astroshop-helm/common/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: opentelemetry-demo-common +description: Common resources for OpenTelemetry Demo services +type: application +version: 0.1.0 +appVersion: "2.1.3" \ No newline at end of file diff --git a/astroshop-helm/common/templates/serviceAccount.yaml b/astroshop-helm/common/templates/serviceAccount.yaml new file mode 100644 index 0000000..75e8452 --- /dev/null +++ b/astroshop-helm/common/templates/serviceAccount.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ .Values.serviceAccount.name }} + namespace: {{ .Values.namespace }} + labels: + opentelemetry.io/name: {{ .Values.serviceAccount.labels.opentelemetryIoName }} + app.kubernetes.io/instance: {{ .Values.serviceAccount.labels.appKubernetesIoInstance }} + app.kubernetes.io/name: {{ .Values.serviceAccount.labels.appKubernetesIoName }} + app.kubernetes.io/version: {{ quote .Values.serviceAccount.labels.appKubernetesIoVersion }} + app.kubernetes.io/part-of: {{ .Values.serviceAccount.labels.appKubernetesIoPartOf }} \ No newline at end of file diff --git a/astroshop-helm/common/values.yaml b/astroshop-helm/common/values.yaml new file mode 100644 index 0000000..1312f84 --- /dev/null +++ b/astroshop-helm/common/values.yaml @@ -0,0 +1,10 @@ +namespace: opentelemetry-demo + +serviceAccount: + name: opentelemetry-demo + labels: + opentelemetryIoName: opentelemetry-demo + appKubernetesIoInstance: opentelemetry-demo + appKubernetesIoName: opentelemetry-demo + appKubernetesIoVersion: "2.1.3" + appKubernetesIoPartOf: opentelemetry-demo \ No newline at end of file -- cgit v1.2.3