Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gardener/gardener into master
Browse files Browse the repository at this point in the history
* 'master' of github.com:gardener/gardener: (51 commits)
  Switch extension controller to `logr` and streamline/cleanup logs (gardener#6332)
  Switch `./test/...` packages to `logr` and drop `github.com/sirupsen/logrus` dependency (gardener#6316)
  Only check shoot conditions during hibernation integration test (gardener#6325)
  Add dashboard for monitoring conntrack race failures. (gardener#6329)
  Reconcile quota before rbac (gardener#6326)
  Update istio to v1.14.1 (gardener#6271)
  Update gardenlet's base image to alpine:3.16.0 (gardener#6321)
  Update envoy proxy to v1.21.4 (gardener#6320)
  Deploy the metrics server to the kind cluster (gardener#6301)
  Fix tools download for aarch64 (arm64) (gardener#6314)
  update with latest CA releases (gardener#6295)
  Add missing unit tests for the predicates provided by the extensions library (gardener#6249)
  [GEP-19] Monitoring Stack - Migrating to the `prometheus-operator` (gardener#6151)
  Revert "Recreate DWD deployment if needed" (gardener#6307)
  Update to golang 1.18.4 (gardener#6300)
  Cleaned up imports in vpn-seed-server (gardener#6315)
  Prepare next Dev Cycle v1.52.0-dev
  Release v1.51.0
  Add pre/post reconciliation/deletion hooks for the Worker resource (gardener#6290)
  Update the supported values in the usage text of the `--leader-election-resource-lock` flag (gardener#6304)
  ...
  • Loading branch information
Kristiyan Gostev committed Jul 15, 2022
2 parents 30b1ad2 + cffdb9f commit 306b7fe
Show file tree
Hide file tree
Showing 764 changed files with 34,879 additions and 89,399 deletions.
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ issues:
- "undeclared name: `.*`"
- "\".*\" imported but not used"
# allow non-capitalized messages if they start with technical terms
- "structured logging message should be capitalized: \"gardener-(apiserver|controller-manager)"
- "structured logging message should be capitalized: \"garden(er-apiserver|er-controller-manager|er-admission-controller|er-seed-admission-controller|er-resource-manager|let)"
exclude-rules:
- linters:
- staticcheck
Expand Down
20 changes: 0 additions & 20 deletions .test-defs/CreateManagedSeed.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .test-defs/CreateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ spec:
# -machine-type=$MACHINE_TYPE
# -external-domain=

image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
17 changes: 0 additions & 17 deletions .test-defs/DeleteManagedSeed.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .test-defs/DeleteShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
--shoot-name=$SHOOT_NAME
--project-namespace=$PROJECT_NAMESPACE
--kubecfg="$TM_KUBECONFIG_PATH/gardener.config"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/HibernateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ spec:
--project-namespace=$PROJECT_NAMESPACE
--kubecfg="$TM_KUBECONFIG_PATH/gardener.config"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/MigrateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
-mr-exclude-list="$MR_EXCLUDE_LIST"
-resources-with-generated-name="$RESOURCES_WITH_GENERATED_NAME"
-add-test-run-taint="$ADD_TEST_RUN_TAINT"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/ReconcileShoots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
-kubecfg=$TM_KUBECONFIG_PATH/gardener.config
-version=$GARDENER_VERSION
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/ShootKubernetesUpdateTest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
-project-namespace=$PROJECT_NAMESPACE
-version=$K8S_VERSION
-version-worker-pools=$K8S_VERSION_WORKER_POOLS
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteGardenerBeta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
-ginkgo.focus="\[BETA\]"
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteGardenerBetaSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
-ginkgo.focus="\[BETA\].*\[SERIAL\]"
-ginkgo.skip="\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteGardenerDefault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
-ginkgo.focus="\[DEFAULT\]"
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteGardenerDefaultSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
-ginkgo.focus="\[DEFAULT\].*\[SERIAL\]"
-ginkgo.skip="\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteGardenerRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
-ginkgo.focus="\[RELEASE\]"
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteGardenerReleaseSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
-ginkgo.focus="\[RELEASE\].*\[SERIAL\]"
-ginkgo.skip="\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootBeta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
-ginkgo.focus="\[BETA\]"
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootBetaDisruptive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ spec:
-ginkgo.focus="\[BETA\].*\[DISRUPTIVE\]"
-ginkgo.skip="\[SERIAL\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootBetaSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ spec:
-ginkgo.focus="\[BETA\].*\[SERIAL\]"
-ginkgo.skip="\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootDefault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ spec:
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
-ginkgo.timeout=2h
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootDefaultDisruptive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ spec:
-ginkgo.focus="\[DEFAULT\].*\[DISRUPTIVE\]"
-ginkgo.skip="\[SERIAL\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootDefaultSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ spec:
-ginkgo.skip="\[DISRUPTIVE\]"
-ginkgo.timeout=2h
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
-ginkgo.focus="\[RELEASE\]"
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootReleaseDisruptive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ spec:
-ginkgo.focus="\[RELEASE\].*\[DISRUPTIVE\]"
-ginkgo.skip="\[SERIAL\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/TestSuiteShootReleaseSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ spec:
-ginkgo.focus="\[RELEASE\].*\[SERIAL\]"
-ginkgo.skip="\[DISRUPTIVE\]"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
2 changes: 1 addition & 1 deletion .test-defs/WakeUpShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ spec:
--project-namespace=$PROJECT_NAMESPACE
--kubecfg="$TM_KUBECONFIG_PATH/gardener.config"
image: eu.gcr.io/gardener-project/3rd/golang:1.18.1
image: eu.gcr.io/gardener-project/3rd/golang:1.18.4
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############# builder #############
FROM golang:1.18.1 AS builder
FROM golang:1.18.4 AS builder

WORKDIR /go/src/github.com/gardener/gardener
COPY . .
Expand All @@ -9,7 +9,7 @@ ARG EFFECTIVE_VERSION
RUN make install EFFECTIVE_VERSION=$EFFECTIVE_VERSION

############# base
FROM alpine:3.15.4 AS base
FROM alpine:3.16.0 AS base

############# distroless-static
FROM gcr.io/distroless/static-debian11:nonroot as distroless-static
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
############# base
FROM alpine:3.15.4 AS base
FROM alpine:3.16.0 AS base

# Define GOTRACEBACK to mark this container as using the Go language runtime
# for `skaffold debug` (https://skaffold.dev/docs/workflows/debug/).
Expand All @@ -11,7 +11,7 @@ RUN apk add --update tzdata
FROM gcr.io/distroless/static-debian11:nonroot as distroless-static

############# builder-base #############
FROM golang:1.18.1 AS builder-base
FROM golang:1.18.4 AS builder-base

WORKDIR /go/src/github.com/gardener/gardener

Expand Down
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,13 @@ kind2-up kind2-down: TARGET_SUFFIX := 2

kind-up kind2-up: $(KIND)
ifeq ($(MAKECMDGOALS), kind-up)
mkdir -m 775 -p $(REPO_ROOT)/dev/local-backupbuckets
mkdir -m 775 -p $(REPO_ROOT)/dev/local-backupbuckets $(REPO_ROOT)/dev/local-registry
endif
$(KIND) create cluster --name gardener-local$(TARGET_SUFFIX) --config $(REPO_ROOT)/example/gardener-local/kind$(TARGET_SUFFIX)/cluster-$(KIND_ENV).yaml --kubeconfig $(KUBECONFIG)
docker exec gardener-local$(TARGET_SUFFIX)-control-plane sh -c "sysctl fs.inotify.max_user_instances=8192" # workaround https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files
cp $(KUBECONFIG) $(REPO_ROOT)/example/provider-local/seed-kind$(TARGET_SUFFIX)/base/kubeconfig
kubectl apply -k $(REPO_ROOT)/example/gardener-local/calico --server-side
kubectl apply -k $(REPO_ROOT)/example/gardener-local/metrics-server --server-side

kind-down kind2-down: $(KIND)
$(KIND) delete cluster --name gardener-local$(TARGET_SUFFIX)
Expand All @@ -285,7 +286,9 @@ endif
gardener-up gardener-down gardenlet-kind2-up gardenlet-kind2-down: export SKAFFOLD_LABEL = skaffold.dev/run-id=gardener-local

gardener-up: $(SKAFFOLD) $(HELM)
$(SKAFFOLD) run
kubectl apply -k $(REPO_ROOT)/example/gardener-local/registry --server-side
kubectl wait --for=condition=available deployment -l app=registry -n registry --timeout=2m
SKAFFOLD_DEFAULT_REPO=localhost:5001 SKAFFOLD_PUSH=true $(SKAFFOLD) run

gardener-down: $(SKAFFOLD) $(HELM)
@# delete stuff gradually in the right order, otherwise several dependencies will prevent the cleanup from succeeding
Expand All @@ -304,7 +307,7 @@ gardener-down: $(SKAFFOLD) $(HELM)
gardenlet-kind2-up: $(SKAFFOLD) $(HELM)
$(SKAFFOLD) deploy -m kind2-env -p kind2 --kubeconfig=$(GARDENER_LOCAL_KUBECONFIG)
@# define GARDENER_LOCAL_KUBECONFIG so that it can be used by skaffold when checking whether the seed managed by this gardenlet is ready
GARDENER_LOCAL_KUBECONFIG=$(GARDENER_LOCAL_KUBECONFIG) $(SKAFFOLD) run -m provider-local,gardenlet -p kind2
GARDENER_LOCAL_KUBECONFIG=$(GARDENER_LOCAL_KUBECONFIG) SKAFFOLD_DEFAULT_REPO=localhost:5001 SKAFFOLD_PUSH=true $(SKAFFOLD) run -m provider-local,gardenlet -p kind2

gardenlet-kind2-down: $(SKAFFOLD) $(HELM)
$(SKAFFOLD) delete -m kind2-env -p kind2 --kubeconfig=$(GARDENER_LOCAL_KUBECONFIG)
Expand Down Expand Up @@ -333,10 +336,10 @@ test-e2e-local-migration: $(GINKGO)

test-e2e-local: $(GINKGO)
@# run at maximum 5 tests in parallel for now until we have better experience of how much load a single prow pod can take
./hack/test-e2e-local.sh --procs=5 --label-filter="Shoot && default"
./hack/test-e2e-local.sh --procs=5 --label-filter="ManagedSeed || (Shoot && default)"

ci-e2e-kind: $(KIND)
./hack/ci-e2e-kind.sh

ci-e2e-kind-migration: $(KIND)
./hack/ci-e2e-kind-migration.sh
./hack/ci-e2e-kind-migration.sh
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.51.0-dev
v1.52.0-dev
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ rules:
- workloadgroups.networking.istio.io
- telemetries.telemetry.istio.io
- wasmplugins.extensions.istio.io
- proxyconfigs.networking.istio.io
verbs:
- delete
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
labels:
{{ include "labels" . | indent 8 }}
spec:
priorityClassName: {{ include "name" . }}
priorityClassName: gardener-system-900
serviceAccountName: {{ include "name" . }}
containers:
- name: {{ include "name" . }}
Expand Down Expand Up @@ -127,4 +127,4 @@ spec:
- name: backup-path
hostPath:
path: {{ .Values.controllers.backupbucket.containerMountPath }}
type: Directory
type: DirectoryOrCreate

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
priorityClassName: gardener-system-300
serviceAccountName: machine-controller-manager
terminationGracePeriodSeconds: 5
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
labels:
app: local-path-provisioner
spec:
priorityClassName: system-cluster-critical
serviceAccountName: local-path-provisioner-service-account
containers:
- name: local-path-provisioner
Expand Down
Loading

0 comments on commit 306b7fe

Please sign in to comment.