Skip to content

Commit c331023

Browse files
authored
Merge branch 'haproxytech:master' into 703
2 parents 4817261 + 1b138f3 commit c331023

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5274
-5349
lines changed

.aspell.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ allowed:
3737
- cfg
3838
- optim
3939
- prometheus
40+
- configmaps
41+
- namespace
42+
- namespaces

.github/workflows/actions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: commit-policy
10-
uses: docker://ghcr.io/haproxytech/commit-check:5.0.4
10+
uses: docker://ghcr.io/haproxytech/commit-check:5.1.1
1111
env:
1212
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
generate:
@@ -128,7 +128,7 @@ jobs:
128128
e2e:
129129
strategy:
130130
matrix:
131-
k8s-version: ["v1.32.0"]
131+
k8s-version: ["v1.32.2"]
132132
needs: ["build"]
133133
runs-on: ubuntu-latest
134134
steps:
@@ -152,7 +152,7 @@ jobs:
152152
name: dev
153153
config: deploy/tests/kind-config.yaml
154154
image: kindest/node:${{ matrix.k8s-version }}
155-
version: v0.24.0
155+
version: v0.27.0
156156
- name: Setup
157157
run: CI_ENV=github deploy/tests/create.sh
158158
- name: Run parallel e2e tests

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dist/
77
bin/golangci-lint
88
bin/check-commit
99
.local/*
10+
__debug_bin*

.gitlab-ci.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ stages:
99
- e2e_k8s_32
1010
- e2e_crd_versions
1111
variables:
12-
KIND: v0.26.0
12+
KIND: v0.27.0
1313
DOCKER_HOST: tcp://docker:2375
1414
DOCKER_DRIVER: overlay2
1515
GO_VERSION: "1.24"
16-
DOCKER_VERSION: "26.0"
16+
DOCKER_VERSION: "27.0"
1717
diff:
1818
stage: diff
1919
rules:
@@ -93,7 +93,7 @@ commit-policy:
9393
rules:
9494
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
9595
image:
96-
name: $CI_REGISTRY_GO/commit-check:5.0.2
96+
name: $CI_REGISTRY_GO/commit-check:5.1.1
9797
entrypoint: [""]
9898
tags:
9999
- go
@@ -175,6 +175,8 @@ docker-build:
175175
#- docker image tag $CI_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine
176176
- docker pull -q $CI_REGISTRY_GO/haproxytech/http-echo:latest
177177
- docker image tag $CI_REGISTRY_GO/haproxytech/http-echo:latest haproxytech/http-echo:latest
178+
- docker pull -q $CI_REGISTRY_GO/haproxytech/proxy-protocol:latest
179+
- docker image tag $CI_REGISTRY_GO/haproxytech/proxy-protocol:latest haproxytech/proxy-protocol:latest
178180
- wget -nv -O /usr/local/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND}/kind-linux-amd64
179181
- chmod +x /usr/local/bin/kind
180182
- wget -nv -O /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL}/bin/linux/amd64/kubectl
@@ -208,7 +210,7 @@ e2e_k8s_30:
208210
stage: e2e_k8s_30
209211
needs: ["docker-build"]
210212
variables:
211-
K8S_VERSION: v1.30.8
213+
K8S_VERSION: v1.30.10
212214
KUBEADM_VER: v1beta3
213215
KUBECTL: v1.30.4
214216
extends: .kind_deployment_schedules
@@ -218,7 +220,7 @@ e2e_k8s_31:
218220
stage: e2e_k8s_31
219221
needs: ["docker-build"]
220222
variables:
221-
K8S_VERSION: v1.31.4
223+
K8S_VERSION: v1.31.6
222224
KUBEADM_VER: v1beta3
223225
KUBECTL: v1.31.0
224226
extends: .kind_deployment_schedules
@@ -228,7 +230,7 @@ e2e_crd_v1:
228230
stage: e2e_crd_versions
229231
needs: ["docker-build"]
230232
variables:
231-
K8S_VERSION: v1.32.0
233+
K8S_VERSION: v1.32.2
232234
KUBEADM_VER: v1beta3
233235
KUBECTL: v1.31.0
234236
CRD_VERSION: v1
@@ -239,7 +241,7 @@ e2e_k8s_32:
239241
stage: e2e_k8s_32
240242
needs: ["docker-build"]
241243
variables:
242-
K8S_VERSION: v1.32.0
244+
K8S_VERSION: v1.32.2
243245
KUBEADM_VER: v1beta3
244246
KUBECTL: v1.31.0
245247
extends: .kind_deployment

crs/code-generator.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,9 @@ echo "Controller-gen: " ${CONTROLLER_GEN_VERSION}
102102
controller-gen crd paths=./crs/api/ingress/v3/... output:crd:dir=./crs/definition
103103
# remove code-gen annotation (dependabot fails)
104104
find ${CR_DIR}/definition -type f -name '*.yaml' -exec sed -i '/controller-gen.kubebuilder.io\/version/d' {} +
105+
106+
107+
# # Removal of some fields from the CRDs
108+
# # For example, for now we remove servers from the backend CRD v3
109+
echo "Removing fields from the generated CRDs"
110+
sh crs/remove-fields-from-crds.sh

0 commit comments

Comments
 (0)