Revision 2fc54dd6dd9edb507cb3111e175071000189b81c authored by Daneyon Hansen on 04 March 2024, 23:58:46 UTC, committed by christarazi on 17 June 2024, 14:16:33 UTC
- `operator/option/config.go`: Adds an option for enabling AWS IPv6 prefix delegation (PD). - `*_test.go`: Updates IPAM implementation unit tests to call `NewNodeManager()` with IPv6 PD config option. - `pkg/ipam/node.go`: Adds `ipv6Alloc` field to `Node` type to represent IPv6-specific allocation node attributes. - `pkg/ipam/node_manager.go`: Adds IPv6 PD field to the `NodeManager` type and associated `NewNodeManager()`. Supports: #30684 Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
1 parent 51ff384
microk8s-import.sh
#!/usr/bin/env bash
set -e
set -o pipefail
CONTAINER_ENGINE=${CONTAINER_ENGINE:-"docker"}
TARGET_IMAGE=${1:-""}
MICROK8S_CTR="microk8s.ctr"
main()
{
"$CONTAINER_ENGINE" image inspect "$TARGET_IMAGE" >/dev/null
LOCAL_IMAGE=$(mktemp "$(echo $TARGET_IMAGE | sed 's/\//-/g').XXXXXX")
trap "rm -f $LOCAL_IMAGE" EXIT
"$CONTAINER_ENGINE" image save "$TARGET_IMAGE" -o "$LOCAL_IMAGE"
"$MICROK8S_CTR" image import "$LOCAL_IMAGE"
echo "Update image tag like this when ready:"
echo " microk8s.kubectl -n kube-system set image ds/cilium cilium-agent=$TARGET_IMAGE"
echo "Or, redeploy the Cilium pods:"
echo " microk8s.kubectl -n kube-system delete pod -l k8s-app=cilium"
}
main "$@"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...