Update to Go 1.19

This commit is contained in:
Katrina Verey
2022-11-16 20:51:56 -05:00
parent 62f0dab2ac
commit 91a2c2b1a4
63 changed files with 67 additions and 66 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod .

View File

@@ -1,6 +1,6 @@
module sigs.k8s.io/kustomize/functions/examples/application-cr
go 1.18
go 1.19
require (
k8s.io/apimachinery v0.20.4

View File

@@ -1,7 +1,7 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod .

View File

@@ -1,6 +1,6 @@
module sigs.k8s.io/kustomize/functions/examples/injection-tshirt-sizes
go 1.18
go 1.19
require sigs.k8s.io/kustomize/kyaml v0.13.7

View File

@@ -1,7 +1,7 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod .

View File

@@ -1,6 +1,6 @@
module sigs.k8s.io/kustomize/functions/examples/template-go-nginx
go 1.18
go 1.19
require sigs.k8s.io/kustomize/kyaml v0.13.7

View File

@@ -1,7 +1,7 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
ENV CGO_ENABLED=0
RUN go get -v sigs.k8s.io/kustomize/kustomize

View File

@@ -5,7 +5,7 @@ FROM alpine:latest as schemas
RUN apk --no-cache add git
RUN git clone --depth 1 https://github.com/instrumenta/kubernetes-json-schema.git
FROM golang:1.18-stretch as function
FROM golang:1.19-bullseye as function
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod .

View File

@@ -1,6 +1,6 @@
module sigs.k8s.io/kustomize/functions/examples/validator-kubeval
go 1.18
go 1.19
require (
github.com/instrumenta/kubeval v0.0.0-20190918223246-8d013ec9fc56

View File

@@ -1,7 +1,7 @@
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.18-stretch
FROM golang:1.19-bullseye
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod .

View File

@@ -1,6 +1,6 @@
module sigs.k8s.io/kustomize/functions/examples/validator-resource-requests
go 1.18
go 1.19
require sigs.k8s.io/kustomize/kyaml v0.13.7