Skip to content

Commit be498eb

Browse files
authored
SOA Release 22.2.2 deployment scripts and documentation (#110)
1 parent dbb3baf commit be498eb

File tree

59 files changed

+1122
-987
lines changed

Some content is hidden

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

59 files changed

+1122
-987
lines changed

OracleSOASuite/kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The WebLogic Kubernetes operator (the “operator”) supports deployment of Ora
77
* `soaosb`: Deploys a domain with SOA, Oracle Enterprise Scheduler (ESS), and Oracle Service Bus
88

99
***
10-
The current supported production release is [22.1.2](https://github.com/oracle/fmw-kubernetes/releases).
10+
The current supported production release is [22.2.2](https://github.com/oracle/fmw-kubernetes/releases).
1111
***
1212

1313
In this release, Oracle SOA Suite domains are supported using the “domain on a persistent volume”

OracleSOASuite/kubernetes/charts/ingress-per-domain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The Ingress resource will be created in the same namespace as the SOA domain clu
4848
Command to Generate Secret:
4949
```
5050
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /tmp/tls1.key -out /tmp/tls1.crt -subj "/CN=*"
51-
$ kubectl -n soans create secret tls domain1-tls-cert --key /tmp/tls1.key --cert /tmp/tls1.crt
51+
$ kubectl -n soans create secret tls soainfra-tls-cert --key /tmp/tls1.key --cert /tmp/tls1.crt
5252
5353
```
5454

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
#
4+
{{- if eq .Values.type "NGINX" }}
5+
{{- if (eq .Values.sslType "E2ESSL")}}
6+
---
7+
apiVersion: v1
8+
kind: Service
9+
metadata:
10+
name: {{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower }}-nginx-ssl
11+
namespace: {{ .Release.Namespace }}
12+
spec:
13+
ports:
14+
- port: {{ .Values.wlsDomain.adminServerSSLPort }}
15+
protocol: TCP
16+
targetPort: {{ .Values.wlsDomain.adminServerSSLPort }}
17+
selector:
18+
weblogic.domainUID: {{ .Values.wlsDomain.domainUID }}
19+
weblogic.serverName: {{ .Values.wlsDomain.adminServerName }}
20+
type: ClusterIP
21+
22+
---
23+
apiVersion: networking.k8s.io/v1
24+
kind: Ingress
25+
metadata:
26+
name: {{ .Values.wlsDomain.domainUID }}-nginx-e2essl-admin
27+
namespace: {{ .Release.Namespace }}
28+
annotations:
29+
kubernetes.io/ingress.class: 'nginx'
30+
nginx.ingress.kubernetes.io/affinity: 'cookie'
31+
nginx.ingress.kubernetes.io/session-cookie-name: 'sticky'
32+
nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
33+
spec:
34+
tls:
35+
- hosts:
36+
- '{{ .Values.hostName.admin }}'
37+
secretName: {{ .Values.wlsDomain.domainUID }}-tls-cert
38+
rules:
39+
- host: '{{ .Values.hostName.admin }}'
40+
http:
41+
paths:
42+
- path:
43+
pathType: ImplementationSpecific
44+
backend:
45+
service:
46+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
47+
port:
48+
number: {{ .Values.wlsDomain.adminServerSSLPort }}
49+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
50+
---
51+
apiVersion: networking.k8s.io/v1
52+
kind: Ingress
53+
metadata:
54+
name: {{ .Values.wlsDomain.domainUID }}-nginx-e2essl-soa
55+
namespace: {{ .Release.Namespace }}
56+
annotations:
57+
kubernetes.io/ingress.class: 'nginx'
58+
nginx.ingress.kubernetes.io/affinity: 'cookie'
59+
nginx.ingress.kubernetes.io/session-cookie-name: 'sticky'
60+
nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
61+
spec:
62+
tls:
63+
- hosts:
64+
- '{{ .Values.hostName.soa }}'
65+
secretName: {{ .Values.wlsDomain.domainUID }}-tls-cert
66+
rules:
67+
- host: '{{ .Values.hostName.soa }}'
68+
http:
69+
paths:
70+
- path: /
71+
pathType: ImplementationSpecific
72+
backend:
73+
service:
74+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
75+
port:
76+
number: {{ .Values.wlsDomain.soaManagedServerSSLPort }}
77+
{{- end }}
78+
{{- if or (eq .Values.domainType "osb") (eq .Values.domainType "soaosb") }}
79+
---
80+
apiVersion: networking.k8s.io/v1
81+
kind: Ingress
82+
metadata:
83+
name: {{ .Values.wlsDomain.domainUID }}-nginx-e2essl-osb
84+
namespace: {{ .Release.Namespace }}
85+
annotations:
86+
kubernetes.io/ingress.class: 'nginx'
87+
nginx.ingress.kubernetes.io/affinity: 'cookie'
88+
nginx.ingress.kubernetes.io/session-cookie-name: 'sticky'
89+
nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
90+
spec:
91+
tls:
92+
- hosts:
93+
- '{{ .Values.hostName.osb }}'
94+
secretName: {{ .Values.wlsDomain.domainUID }}-tls-cert
95+
rules:
96+
- host: '{{ .Values.hostName.osb }}'
97+
http:
98+
paths:
99+
- path: /
100+
pathType: ImplementationSpecific
101+
backend:
102+
service:
103+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.osbClusterName | lower | replace "_" "-" }}'
104+
port:
105+
number: {{ .Values.wlsDomain.osbManagedServerSSLPort }}
106+
{{- end }}
107+
108+
{{- end }}
109+
{{- end }}
110+
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# Copyright (c) 2020, 2022, Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
#
4+
{{- if eq .Values.type "NGINX" }}
5+
{{- if (eq .Values.sslType "NONSSL") }}
6+
---
7+
apiVersion: networking.k8s.io/v1
8+
kind: Ingress
9+
metadata:
10+
name: {{ .Values.wlsDomain.domainUID }}-nginx
11+
namespace: {{ .Release.Namespace }}
12+
annotations:
13+
kubernetes.io/ingress.class: 'nginx'
14+
nginx.ingress.kubernetes.io/affinity: 'cookie'
15+
nginx.ingress.kubernetes.io/session-cookie-name: 'sticky'
16+
nginx.ingress.kubernetes.io/affinity-mode: 'persistent'
17+
spec:
18+
rules:
19+
- host: '{{ .Values.nginx.hostname }}'
20+
http:
21+
paths:
22+
- path: /console
23+
pathType: ImplementationSpecific
24+
backend:
25+
service:
26+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
27+
port:
28+
number: {{ .Values.wlsDomain.adminServerPort }}
29+
- path: /em
30+
pathType: ImplementationSpecific
31+
backend:
32+
service:
33+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
34+
port:
35+
number: {{ .Values.wlsDomain.adminServerPort }}
36+
- path: /weblogic/ready
37+
pathType: ImplementationSpecific
38+
backend:
39+
service:
40+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
41+
port:
42+
number: {{ .Values.wlsDomain.adminServerPort }}
43+
{{- if or (eq .Values.domainType "soa") }}
44+
- path: /
45+
pathType: ImplementationSpecific
46+
backend:
47+
service:
48+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
49+
port:
50+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
51+
{{- end }}
52+
{{- if or (eq .Values.domainType "osb") }}
53+
- path: /
54+
pathType: ImplementationSpecific
55+
backend:
56+
service:
57+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.osbClusterName | lower | replace "_" "-" }}'
58+
port:
59+
number: {{ .Values.wlsDomain.osbManagedServerPort }}
60+
{{- end }}
61+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
62+
- path: /soa-infra
63+
pathType: ImplementationSpecific
64+
backend:
65+
service:
66+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
67+
port:
68+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
69+
{{- end }}
70+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
71+
- path: /soa/composer
72+
pathType: ImplementationSpecific
73+
backend:
74+
service:
75+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
76+
port:
77+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
78+
{{- end }}
79+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
80+
- path: /integration/worklistapp
81+
pathType: ImplementationSpecific
82+
backend:
83+
service:
84+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
85+
port:
86+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
87+
{{- end }}
88+
{{- if or (eq .Values.domainType "osb") (eq .Values.domainType "soaosb") }}
89+
- path: /servicebus
90+
pathType: ImplementationSpecific
91+
backend:
92+
service:
93+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
94+
port:
95+
number: {{ .Values.wlsDomain.adminServerPort }}
96+
{{- end }}
97+
{{- if or (eq .Values.domainType "osb") (eq .Values.domainType "soaosb") }}
98+
- path: /lwpfconsole
99+
pathType: ImplementationSpecific
100+
backend:
101+
service:
102+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
103+
port:
104+
number: {{ .Values.wlsDomain.adminServerPort }}
105+
{{- end }}
106+
{{- if or (eq .Values.domainType "osb") (eq .Values.domainType "soaosb") }}
107+
- path: /xbusrouting
108+
pathType: ImplementationSpecific
109+
backend:
110+
service:
111+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
112+
port:
113+
number: {{ .Values.wlsDomain.adminServerPort }}
114+
{{- end }}
115+
{{- if or (eq .Values.domainType "osb") (eq .Values.domainType "soaosb") }}
116+
- path: /xbustransform
117+
pathType: ImplementationSpecific
118+
backend:
119+
service:
120+
name: '{{ .Values.wlsDomain.domainUID }}-{{ .Values.wlsDomain.adminServerName | lower | replace "_" "-" }}'
121+
port:
122+
number: {{ .Values.wlsDomain.adminServerPort }}
123+
{{- end }}
124+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
125+
- path: /ess
126+
pathType: ImplementationSpecific
127+
backend:
128+
service:
129+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
130+
port:
131+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
132+
{{- end }}
133+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
134+
- path: /EssHealthCheck
135+
pathType: ImplementationSpecific
136+
backend:
137+
service:
138+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
139+
port:
140+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
141+
{{- end }}
142+
{{- if or (eq .Values.domainType "soa") (eq .Values.domainType "soaosb") }}
143+
- path: /b2bconsole
144+
pathType: ImplementationSpecific
145+
backend:
146+
service:
147+
name: '{{ .Values.wlsDomain.domainUID }}-cluster-{{ .Values.wlsDomain.soaClusterName | lower | replace "_" "-" }}'
148+
port:
149+
number: {{ .Values.wlsDomain.soaManagedServerPort }}
150+
{{- end }}
151+
152+
{{- end }}
153+
{{- end }}
154+

0 commit comments

Comments
 (0)