Skip to content

Commit ee12cd1

Browse files
committed
Fix to use K8s secret
1 parent 284d3b4 commit ee12cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workshop/aws/ec2/templates/userdata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ write_files:
9999
if [ ! -f ~/.helmok ]; then
100100
helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart
101101
helm repo update
102-
REALM=$REALM SPLUNK_OBSERVABILITY_ACCESS_TOKEN=$ACCESS_TOKEN envsubst < workshop/oteldemo/otel-demo-collector.yaml | helm install splunk-otel-collector \
102+
envsubst 'REALM=$REALM' < workshop/oteldemo/otel-demo-collector.yaml | helm install splunk-otel-collector \
103103
--set="splunkObservability.realm=$REALM" \
104104
--set="splunkObservability.accessToken=$ACCESS_TOKEN" \
105105
--set="clusterName=$INSTANCE-k3s-cluster" \

0 commit comments

Comments
 (0)