Skip to content

Commit

Permalink
Merge branch 'main' into renovate/istio-istioctl-1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo authored Aug 19, 2024
2 parents 8c0b271 + 297db3d commit b257aa2
Show file tree
Hide file tree
Showing 28 changed files with 529 additions and 3,858 deletions.
18 changes: 9 additions & 9 deletions .github/test_dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
e2e:
kind:
# renovate: datasource=docker depName=kindest/node versioning=docker
- 'v1.30.3'
- 'v1.31.0'
# renovate: datasource=docker depName=kindest/node@only-patch packageName=kindest/node versioning=docker
- 'v1.28.9'
- 'v1.30.4'
# renovate: datasource=docker depName=kindest/node@only-patch packageName=kindest/node versioning=docker
- 'v1.27.13'
- 'v1.29.8'
# renovate: datasource=docker depName=kindest/node@only-patch packageName=kindest/node versioning=docker
- 'v1.26.15'
- 'v1.28.13'
# renovate: datasource=docker depName=kindest/node@only-patch packageName=kindest/node versioning=docker
- 'v1.25.16'
- 'v1.27.16'
gke:
# renovate: datasource=custom.gke-rapid depName=gke versioning=semver
- '1.30.3'
Expand All @@ -18,7 +18,7 @@ e2e:
# used directly in the test matrix `include` section.
istio:
- # renovate: datasource=docker depName=kindest/node versioning=docker
kind: 'v1.30.3'
kind: 'v1.31.0'
# renovate: datasource=docker depName=istio/istioctl versioning=docker
istio: '1.23.0'
- # renovate: datasource=docker depName=kindest/node@only-patch versioning=docker
Expand All @@ -30,11 +30,11 @@ e2e:
# renovate: datasource=docker depName=istio/istioctl@only-patch versioning=docker
istio: '1.21.2'
- # renovate: datasource=docker depName=kindest/node@only-patch versioning=docker
kind: 'v1.29.4'
kind: 'v1.29.8'
# renovate: datasource=docker depName=istio/istioctl@only-patch versioning=docker
istio: '1.20.7'
- # renovate: datasource=docker depName=kindest/node@only-patch packageName=kindest/node versioning=docker
kind: 'v1.28.9'
kind: 'v1.28.13'
# renovate: datasource=docker depName=istio/istioctl@only-patch packageName=istio/istioctl versioning=docker
istio: '1.19.10'

Expand All @@ -46,7 +46,7 @@ integration:
# renovate: datasource=helm depName=kong registryUrl=https://charts.konghq.com versioning=helm
kong: '2.40.0'
# renovate: datasource=docker depName=kindest/node versioning=docker
kind: 'v1.30.3'
kind: 'v1.31.0'
# renovate: datasource=docker depName=kong versioning=docker
kong-oss: '3.7.1'
# renovate: datasource=docker depName=kong/kong-gateway versioning=docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Check if PR is up to date, if it is skip workflows for this ref
id: 'up-to-date'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/')
uses: Kong/public-shared-actions/pr-previews/up-to-date@v2.3.0
uses: Kong/public-shared-actions/pr-previews/up-to-date@v2.4.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
6 changes: 3 additions & 3 deletions .tools_versions.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# renovate: datasource=github-tags depName=kubernetes/code-generator
kube-code-generator: "0.30.3"
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
controller-tools: "0.15.0"
controller-tools: "0.16.1"
# renovate: datasource=github-releases depName=kubernetes-sigs/kustomize
kustomize: "5.3.0"
# renovate: datasource=github-releases depName=golangci/golangci-lint
golangci-lint: "1.60.1"
# renovate: datasource=github-releases depName=GoogleContainerTools/skaffold
skaffold: "2.13.1"
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-runtime
setup-envtest: "0.18.5"
setup-envtest: "0.19.0"
# renovate: datasource=github-releases depName=elastic/crd-ref-docs
crd-ref-docs: "0.1.0"
# renovate: datasource=github-releases depName=mikefarah/yq
Expand All @@ -19,4 +19,4 @@ gojunit-report: "2.1.0"
# renovate: datasource=github-releases depName=gotestyourself/gotestsum
gotestsum: "1.12.0"
# renovate: datasource=github-releases depName=dominikh/go-tools
staticcheck: "0.4.7"
staticcheck: "2024.1.1"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Standard binary
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.22.6 AS builder
FROM --platform=$BUILDPLATFORM golang:1.23.0 AS builder

ARG GOPATH
ARG GOCACHE
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build a manager binary with debug symbols and download Delve
FROM --platform=$BUILDPLATFORM golang:1.22.6 AS builder
FROM --platform=$BUILDPLATFORM golang:1.23.0 AS builder

ARG GOPATH
ARG GOCACHE
Expand Down Expand Up @@ -46,7 +46,7 @@ RUN --mount=type=cache,target=$GOPATH/pkg/mod \

### Debug
# Create an image that runs a debug build with Delve installed
FROM golang:1.22.6 AS debug
FROM golang:1.23.0 AS debug
RUN go install github.com/go-delve/delve/cmd/dlv@latest
# We want all source so Delve file location operations work
COPY --from=builder /workspace/bin/manager-debug /
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ STATICCHECK_VERSION = $(shell yq -ojson -r '.staticcheck' < $(TOOLS_VERSIONS_FIL
STATICCHECK = $(PROJECT_DIR)/bin/installs/staticcheck/$(STATICCHECK_VERSION)/bin/staticcheck
.PHONY: staticcheck.download
staticcheck.download: ## Download staticcheck locally if necessary.
# TODO: Use staticcheck plugin without alias aftrer https://github.com/pbr0ck3r/asdf-staticcheck/pull/6 is merged.
@$(MAKE) mise-plugin-install DEP=staticcheck URL=https://github.com/pmalek/asdf-staticcheck.git
@$(MAKE) mise-plugin-install DEP=staticcheck URL=https://github.com/pbr0ck3r/asdf-staticcheck.git
@$(MISE) install staticcheck@$(STATICCHECK_VERSION)

GOJUNIT_REPORT_VERSION = $(shell yq -ojson -r '.gojunit-report' < $(TOOLS_VERSIONS_FILE))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: ingressclassparameterses.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down
23 changes: 4 additions & 19 deletions config/crd/bases/configuration.konghq.com_kongclusterplugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: kongclusterplugins.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down Expand Up @@ -227,22 +227,12 @@ spec:
description: |-
Conditions describe the current conditions of the KongClusterPluginStatus.
Known condition types are:
* "Programmed"
items:
description: "Condition contains details for one aspect of the current
state of this API Resource.\n---\nThis struct is intended for
direct use as an array at the field path .status.conditions. For
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
observations of a foo's current state.\n\t // Known .status.conditions.type
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
\ // other fields\n\t}"
description: Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
Expand Down Expand Up @@ -283,12 +273,7 @@ spec:
- Unknown
type: string
type:
description: |-
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
Expand Down
23 changes: 4 additions & 19 deletions config/crd/bases/configuration.konghq.com_kongconsumergroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: kongconsumergroups.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down Expand Up @@ -62,22 +62,12 @@ spec:
description: |-
Conditions describe the current conditions of the KongConsumerGroup.
Known condition types are:
* "Programmed"
items:
description: "Condition contains details for one aspect of the current
state of this API Resource.\n---\nThis struct is intended for
direct use as an array at the field path .status.conditions. For
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
observations of a foo's current state.\n\t // Known .status.conditions.type
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
\ // other fields\n\t}"
description: Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
Expand Down Expand Up @@ -118,12 +108,7 @@ spec:
- Unknown
type: string
type:
description: |-
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
Expand Down
23 changes: 4 additions & 19 deletions config/crd/bases/configuration.konghq.com_kongconsumers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: kongconsumers.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down Expand Up @@ -87,22 +87,12 @@ spec:
description: |-
Conditions describe the current conditions of the KongConsumer.
Known condition types are:
* "Programmed"
items:
description: "Condition contains details for one aspect of the current
state of this API Resource.\n---\nThis struct is intended for
direct use as an array at the field path .status.conditions. For
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
observations of a foo's current state.\n\t // Known .status.conditions.type
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
\ // other fields\n\t}"
description: Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
Expand Down Expand Up @@ -143,12 +133,7 @@ spec:
- Unknown
type: string
type:
description: |-
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
Expand Down
23 changes: 4 additions & 19 deletions config/crd/bases/configuration.konghq.com_kongcustomentities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: kongcustomentities.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down Expand Up @@ -103,22 +103,12 @@ spec:
description: |-
Conditions describe the current conditions of the KongCustomEntityStatus.
Known condition types are:
* "Programmed"
items:
description: "Condition contains details for one aspect of the current
state of this API Resource.\n---\nThis struct is intended for
direct use as an array at the field path .status.conditions. For
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
observations of a foo's current state.\n\t // Known .status.conditions.type
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
\ // other fields\n\t}"
description: Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
Expand Down Expand Up @@ -159,12 +149,7 @@ spec:
- Unknown
type: string
type:
description: |-
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: kongingresses.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down
23 changes: 4 additions & 19 deletions config/crd/bases/configuration.konghq.com_konglicenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.1
name: konglicenses.configuration.konghq.com
spec:
group: configuration.konghq.com
Expand Down Expand Up @@ -80,18 +80,8 @@ spec:
description: Conditions describe the current conditions of the
KongLicense on the controller.
items:
description: "Condition contains details for one aspect of
the current state of this API Resource.\n---\nThis struct
is intended for direct use as an array at the field path
.status.conditions. For example,\n\n\n\ttype FooStatus
struct{\n\t // Represents the observations of a foo's
current state.\n\t // Known .status.conditions.type are:
\"Available\", \"Progressing\", and \"Degraded\"\n\t //
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t //
+listType=map\n\t // +listMapKey=type\n\t Conditions
[]metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\"
patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
\ // other fields\n\t}"
description: Condition contains details for one aspect of
the current state of this API Resource.
properties:
lastTransitionTime:
description: |-
Expand Down Expand Up @@ -133,12 +123,7 @@ spec:
- Unknown
type: string
type:
description: |-
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
Expand Down
Loading

0 comments on commit b257aa2

Please sign in to comment.