Skip to content

Commit cc858c3

Browse files
committed
changing secret name
1 parent 21ab75a commit cc858c3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

java/autonomousdb-wallet-secret-sample/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Java Sample Using an Oracle Wallet as a Kubernetes Secret
22

3-
In this minimalistic Java sample we show you how to use a wallet downloaded by the Oracle Database Operator for Kubernetes.
3+
In this minimalistic Java sample we show you how to use a wallet downloaded by the [Oracle Database Operator for Kubernetes](https://github.com/oracle/oracle-database-operator).
44

55
An example is also provided to use a wallet downloaded from the Cloud Console.
66

@@ -15,7 +15,7 @@ The key part to understand its simplicity is that the deployment file uses the s
1515
If you want to configure a previously downloaded wallet you can just create the secret (and use the same secret name for the Pod's spec) pointing to the directory where you unzipped the wallet:
1616

1717
```sh
18-
kubectl create secret generic database-wallet --from-file=<path-to-wallets-unzipped-folder>
18+
kubectl create secret generic instance-wallet --from-file=<path-to-wallets-unzipped-folder>
1919
```
2020
The Java microservice retrieves username, password and url also from a secret. To create it you can use the following script as an example:
2121

java/autonomousdb-wallet-secret-sample/src/main/k8s/app.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ spec:
99
# Either the secret name of the downloaded wallet with the kubernetes operator
1010
# TODO add link to operator
1111
# Or the secret name holding the wallet created ad-hoc:
12-
# kubectl create secret generic database-wallet --from-file=<path to wallet dir>
13-
# secretName: database-wallet
14-
secretName: bindadblocal-instance-wallet
12+
# kubectl create secret generic instance-wallet --from-file=<path to wallet dir>
13+
secretName: instance-wallet
1514
containers:
1615
- name: adb-health-check
1716
image: adb-health-check

0 commit comments

Comments
 (0)