Skip to content

Commit

Permalink
update rke2-metric-server to fix busybox image
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Jan 5, 2024
1 parent b8007b6 commit 601f603
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/chart_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ charts:
- version: 4.8.200
filename: /charts/rke2-ingress-nginx.yaml
bootstrap: false
- version: 2.11.100-build2023051511
- version: 2.11.100-build2023051513
filename: /charts/rke2-metrics-server.yaml
bootstrap: false
- version: v4.0.2-build2023081106
Expand Down
1 change: 1 addition & 0 deletions scripts/build-images
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ xargs -n1 -t docker image pull --quiet << EOF >> build/images-core.txt
${REGISTRY}/rancher/rke2-cloud-provider:${CCM_VERSION}
${REGISTRY}/rancher/mirrored-sig-storage-snapshot-controller:v6.2.1
${REGISTRY}/rancher/mirrored-sig-storage-snapshot-validation-webhook:v6.2.2
${REGISTRY}/rancher/mirrored-library-busybox:1.36.1
EOF

xargs -n1 -t docker image pull --quiet << EOF > build/images-canal.txt
Expand Down
3 changes: 1 addition & 2 deletions scripts/validate-charts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ check_system_registry() {
helm template test-chart --kube-version ${KUBERNETES_VERSION} --set $values $chart_tmp > $yaml_tmp;

awk '$1 ~ /^image:/ {
if( $2 !~ /my-registry/ && $2 !~ busybox) {
if( $2 !~ /my-registry/ ) {
print $2
}
}
Expand Down Expand Up @@ -141,7 +141,6 @@ check_airgap() {
' $yaml_tmp | \
while read image
do
[ "$image" = "busybox" ] && continue
if ! grep -q $image scripts/build-images; then
echo $image
fi
Expand Down

0 comments on commit 601f603

Please sign in to comment.