From 47334621cd67a8f3941e04b24b218ed2778230da Mon Sep 17 00:00:00 2001 From: Santhosh Date: Sat, 7 Oct 2023 09:36:08 -0700 Subject: [PATCH] use fips image for rke2 --- Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index d43a122..f32eb03 100644 --- a/Earthfile +++ b/Earthfile @@ -165,7 +165,7 @@ provider-image: SAVE IMAGE --push $IMAGE_PATH stylus-image: - IF [ "$K8S_DISTRIBUTION" = "kubeadm-fips" ] + IF [ "$K8S_DISTRIBUTION" = "kubeadm-fips" ] || [ "$K8S_DISTRIBUTION" = "rke2" ] && [ "$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