From cfa60a1805ff9e9afeab3c0c2d4e26bb05eeea8e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 22:24:51 -0700 Subject: [PATCH] PE-2558: use fips image for rke2 if fips_enabled is true (#67) (#68) (cherry picked from commit fff7a34e30c294a5cac73bae07161ef97f53070f) Co-authored-by: Santhosh --- Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 46d44e2..6523cd5 100644 --- a/Earthfile +++ b/Earthfile @@ -165,7 +165,7 @@ provider-image: SAVE IMAGE --push $IMAGE_PATH stylus-image: - IF [ "$K8S_DISTRIBUTION" = "kubeadm-fips" ] + IF [ "$FIPS_ENABLED" = "true" ] ARG STYLUS_BASE=gcr.io/spectro-dev-public/stylus-framework-fips-linux-$ARCH:$PE_VERSION ELSE ARG STYLUS_BASE=gcr.io/spectro-dev-public/stylus-framework-linux-$ARCH:$PE_VERSION