Skip to content

Commit

Permalink
edge native k8s FIPS packs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-N00B committed Jul 6, 2023
1 parent e674495 commit 7e35203
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ARG OSBUILDER_IMAGE=quay.io/kairos/osbuilder-tools:$OSBUILDER_VERSION
ARG K3S_PROVIDER_VERSION=v2.0.3
ARG KUBEADM_PROVIDER_VERSION=v2.0.5-beta1
ARG RKE2_PROVIDER_VERSION=v2.0.3
ARG FIPS_ENABLED=false


IF [ "$OS_DISTRIBUTION" = "ubuntu" ]
Expand All @@ -36,9 +37,15 @@ build-all-images:
BUILD --platform=linux/amd64 +iso

build-provider-images:
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.24.6
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.25.2
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.26.4
IF $FIPS_ENABLED
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.24.13
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.25.9
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.26.4
ELSE
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.24.6
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.25.2
BUILD --platform=linux/amd64 +provider-image --K8S_VERSION=1.26.4
END

iso-image-rootfs:
FROM +iso-image
Expand Down

0 comments on commit 7e35203

Please sign in to comment.