Skip to content

Commit 007caa1

Browse files
[Oblt Onboarding][K8S OTel] Use helm upgrade --install (#215160)
Closes #215134 Using `helm upgrade --install` lets the user run the helm command multiple times to, for example, upgrade to the new version after a stack release. ![CleanShot 2025-03-19 at 13 48 39@2x](https://github.com/user-attachments/assets/196c8d6d-1046-44d3-8d44-c300fa0418af) ## How to test 1. Run Kibana and navigate to the K8S OTel onboarding flow 2. Execute snippets provided by the flow 3. Copy only the `helm upgrade --install ...` part of the second snippet and execute it again 4. Make sure the command succeeds Co-authored-by: Joe Reuter <[email protected]>
1 parent 505405d commit 007caa1

File tree

1 file changed

+1
-1
lines changed
  • x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes

1 file changed

+1
-1
lines changed

x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/otel_kubernetes/otel_kubernetes_panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ kubectl create secret generic elastic-secret-otel \\
8484
--namespace ${namespace} \\
8585
--from-literal=${elasticEndpointVarName}='${ingestEndpointUrl}' \\
8686
--from-literal=elastic_api_key='${data.apiKeyEncoded}'
87-
helm install opentelemetry-kube-stack open-telemetry/opentelemetry-kube-stack \\
87+
helm upgrade --install opentelemetry-kube-stack open-telemetry/opentelemetry-kube-stack \\
8888
--namespace ${namespace} \\
8989
--values '${otelKubeStackValuesFileUrl}' \\
9090
--version '${OTEL_KUBE_STACK_VERSION}'`

0 commit comments

Comments
 (0)