Skip to content

Commit

Permalink
use fips image for rke2
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshdaivajna committed Oct 7, 2023
1 parent 82ec3f5 commit 4733462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4733462

Please sign in to comment.