Skip to content

Commit

Permalink
fix kubeadm-fips
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Sep 5, 2024
1 parent 4261769 commit 022d5ca
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 @@ -160,7 +160,7 @@ build-provider-images:
WORKDIR /workdir
COPY k8s_version.json k8s_version.json
ENV K8S_DISTRIBUTION=$K8S_DISTRIBUTION
RUN jq -r ".$K8S_DISTRIBUTION[]" k8s_version.json > k8s_version.txt
RUN jq -r --arg key "$K8S_DISTRIBUTION" 'if .[$key] then .[$key][] else empty end' k8s_version.json > k8s_version.txt
FOR version IN $(cat k8s_version.txt)
BUILD +$TARGET --K8S_VERSION=$version
END
Expand Down

0 comments on commit 022d5ca

Please sign in to comment.