Skip to content

Commit

Permalink
rename secret to align with UI onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Nov 6, 2024
1 parent ca3afbd commit 73f8c2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Additionally, the OpenTelemetry Contrib collector has also been changed to the [
1. Setup Elastic Observability on Elastic Cloud.
2. Create a secret in Kubernetes with the following command.
```
kubectl create secret generic elastic-otel-secret \
kubectl create secret generic elastic-secret-otel \
--from-literal=elastic_endpoint='YOUR_ELASTICSEARCH_ENDPOINT' \
--from-literal=elastic_api_key='YOUR_ELASTICSEARCH_API_KEY'
```
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/elastic-helm/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ extraEnvs:
- name: ELASTIC_ENDPOINT
valueFrom:
secretKeyRef:
name: elastic-otel-secret
name: elastic-secret-otel
key: elastic_endpoint
- name: ELASTIC_API_KEY
valueFrom:
secretKeyRef:
name: elastic-otel-secret
name: elastic-secret-otel
key: elastic_api_key
- name: K8S_NODE_NAME
valueFrom:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/elastic-helm/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ opentelemetry-collector:
- name: ELASTIC_ENDPOINT
valueFrom:
secretKeyRef:
name: elastic-otel-secret
name: elastic-secret-otel
key: elastic_endpoint
- name: ELASTIC_API_KEY
valueFrom:
secretKeyRef:
name: elastic-otel-secret
name: elastic-secret-otel
key: elastic_api_key
- name: GOMAXPROCS
valueFrom:
Expand Down

0 comments on commit 73f8c2e

Please sign in to comment.