Skip to content

Commit ecdb54b

Browse files
authored
Merge pull request #307 from galiacheng/fix-igress-annotation
Use 'spec.ingressClassName' instead of "kubernetes.io/ingress.class"
2 parents ba88b86 + 3e4735a commit ecdb54b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<properties>
4141
<!-- versions start -->
4242
<!-- weblogic azure aks versions -->
43-
<version.wls-on-aks-azure-marketplace>1.0.71</version.wls-on-aks-azure-marketplace>
43+
<version.wls-on-aks-azure-marketplace>1.0.72</version.wls-on-aks-azure-marketplace>
4444
<!-- weblogic azure vm versions -->
4545
<version.arm-oraclelinux-wls>1.0.27</version.arm-oraclelinux-wls>
4646
<version.arm-oraclelinux-wls-admin>1.0.50</version.arm-oraclelinux-wls-admin>

weblogic-azure-aks/src/main/arm/scripts/createAppGatewayIngress.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ metadata:
2222
azure.weblogic.target: "${constClusterName}"
2323
azure.weblogc.createdByWlsOffer: "true"
2424
annotations:
25-
kubernetes.io/ingress.class: azure/application-gateway
2625
appgw.ingress.kubernetes.io/appgw-ssl-certificate: "${APPGW_SSL_CERT_NAME}"
2726
appgw.ingress.kubernetes.io/use-private-ip: "${APPGW_USE_PRIVATE_IP}"
2827
appgw.ingress.kubernetes.io/cookie-based-affinity: "${ENABLE_COOKIE_BASED_AFFINITY}"
2928
appgw.ingress.kubernetes.io/backend-path-prefix: "/"
3029
spec:
30+
ingressClassName: azure-application-gateway
3131
rules:
3232
- http:
3333
paths:
@@ -55,11 +55,11 @@ metadata:
5555
azure.weblogic.target: "${constClusterName}"
5656
azure.weblogc.createdByWlsOffer: "true"
5757
annotations:
58-
kubernetes.io/ingress.class: azure/application-gateway
5958
appgw.ingress.kubernetes.io/use-private-ip: "${APPGW_USE_PRIVATE_IP}"
6059
appgw.ingress.kubernetes.io/cookie-based-affinity: "${ENABLE_COOKIE_BASED_AFFINITY}"
6160
appgw.ingress.kubernetes.io/backend-path-prefix: "/"
6261
spec:
62+
ingressClassName: azure-application-gateway
6363
rules:
6464
- http:
6565
paths:
@@ -87,7 +87,6 @@ metadata:
8787
azure.weblogic.target: "${constClusterName}"
8888
azure.weblogc.createdByWlsOffer: "true"
8989
annotations:
90-
kubernetes.io/ingress.class: azure/application-gateway
9190
appgw.ingress.kubernetes.io/ssl-redirect: "true"
9291
appgw.ingress.kubernetes.io/backend-protocol: "https"
9392
appgw.ingress.kubernetes.io/appgw-ssl-certificate: "${APPGW_SSL_CERT_NAME}"
@@ -109,6 +108,7 @@ EOF
109108
appgw.ingress.kubernetes.io/appgw-trusted-root-certificate: "${APPGW_TRUSTED_ROOT_CERT_NAME}"
110109
111110
spec:
111+
ingressClassName: azure-application-gateway
112112
rules:
113113
- http:
114114
paths:
@@ -136,10 +136,10 @@ metadata:
136136
azure.weblogic.target: "${constAdminServerName}"
137137
azure.weblogc.createdByWlsOffer: "true"
138138
annotations:
139-
kubernetes.io/ingress.class: azure/application-gateway
140139
appgw.ingress.kubernetes.io/use-private-ip: "${APPGW_USE_PRIVATE_IP}"
141140
appgw.ingress.kubernetes.io/cookie-based-affinity: "${ENABLE_COOKIE_BASED_AFFINITY}"
142141
spec:
142+
ingressClassName: azure-application-gateway
143143
rules:
144144
- http:
145145
paths:
@@ -165,11 +165,11 @@ metadata:
165165
azure.weblogic.target: "${constAdminServerName}-remote-console"
166166
azure.weblogc.createdByWlsOffer: "true"
167167
annotations:
168-
kubernetes.io/ingress.class: azure/application-gateway
169168
appgw.ingress.kubernetes.io/backend-path-prefix: "/"
170169
appgw.ingress.kubernetes.io/use-private-ip: "${APPGW_USE_PRIVATE_IP}"
171170
appgw.ingress.kubernetes.io/cookie-based-affinity: "${ENABLE_COOKIE_BASED_AFFINITY}"
172171
spec:
172+
ingressClassName: azure-application-gateway
173173
rules:
174174
- http:
175175
paths:
@@ -197,7 +197,6 @@ metadata:
197197
azure.weblogic.target: "${constAdminServerName}"
198198
azure.weblogc.createdByWlsOffer: "true"
199199
annotations:
200-
kubernetes.io/ingress.class: azure/application-gateway
201200
appgw.ingress.kubernetes.io/ssl-redirect: "true"
202201
appgw.ingress.kubernetes.io/backend-protocol: "https"
203202
appgw.ingress.kubernetes.io/appgw-ssl-certificate: "${APPGW_SSL_CERT_NAME}"
@@ -219,6 +218,7 @@ EOF
219218
appgw.ingress.kubernetes.io/appgw-trusted-root-certificate: "${APPGW_TRUSTED_ROOT_CERT_NAME}"
220219
221220
spec:
221+
ingressClassName: azure-application-gateway
222222
rules:
223223
- http:
224224
paths:
@@ -244,7 +244,6 @@ metadata:
244244
azure.weblogic.target: "${constAdminServerName}-remote-console"
245245
azure.weblogc.createdByWlsOffer: "true"
246246
annotations:
247-
kubernetes.io/ingress.class: azure/application-gateway
248247
appgw.ingress.kubernetes.io/backend-path-prefix: "/"
249248
appgw.ingress.kubernetes.io/ssl-redirect: "true"
250249
appgw.ingress.kubernetes.io/backend-protocol: "https"
@@ -267,6 +266,7 @@ EOF
267266
appgw.ingress.kubernetes.io/appgw-trusted-root-certificate: "${APPGW_TRUSTED_ROOT_CERT_NAME}"
268267
269268
spec:
269+
ingressClassName: azure-application-gateway
270270
rules:
271271
- http:
272272
paths:

0 commit comments

Comments
 (0)