Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Jan 31, 2025
1 parent 7521d45 commit 1407c0e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions e2e/scripts/unsupported-overrides.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@ set -euox pipefail
DIR=/usr/local/bin
. $DIR/common.sh

embedded_cluster_config="
apiVersion: embeddedcluster.replicated.com/v1beta1
kind: Config
spec:
"

embed_cluster_config() {
content="$1"
echo "$content" > /root/release.yaml
tar -czvf /root/release.tar.gz /root/release.yaml
embedded-cluster-release-builder /usr/local/bin/embedded-cluster /root/release.tar.gz /usr/local/bin/embedded-cluster
}

override_applied() {
grep -A1 telemetry "$K0SCONFIG" > /tmp/telemetry-section
if ! grep -q "enabled: true" /tmp/telemetry-section; then
Expand All @@ -38,7 +24,6 @@ override_applied() {
}

main() {
embed_cluster_config "$embedded_cluster_config"
if ! embedded-cluster install --yes --license /assets/license.yaml 2>&1 | tee /tmp/log ; then
echo "Failed to install embedded-cluster"
cat /tmp/log
Expand Down

0 comments on commit 1407c0e

Please sign in to comment.