Skip to content

Commit aa0d06a

Browse files
committed
Remove quotes around true
1 parent 2b465bd commit aa0d06a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

workshop/aws/ec2/templates/userdata.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ packages:
1717
- podman
1818
- python3-venv
1919
- jq
20-
%{ if jdk == "true" }
20+
%{ if jdk == true ~}
2121
- maven
2222
- openjdk-17-jdk
23-
%{ endif }
23+
%{ endif ~}
2424
- python3-pip
2525
- zsh
2626

@@ -68,7 +68,7 @@ write_files:
6868
fi
6969
export INSTANCE CLUSTER_NAME
7070
71-
%{ if presetup == "true" }
71+
%{ if presetup == true ~}
7272
export RUM_TOKEN=${rum_token}
7373
if [ ! -f ~/.helmok ]; then
7474
helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart
@@ -80,7 +80,8 @@ write_files:
8080
echo $INSTANCE > ~/.helmok
8181
cd /home/ubuntu
8282
fi
83-
%{ endif }
83+
%{ endif ~}
84+
8485
export KUBECONFIG=/home/ubuntu/.kube/config
8586
alias kc='kubectl'
8687
alias dc='docker-compose'
@@ -169,8 +170,8 @@ runcmd:
169170
# Install Helm
170171
- curl -s https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
171172
# Install K9s (Kubernetes UI)
172-
- curl -S -OL https://github.com/derailed/k9s/releases/download/v0.26.7/k9s_Linux_x86_64.tar.gz
173-
- tar xfz k9s_Linux_x86_64.tar.gz -C /usr/local/bin/ k9s
173+
- curl -S -OL https://github.com/derailed/k9s/releases/download/v0.27.0/k9s_Linux_amd64.tar.gz
174+
- tar xfz k9s_Linux_amd64.tar.gz -C /usr/local/bin/ k9s
174175
# Download Workshop
175176
- export WSVERSION=4.46
176177
- 'export WSARCHIVE=$([ "$WSVERSION" = "main" ] && echo "main" || echo "v$WSVERSION")'

0 commit comments

Comments
 (0)