Skip to content

Commit a090670

Browse files
committed
Fixing presetup deployment
1 parent 5ee7d57 commit a090670

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ message = Releasing v{new_version}
1313
search = WSVERSION={current_version}
1414
replace = WSVERSION={new_version}
1515

16+
[bumpversion:file:workshop/aws/ec2/templates/userdata.yaml]
17+
search = WSVERSION={current_version}
18+
replace = WSVERSION={new_version}
19+
1620
[bumpversion:file:workshop/cloud-init/victorops.yaml]
1721
search = WSVERSION={current_version}
1822
replace = WSVERSION={new_version}

workshop/apm/apm-config.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/bin/bash
1+
#!/usr/bin/bash
22
norum="True" #no RUM is default
3-
while getopts "r" option
4-
do
3+
while getopts "r" option; do
54
case "${option}" in
65
r) norum="False";;
76
\?) #For invalid option

workshop/aws/ec2/templates/userdata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ write_files:
7272
helm repo update
7373
helm install splunk-otel-collector --set="splunkObservability.realm=$REALM" --set="splunkObservability.accessToken=$ACCESS_TOKEN" --set="clusterName=$INSTANCE-k3s-cluster" --set="splunkObservability.logsEnabled=true" --set="splunkObservability.profilingEnabled=true" --set="splunkObservability.infrastructureMonitoringEventsEnabled=true" --set="environment=$INSTANCE-apm-env" splunk-otel-collector-chart/splunk-otel-collector -f ~/workshop/k3s/otel-collector.yaml
7474
cd ~/workshop/apm/
75-
./apm-config.sh -r
75+
bash apm-config.sh -r
7676
sudo kubectl apply -f deployment.yaml
7777
echo $INSTANCE > ~/.helmok
7878
fi

0 commit comments

Comments
 (0)