Skip to content

Commit aff42b5

Browse files
committed
Merge branch 'owls110984' into 'release/3.4'
Backport removal of docker dependency for traefik to release/3.4 See merge request weblogic-cloud/weblogic-kubernetes-operator!4360
2 parents b2d14a5 + fc46013 commit aff42b5

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

Jenkinsfile.kindnightly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ pipeline {
138138
description: 'Kubernetes version. Supported values depend on the Kind version. Kind 0.18.0: 1.26, 1.26.3, 1.25, 1.25.8, 1.24, 1.24.12, 1.23, 1.23.17, 1.22, 1.22.17, 1.21, and 1.21.14. Kind 0.17.0: 1.25, 1.25.3, 1.24, 1.24.7, 1.23, 1.23.13, 1.22, 1.22.15, 1.21, 1.21.14, 1.20, and 1.20.15. Kind 0.16.0: 1.25, 1.25.2, 1.24, 1.24.6, 1.23, 1.23.12, 1.22, 1.22.15, 1.21, 1.21.14, 1.20, and 1.20.15. Kind 0.15.0: 1.25, 1.25.0, 1.24, 1.24.4, 1.23, 1.23.10, 1.22, 1.22.13, 1.21, 1.21.14, 1.20, and 1.20.15',
139139
choices: [
140140
// The first item in the list is the default value...
141+
'1.21.5',
141142
'1.26.3',
142143
'1.26',
143144
'1.25.8',
@@ -169,7 +170,6 @@ pipeline {
169170
'1.21.14',
170171
'1.21.12',
171172
'1.21.10',
172-
'1.21.5',
173173
'1.21.1',
174174
'1.21',
175175
'1.20.15',
@@ -255,7 +255,7 @@ pipeline {
255255
)
256256
string(name: 'GRAFANA_CHART_VERSION',
257257
description: '',
258-
defaultValue: '6.38.6'
258+
defaultValue: '6.44.11'
259259
)
260260
booleanParam(name: 'COLLECT_LOGS_ON_SUCCESS',
261261
description: 'Collect logs for successful runs. Default is false.',

integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/TraefikParams.java

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,26 @@
99

1010
import oracle.weblogic.kubernetes.actions.impl.primitive.HelmParams;
1111

12+
import static oracle.weblogic.kubernetes.TestConstants.TRAEFIK_INGRESS_IMAGE_NAME;
13+
import static oracle.weblogic.kubernetes.TestConstants.TRAEFIK_INGRESS_IMAGE_REGISTRY;
14+
import static oracle.weblogic.kubernetes.TestConstants.TRAEFIK_INGRESS_IMAGE_TAG;
15+
1216
// All parameters needed to install Traefik Operator
1317
public class TraefikParams {
1418

1519
// Adding some of the most commonly used params for now
1620
private int nodePortsHttp;
1721
private int nodePortsHttps;
1822
private HelmParams helmParams;
23+
private String traefikImage = TRAEFIK_INGRESS_IMAGE_NAME;
24+
private String traefikImageTag = TRAEFIK_INGRESS_IMAGE_TAG;
25+
private String traefikRegistry = TRAEFIK_INGRESS_IMAGE_REGISTRY;
1926

2027
private static final String NODEPORTS_HTTP = "ports.web.nodePort";
2128
private static final String NODEPORTS_HTTPS = "ports.websecure.nodePort";
29+
private static final String TRAEFIK_IMAGE = "image.repository";
30+
private static final String TRAEFIK_IMAGE_REGISTRY = "image.registry";
31+
private static final String TRAEFIK_IMAGE_TAG = "image.tag";
2232

2333
public TraefikParams nodePortsHttp(int nodePortsHttp) {
2434
this.nodePortsHttp = nodePortsHttp;
@@ -39,6 +49,21 @@ public HelmParams getHelmParams() {
3949
return helmParams;
4050
}
4151

52+
public TraefikParams traefikImage(String traefikImage) {
53+
this.traefikImage = traefikImage;
54+
return this;
55+
}
56+
57+
public TraefikParams traefikRegistry(String traefikRegistry) {
58+
this.traefikRegistry = traefikRegistry;
59+
return this;
60+
}
61+
62+
public TraefikParams traefikImageTag(String traefikImageTag) {
63+
this.traefikImageTag = traefikImageTag;
64+
return this;
65+
}
66+
4267
/**
4368
* Loads Helm values into a value map.
4469
*
@@ -53,7 +78,9 @@ public Map<String, Object> getValues() {
5378
if (nodePortsHttps > 0) {
5479
values.put(NODEPORTS_HTTPS, nodePortsHttps);
5580
}
56-
81+
values.put(TRAEFIK_IMAGE, traefikImage);
82+
values.put(TRAEFIK_IMAGE_REGISTRY, traefikRegistry);
83+
values.put(TRAEFIK_IMAGE_TAG, traefikImageTag);
5784
values.values().removeIf(Objects::isNull);
5885
return values;
5986
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--set image.repository=TRAEFIK_INGRESS_IMAGE_NAME

0 commit comments

Comments
 (0)