Skip to content

Commit

Permalink
Support for kubernetes 1.31 version (#3246)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasireddy99 authored Aug 30, 2024
1 parent ef1306b commit 1dd161e
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .chloggen/operator31.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: 'enhancement'

# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
component: operator

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Support for Kubernetes `1.31` version.

# One or more tracking issues related to the change
issues: [3247]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# should be compatible with them.
kube-version:
- "1.23"
- "1.30"
- "1.31"
group:
- e2e
- e2e-automatic-rbac
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
kube-version:
- "1.23"
- "1.30"
- "1.31"

steps:

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ endif

START_KIND_CLUSTER ?= true

KUBE_VERSION ?= 1.30
KUBE_VERSION ?= 1.31
KIND_CONFIG ?= kind-$(KUBE_VERSION).yaml
KIND_CLUSTER_NAME ?= "otel-operator"

Expand Down
20 changes: 20 additions & 0 deletions kind-1.31.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
ipFamily: dual
nodes:
- role: control-plane
image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP

0 comments on commit 1dd161e

Please sign in to comment.