Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Shoots with Kubernetes version == 1.24 #223

Merged
merged 3 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ spec:
matchLabels:
app.kubernetes.io/name: gardener-extension-shoot-cert-service
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if semverCompare ">= 1.26-0" .Capabilities.KubeVersion.GitVersion }}
unhealthyPodEvictionPolicy: AlwaysAllow
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "cert-management.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if semverCompare ">= 1.26-0" .Capabilities.KubeVersion.GitVersion }}
unhealthyPodEvictionPolicy: AlwaysAllow
{{- end }}
2 changes: 1 addition & 1 deletion example/10-fake-shoot-controlplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ spec:
- --service-account-signing-key-file=/srv/kubernetes/service-account-key/id_rsa
- --service-account-key-file=/srv/kubernetes/service-account-key-bundle/bundle.key
- --v=2
image: registry.k8s.io/kube-apiserver:v1.24.6
image: registry.k8s.io/kube-apiserver:v1.28.2
imagePullPolicy: IfNotPresent
name: kube-apiserver
ports:
Expand Down
2 changes: 1 addition & 1 deletion example/30-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
dns:
domain: foo.bar.example.com
kubernetes:
version: 1.24.8
version: 1.28.2
resources:
- name: issuer-custom-eab-hmackey
resourceRef:
Expand Down
2 changes: 1 addition & 1 deletion example/controller-registration.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hack/api-reference/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"externalPackages": [
{
"typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
"docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
"docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
},
{
"typeMatchPrefix": "github.com/gardener/gardener/extensions/pkg/controller/healthcheck/config",
Expand Down
2 changes: 1 addition & 1 deletion hack/api-reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ string
<td>
<code>propagationTimeout</code></br>
<em>
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#duration-v1-meta">
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#duration-v1-meta">
Kubernetes meta/v1.Duration
</a>
</em>
Expand Down
2 changes: 1 addition & 1 deletion hack/api-reference/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"externalPackages": [
{
"typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
"docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
"docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
},
{
"typeMatchPrefix": "github.com/gardener/gardener/extensions/pkg/controller/healthcheck/config",
Expand Down