Skip to content

Commit fe01736

Browse files
committed
BUILD/MEDIUM: bump Gateway API version to 1.5.0 and fix codegen
Update the default Gateway API version from 1.3.0 to 1.5.0 in: - test/integration/base/inttest.go (GWAPI_VERSION fallback) - example/deploy/crd-update/job-gwapi.yaml (generated manifest) Fix the generate-gwapi template to reference the last (newest) version in the versions slice instead of the first entry. Add a "last" helper function to the template FuncMap so the expression reads clearly. Add a generate-gwapi step to the kind build task so the generated job-gwapi.yaml is always regenerated from the template before the controller image is built, preventing drift between the template and the committed artifact. Update CI conformance pipeline to target Gateway API 1.5.0: - Replace the active 1.3.0 MR gate and full-suite jobs with 1.5.0 equivalents; old 1.3.0 and 1.4.0 job definitions left commented - conformance-MR-GW-API-1_5_0 runs on every push/MR (blocking) - conformance-GW-API-1_5_0 runs on nightly schedule, push to default branch, and non-community namespace pushes (non-blocking) Update the conformance echo image to v20260204-monthly-2026.01-60-g28382302.
1 parent f85daf8 commit fe01736

10 files changed

Lines changed: 198 additions & 147 deletions

File tree

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,4 @@ allowed:
108108
- CEL
109109
- httpfilters
110110
- allowlist
111+
- inttest

.gitlab/conformance-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
conformance-report:
22
stage: conformance-report
33
needs:
4-
- job: conformance-GW-API-1_3_0
4+
- job: conformance-GW-API-1_5_0
55
artifacts: true
66
rules:
77
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == 'nightly'
@@ -12,6 +12,6 @@ conformance-report:
1212
tags:
1313
- go
1414
variables:
15-
JUNIT_FILE: "conformance-junit-1.3.0.xml"
15+
JUNIT_FILE: "conformance-junit-1.5.0.xml"
1616
script:
1717
- go run .gitlab/scripts/conformance-diff.go

.gitlab/conformance-tests.yml

Lines changed: 157 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,70 @@
1-
conformance-MR-GW-API-1_3_0:
2-
allow_failure: false
3-
stage: conformance
4-
retry: 0
5-
needs: []
6-
rules:
7-
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
8-
- if: $CI_PIPELINE_SOURCE == 'push'
9-
image: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
10-
services:
11-
- name: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-dind
12-
alias: docker
13-
tags:
14-
- go
15-
variables:
16-
GWAPI_VERSION: "1.3.0"
17-
CLUSTER_NAME: "conformance-mr-1-3-0"
18-
CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.3.0.yaml"
19-
CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.3.0.xml"
20-
CONFORMANCE_JUNIT_HTML_OUTPUT: "conformance-junit-1.3.0.html"
21-
CONFORMANCE_RUN_TEST: ""
22-
CONFORMANCE_SKIP_TESTS: "HTTPRouteHeaderMatching,HTTPRouteInvalidBackendRefUnknownKind,HTTPRouteInvalidCrossNamespaceBackendRef,HTTPRouteInvalidCrossNamespaceParentRef,HTTPRouteInvalidNonExistentBackendRef,HTTPRouteListenerHostnameMatching,HTTPRouteMatching,HTTPRouteMatchingAcrossRoutes,HTTPRouteObservedGenerationBump,HTTPRoutePathMatchOrder,HTTPRouteRedirectHostAndStatus,HTTPRouteRequestHeaderModifier,HTTPRouteServiceTypes,HTTPRouteSimpleSameNamespace,HTTPRouteWeight,GatewaySecretInvalidReferenceGrant,GatewaySecretMissingReferenceGrant,GatewaySecretReferenceGrantAllInNamespace,GatewaySecretReferenceGrantSpecific,HTTPRouteInvalidReferenceGrant,HTTPRoutePartiallyInvalidViaInvalidReferenceGrant,HTTPRouteReferenceGrant"
23-
before_script:
24-
- export PATH=$PATH:/root/go/bin
25-
- docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
26-
- docker pull -q $HAPROXY_REGISTRY_GO/alpine:3
27-
- docker image tag $HAPROXY_REGISTRY_GO/alpine:3 alpine:3
28-
- docker pull -q $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine
29-
- docker image tag $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine
30-
- sed -i "s~FROM golang~FROM $HAPROXY_REGISTRY_GO/golang~g" "build/Dockerfile"
31-
- sed -i "s~FROM haproxytech/haproxy-alpine~FROM $HAPROXY_REGISTRY_GO/haproxy-alpine~g" "build/Dockerfile"
32-
- docker build -t haproxytech/haproxy-unified-gateway -f build/Dockerfile .
33-
script:
34-
- task conformance-create-ci
35-
- task conformance-run
36-
after_script:
37-
- task kind-delete
38-
artifacts:
39-
when: always
40-
paths:
41-
- conformance-report-1.3.0.yaml
42-
- conformance-junit-1.3.0.xml
43-
- conformance-junit-1.3.0.html
44-
reports:
45-
junit: conformance-junit-1.3.0.xml
46-
47-
conformance-GW-API-1_3_0:
48-
allow_failure: true
49-
stage: conformance-tests
50-
retry: 0
51-
needs: []
52-
rules:
53-
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == 'nightly'
54-
- if: "$CI_PROJECT_NAMESPACE != 'haproxy-controller/community' && $CI_PIPELINE_SOURCE == 'push'"
55-
- if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
56-
image: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
57-
services:
58-
- name: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-dind
59-
alias: docker
60-
tags:
61-
- go
62-
variables:
63-
GWAPI_VERSION: "1.3.0"
64-
CLUSTER_NAME: "conformance-1-3-0"
65-
CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.3.0.yaml"
66-
CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.3.0.xml"
67-
CONFORMANCE_JUNIT_HTML_OUTPUT: "conformance-junit-1.3.0.html"
68-
before_script:
69-
- export PATH=$PATH:/root/go/bin
70-
- docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
71-
- docker pull -q $HAPROXY_REGISTRY_GO/alpine:3
72-
- docker image tag $HAPROXY_REGISTRY_GO/alpine:3 alpine:3
73-
- docker pull -q $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine
74-
- docker image tag $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine
75-
- sed -i "s~FROM golang~FROM $HAPROXY_REGISTRY_GO/golang~g" "build/Dockerfile"
76-
- sed -i "s~FROM haproxytech/haproxy-alpine~FROM $HAPROXY_REGISTRY_GO/haproxy-alpine~g" "build/Dockerfile"
77-
- docker build -t haproxytech/haproxy-unified-gateway -f build/Dockerfile .
78-
script:
79-
- task conformance-create-ci
80-
- task conformance-run
81-
after_script:
82-
- task kind-delete
83-
artifacts:
84-
when: always
85-
paths:
86-
- conformance-report-1.3.0.yaml
87-
- conformance-junit-1.3.0.xml
88-
- conformance-junit-1.3.0.html
89-
reports:
90-
junit: conformance-junit-1.3.0.xml
1+
# conformance-MR-GW-API-1_3_0:
2+
# allow_failure: false
3+
# stage: conformance
4+
# retry: 0
5+
# needs: []
6+
# rules:
7+
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
8+
# - if: $CI_PIPELINE_SOURCE == 'push'
9+
# image: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
10+
# services:
11+
# - name: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-dind
12+
# alias: docker
13+
# tags:
14+
# - go
15+
# variables:
16+
# GWAPI_VERSION: "1.3.0"
17+
# CLUSTER_NAME: "conformance-mr-1-3-0"
18+
# CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.3.0.yaml"
19+
# CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.3.0.xml"
20+
# CONFORMANCE_JUNIT_HTML_OUTPUT: "conformance-junit-1.3.0.html"
21+
# CONFORMANCE_RUN_TEST: ""
22+
# CONFORMANCE_SKIP_TESTS: "HTTPRouteHeaderMatching,HTTPRouteInvalidBackendRefUnknownKind,HTTPRouteInvalidCrossNamespaceBackendRef,HTTPRouteInvalidCrossNamespaceParentRef,HTTPRouteInvalidNonExistentBackendRef,HTTPRouteListenerHostnameMatching,HTTPRouteMatching,HTTPRouteMatchingAcrossRoutes,HTTPRouteObservedGenerationBump,HTTPRoutePathMatchOrder,HTTPRouteRedirectHostAndStatus,HTTPRouteRequestHeaderModifier,HTTPRouteServiceTypes,HTTPRouteSimpleSameNamespace,HTTPRouteWeight,GatewaySecretInvalidReferenceGrant,GatewaySecretMissingReferenceGrant,GatewaySecretReferenceGrantAllInNamespace,GatewaySecretReferenceGrantSpecific,HTTPRouteInvalidReferenceGrant,HTTPRoutePartiallyInvalidViaInvalidReferenceGrant,HTTPRouteReferenceGrant"
23+
# before_script:
24+
# - export PATH=$PATH:/root/go/bin
25+
# - docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
26+
# - docker pull -q $HAPROXY_REGISTRY_GO/alpine:3
27+
# - docker image tag $HAPROXY_REGISTRY_GO/alpine:3 alpine:3
28+
# - docker pull -q $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine
29+
# - docker image tag $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine
30+
# - sed -i "s~FROM golang~FROM $HAPROXY_REGISTRY_GO/golang~g" "build/Dockerfile"
31+
# - sed -i "s~FROM haproxytech/haproxy-alpine~FROM $HAPROXY_REGISTRY_GO/haproxy-alpine~g" "build/Dockerfile"
32+
# - docker build -t haproxytech/haproxy-unified-gateway -f build/Dockerfile .
33+
# script:
34+
# - task conformance-create-ci
35+
# - task conformance-run
36+
# after_script:
37+
# - task kind-delete
38+
# artifacts:
39+
# when: always
40+
# paths:
41+
# - conformance-report-1.3.0.yaml
42+
# - conformance-junit-1.3.0.xml
43+
# - conformance-junit-1.3.0.html
44+
# reports:
45+
# junit: conformance-junit-1.3.0.xml
9146

92-
# conformance-GW-API-1_4_0:
47+
# conformance-GW-API-1_3_0:
9348
# allow_failure: true
9449
# stage: conformance-tests
95-
# retry: 1
50+
# retry: 0
9651
# needs: []
9752
# rules:
98-
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
53+
# - if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == 'nightly'
9954
# - if: "$CI_PROJECT_NAMESPACE != 'haproxy-controller/community' && $CI_PIPELINE_SOURCE == 'push'"
55+
# - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
10056
# image: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
10157
# services:
10258
# - name: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-dind
10359
# alias: docker
10460
# tags:
10561
# - go
10662
# variables:
107-
# GWAPI_VERSION: "1.4.0"
108-
# CLUSTER_NAME: "conformance-1-4-0"
109-
# CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.4.0.yaml"
110-
# CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.4.0.xml"
63+
# GWAPI_VERSION: "1.3.0"
64+
# CLUSTER_NAME: "conformance-1-3-0"
65+
# CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.3.0.yaml"
66+
# CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.3.0.xml"
67+
# CONFORMANCE_JUNIT_HTML_OUTPUT: "conformance-junit-1.3.0.html"
11168
# before_script:
11269
# - export PATH=$PATH:/root/go/bin
11370
# - docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
@@ -126,12 +83,13 @@ conformance-GW-API-1_3_0:
12683
# artifacts:
12784
# when: always
12885
# paths:
129-
# - conformance-report-1.4.0.yaml
130-
# - conformance-junit-1.4.0.xml
86+
# - conformance-report-1.3.0.yaml
87+
# - conformance-junit-1.3.0.xml
88+
# - conformance-junit-1.3.0.html
13189
# reports:
132-
# junit: conformance-junit-1.4.0.xml
90+
# junit: conformance-junit-1.3.0.xml
13391

134-
# conformance-GW-API-1_5_0:
92+
# conformance-GW-API-1_4_0:
13593
# allow_failure: true
13694
# stage: conformance-tests
13795
# retry: 1
@@ -146,10 +104,10 @@ conformance-GW-API-1_3_0:
146104
# tags:
147105
# - go
148106
# variables:
149-
# GWAPI_VERSION: "1.5.0"
150-
# CLUSTER_NAME: "conformance-1-5-0"
151-
# CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.5.0.yaml"
152-
# CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.5.0.xml"
107+
# GWAPI_VERSION: "1.4.0"
108+
# CLUSTER_NAME: "conformance-1-4-0"
109+
# CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.4.0.yaml"
110+
# CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.4.0.xml"
153111
# before_script:
154112
# - export PATH=$PATH:/root/go/bin
155113
# - docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
@@ -168,7 +126,98 @@ conformance-GW-API-1_3_0:
168126
# artifacts:
169127
# when: always
170128
# paths:
171-
# - conformance-report-1.5.0.yaml
172-
# - conformance-junit-1.5.0.xml
129+
# - conformance-report-1.4.0.yaml
130+
# - conformance-junit-1.4.0.xml
173131
# reports:
174-
# junit: conformance-junit-1.5.0.xml
132+
# junit: conformance-junit-1.4.0.xml
133+
134+
conformance-GW-API-1_5_0:
135+
allow_failure: true
136+
stage: conformance-tests
137+
retry: 0
138+
needs: []
139+
rules:
140+
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == 'nightly'
141+
- if: "$CI_PROJECT_NAMESPACE != 'haproxy-controller/community' && $CI_PIPELINE_SOURCE == 'push'"
142+
- if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
143+
image: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
144+
services:
145+
- name: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-dind
146+
alias: docker
147+
tags:
148+
- go
149+
variables:
150+
GWAPI_VERSION: "1.5.0"
151+
CLUSTER_NAME: "conformance-1-5-0"
152+
CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.5.0.yaml"
153+
CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.5.0.xml"
154+
CONFORMANCE_JUNIT_HTML_OUTPUT: "conformance-junit-1.5.0.html"
155+
before_script:
156+
- export PATH=$PATH:/root/go/bin
157+
- docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
158+
- docker pull -q $HAPROXY_REGISTRY_GO/alpine:3
159+
- docker image tag $HAPROXY_REGISTRY_GO/alpine:3 alpine:3
160+
- docker pull -q $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine
161+
- docker image tag $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine
162+
- sed -i "s~FROM golang~FROM $HAPROXY_REGISTRY_GO/golang~g" "build/Dockerfile"
163+
- sed -i "s~FROM haproxytech/haproxy-alpine~FROM $HAPROXY_REGISTRY_GO/haproxy-alpine~g" "build/Dockerfile"
164+
- docker build -t haproxytech/haproxy-unified-gateway -f build/Dockerfile .
165+
script:
166+
- task conformance-create-ci
167+
- task conformance-run
168+
after_script:
169+
- task kind-delete
170+
artifacts:
171+
when: always
172+
paths:
173+
- conformance-report-1.5.0.yaml
174+
- conformance-junit-1.5.0.xml
175+
- conformance-junit-1.5.0.html
176+
reports:
177+
junit: conformance-junit-1.5.0.xml
178+
179+
conformance-MR-GW-API-1_5_0:
180+
allow_failure: false
181+
stage: conformance
182+
retry: 0
183+
needs: []
184+
rules:
185+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
186+
- if: $CI_PIPELINE_SOURCE == 'push'
187+
image: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
188+
services:
189+
- name: $HAPROXY_REGISTRY_GO/docker:$DOCKER_VERSION-dind
190+
alias: docker
191+
tags:
192+
- go
193+
variables:
194+
GWAPI_VERSION: "1.5.0"
195+
CLUSTER_NAME: "conformance-mr-1-5-0"
196+
CONFORMANCE_REPORT_OUTPUT: "${CI_PROJECT_DIR}/conformance-report-1.5.0.yaml"
197+
CONFORMANCE_JUNIT_OUTPUT: "conformance-junit-1.5.0.xml"
198+
CONFORMANCE_JUNIT_HTML_OUTPUT: "conformance-junit-1.5.0.html"
199+
CONFORMANCE_RUN_TEST: ""
200+
CONFORMANCE_SKIP_TESTS: "HTTPRouteHeaderMatching,HTTPRouteInvalidBackendRefUnknownKind,HTTPRouteInvalidCrossNamespaceBackendRef,HTTPRouteInvalidCrossNamespaceParentRef,HTTPRouteInvalidNonExistentBackendRef,HTTPRouteListenerHostnameMatching,HTTPRouteMatching,HTTPRouteMatchingAcrossRoutes,HTTPRouteObservedGenerationBump,HTTPRoutePathMatchOrder,HTTPRouteRedirectHostAndStatus,HTTPRouteRequestHeaderModifier,HTTPRouteServiceTypes,HTTPRouteSimpleSameNamespace,HTTPRouteWeight,GatewaySecretInvalidReferenceGrant,GatewaySecretMissingReferenceGrant,GatewaySecretReferenceGrantAllInNamespace,GatewaySecretReferenceGrantSpecific,HTTPRouteInvalidReferenceGrant,HTTPRoutePartiallyInvalidViaInvalidReferenceGrant,HTTPRouteReferenceGrant"
201+
before_script:
202+
- export PATH=$PATH:/root/go/bin
203+
- docker login -u='$app' -p "$CI_REGISTRY_TOKEN" registry.haproxy.com
204+
- docker pull -q $HAPROXY_REGISTRY_GO/alpine:3
205+
- docker image tag $HAPROXY_REGISTRY_GO/alpine:3 alpine:3
206+
- docker pull -q $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine
207+
- docker image tag $HAPROXY_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine
208+
- sed -i "s~FROM golang~FROM $HAPROXY_REGISTRY_GO/golang~g" "build/Dockerfile"
209+
- sed -i "s~FROM haproxytech/haproxy-alpine~FROM $HAPROXY_REGISTRY_GO/haproxy-alpine~g" "build/Dockerfile"
210+
- docker build -t haproxytech/haproxy-unified-gateway -f build/Dockerfile .
211+
script:
212+
- task conformance-create-ci
213+
- task conformance-run
214+
after_script:
215+
- task kind-delete
216+
artifacts:
217+
when: always
218+
paths:
219+
- conformance-report-1.5.0.yaml
220+
- conformance-junit-1.5.0.xml
221+
- conformance-junit-1.5.0.html
222+
reports:
223+
junit: conformance-junit-1.5.0.xml

.gitlab/scripts/conformance-diff.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func findPreviousJob() (int, int, error) {
138138
}
139139

140140
for _, j := range jobs {
141-
if j.Name == "conformance-GW-API-1_3_0" {
141+
if j.Name == "conformance-GW-API-1_5_0" {
142142
return j.ID, p.ID, nil
143143
}
144144
}
@@ -214,7 +214,7 @@ func postToSlack(message string) error {
214214
func main() {
215215
junitFile := os.Getenv("JUNIT_FILE")
216216
if junitFile == "" {
217-
junitFile = "conformance-junit-1.3.0.xml"
217+
junitFile = "conformance-junit-1.5.0.xml"
218218
}
219219

220220
todayData, err := os.ReadFile(junitFile)

cmd/generate-gwapi/main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ func main() {
126126
}
127127

128128
func generate(path, tmplStr string, versions []version) {
129-
tmpl, err := template.New(path).Parse(tmplStr)
129+
tmpl, err := template.New(path).Funcs(template.FuncMap{
130+
"last": func(vs []version) version { return vs[len(vs)-1] },
131+
}).Parse(tmplStr)
130132
if err != nil {
131133
fmt.Fprintf(os.Stderr, "template parse error for %s: %v\n", path, err)
132134
os.Exit(1)
@@ -333,7 +335,7 @@ spec:
333335
# imagePullPolicy: this is set to never for kind cluster usage
334336
# imagePullPolicy: Always
335337
imagePullPolicy: Never
336-
command: ["/usr/local/sbin/hug","--job-gwapi={{(index . 0).Short}}"]
338+
command: ["/usr/local/sbin/hug","--job-gwapi={{(last .).Short}}"]
337339
restartPolicy: Never
338340
backoffLimit: 0
339341
`

example/deploy/crd-update/job-gwapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ spec:
1414
# imagePullPolicy: this is set to never for kind cluster usage
1515
# imagePullPolicy: Always
1616
imagePullPolicy: Never
17-
command: ["/usr/local/sbin/hug","--job-gwapi=1.3.0"]
17+
command: ["/usr/local/sbin/hug","--job-gwapi=1.5.0"]
1818
restartPolicy: Never
1919
backoffLimit: 0

0 commit comments

Comments
 (0)