mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-12-01 07:26:05 +07:00
@@ -14,7 +14,7 @@
|
||||
|
||||
# first stage build kindnetd binary
|
||||
# NOTE: tentatively follow upstream kubernetes go version based on k8s in go.mod
|
||||
FROM golang:1.18
|
||||
FROM golang:1.20
|
||||
WORKDIR /go/src
|
||||
# make deps fetching cacheable
|
||||
COPY go.mod go.sum ./
|
||||
@@ -24,6 +24,6 @@ COPY . .
|
||||
RUN CGO_ENABLED=0 go build -o ./kindnetd ./cmd/kindnetd
|
||||
|
||||
# build real kindnetd image
|
||||
FROM registry.k8s.io/build-image/distroless-iptables:v0.1.1
|
||||
FROM registry.k8s.io/build-image/distroless-iptables:v0.2.1
|
||||
COPY --from=0 --chown=root:root ./go/src/kindnetd /bin/kindnetd
|
||||
CMD ["/bin/kindnetd"]
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang:1.18
|
||||
FROM golang:1.20
|
||||
RUN git clone https://github.com/rancher/local-path-provisioner
|
||||
ARG VERSION
|
||||
RUN cd local-path-provisioner && \
|
||||
|
||||
@@ -20,7 +20,7 @@ package nodeimage
|
||||
The default CNI manifest and images are our own tiny kindnet
|
||||
*/
|
||||
|
||||
const kindnetdImage = "docker.io/kindest/kindnetd:v20221004-44d545d1"
|
||||
const kindnetdImage = "docker.io/kindest/kindnetd:v20230227-15197099"
|
||||
|
||||
var defaultCNIImages = []string{kindnetdImage}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ NOTE: we have customized it in the following ways:
|
||||
*/
|
||||
|
||||
const storageProvisionerImage = "docker.io/kindest/local-path-provisioner:v0.0.22-kind.0"
|
||||
const storageHelperImage = "docker.io/kindest/local-path-helper:v20220607-9a4d8d2a"
|
||||
const storageHelperImage = "docker.io/kindest/local-path-helper:v20230227-8863bcd1"
|
||||
|
||||
// image we need to preload
|
||||
var defaultStorageImages = []string{storageProvisionerImage, storageHelperImage}
|
||||
|
||||
@@ -17,7 +17,7 @@ limitations under the License.
|
||||
package loadbalancer
|
||||
|
||||
// Image defines the loadbalancer image:tag
|
||||
const Image = "kindest/haproxy:v20221220-7705dd1a"
|
||||
const Image = "docker.io/kindest/haproxy:v20230227-d46f45b6"
|
||||
|
||||
// ConfigPath defines the path to the config file in the image
|
||||
const ConfigPath = "/usr/local/etc/haproxy/haproxy.cfg"
|
||||
|
||||
Reference in New Issue
Block a user