You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Conditions to determine whether to patch or not
1135
-
iflen(extSvc.Spec.Ports) !=requiredPorts {
1136
-
patchSvc=true
1137
-
}
1138
1130
1139
-
if (m.Spec.ListenerPort!=0&&svcPort!=targetPorts[1]) || (m.Spec.EnableTCPS&&m.Spec.TcpsListenerPort!=0&&tcpsSvcPort!=targetPorts[len(targetPorts)-1]) {
1140
-
patchSvc=true
1141
-
}
1131
+
// Conditions to determine whether to patch or not
if (m.Spec.ListenerPort!=0&&svcPort!=targetPorts[1]) || (m.Spec.EnableTCPS&&m.Spec.TcpsListenerPort!=0&&tcpsSvcPort!=targetPorts[len(targetPorts)-1]) {
Copy file name to clipboardExpand all lines: docs/sidb/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -543,8 +543,8 @@ The following steps are required to connect the Database using TCPS:
543
543
**NOTE:**
544
544
- Only database server authentication is supported (no mTLS).
545
545
- When TCPS is enabled, a self-signed certificate is generated and stored inside the wallets. For users' convenience, a client-side wallet is generated and stored at `/opt/oracle/oradata/clientWallet/$ORACLE_SID` location in the pod.
546
-
- The self-signed certificate used with TCPS has validity for 2 years. After the certificate is expired, it will be renewed by the `OraOperator` automatically. You need to download the wallet again after the auto-renewal.
547
-
- You can set the certificate renew interval with the help of `tcpsCertRenewInterval` field in the **[config/samples/sidb/singleinstancedatabase.yaml](../../config/samples/sidb/singleinstancedatabase.yaml)** file. The minimum accepted value is 24h, and the maximum value is 26280h (3 years). The certificates used with TCPS will automatically be renewed after this interval. If this field is omitted/commented in the yaml file, the certificates will not be renewed automatically.
546
+
- The self-signed certificate used with TCPS has validity for 1 year. After the certificate is expired, it will be renewed by the `OraOperator` automatically. You need to download the wallet again after the auto-renewal.
547
+
- You can set the certificate renew interval with the help of `tcpsCertRenewInterval` field in the **[config/samples/sidb/singleinstancedatabase.yaml](../../config/samples/sidb/singleinstancedatabase.yaml)** file. The minimum accepted value is 24h, and the maximum value is 8760h (1 year). The certificates used with TCPS will automatically be renewed after this interval. If this field is omitted/commented in the yaml file, the certificates will not be renewed automatically.
548
548
- When the certificate gets created/renewed, the `.status.certCreationTimestamp` status variable gets updated accordingly. You can see this timestamp by using the following command:
549
549
```bash
550
550
kubectl get singleinstancedatabase sidb-sample -o "jsonpath={.status.certCreationTimestamp}"
0 commit comments