Skip to content

Commit ec11687

Browse files
committed
push helm values files
1 parent 33e34eb commit ec11687

7 files changed

+122
-58
lines changed

.secrets.baseline

+25-23
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2024-11-21T17:01:35Z",
6+
"generated_at": "2024-11-22T11:14:58Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -1111,26 +1111,6 @@
11111111
"verified_result": null
11121112
}
11131113
],
1114-
"platform/azure/README-Azure-SQL-MI.md": [
1115-
{
1116-
"hashed_secret": "547ef58bd39c2e3cc6ff7e61ea31e3d23e6382f1",
1117-
"is_secret": false,
1118-
"is_verified": false,
1119-
"line_number": 62,
1120-
"type": "Secret Keyword",
1121-
"verified_result": null
1122-
}
1123-
],
1124-
"platform/azure/README-NGINX.md": [
1125-
{
1126-
"hashed_secret": "547ef58bd39c2e3cc6ff7e61ea31e3d23e6382f1",
1127-
"is_secret": false,
1128-
"is_verified": false,
1129-
"line_number": 55,
1130-
"type": "Secret Keyword",
1131-
"verified_result": null
1132-
}
1133-
],
11341114
"platform/azure/README.md": [
11351115
{
11361116
"hashed_secret": "07596f183f5e91b1778d5e47b2752b8d42aa763d",
@@ -1163,12 +1143,34 @@
11631143
"line_number": 292,
11641144
"type": "Secret Keyword",
11651145
"verified_result": null
1166-
},
1146+
}
1147+
],
1148+
"platform/azure/aks-nginx-values.yaml": [
11671149
{
11681150
"hashed_secret": "547ef58bd39c2e3cc6ff7e61ea31e3d23e6382f1",
11691151
"is_secret": false,
11701152
"is_verified": false,
1171-
"line_number": 368,
1153+
"line_number": 21,
1154+
"type": "Secret Keyword",
1155+
"verified_result": null
1156+
}
1157+
],
1158+
"platform/azure/aks-sqlmi-values.yaml": [
1159+
{
1160+
"hashed_secret": "547ef58bd39c2e3cc6ff7e61ea31e3d23e6382f1",
1161+
"is_secret": false,
1162+
"is_verified": false,
1163+
"line_number": 14,
1164+
"type": "Secret Keyword",
1165+
"verified_result": null
1166+
}
1167+
],
1168+
"platform/azure/aks-values.yaml": [
1169+
{
1170+
"hashed_secret": "547ef58bd39c2e3cc6ff7e61ea31e3d23e6382f1",
1171+
"is_secret": false,
1172+
"is_verified": false,
1173+
"line_number": 14,
11721174
"type": "Secret Keyword",
11731175
"verified_result": null
11741176
}

platform/azure/README-Azure-SQL-MI.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,21 @@ kubectl create secret generic <odmdbsecret> --from-literal=db-user=<sqlmiadmin>
5151
5252
Then you can deploy ODM with:
5353

54-
```bash
55-
helm install <release> ibmcharts/ibm-odm-prod \
56-
--set image.repository=cp.icr.io/cp/cp4a/odm --set image.pullSecrets=<registrysecret> \
57-
--set image.tag=${ODM_VERSION:-9.0.0.0} --set service.type=LoadBalancer \
58-
--set externalDatabase.type=sqlserver \
59-
--set externalDatabase.serverName=<sqlminame>.public.<identifier>.database.windows.net \
60-
--set externalDatabase.databaseName=odmdb \
61-
--set externalDatabase.port=3342 \
62-
--set externalDatabase.secretCredentials=<odmdbsecret> \
63-
--set customization.securitySecretRef=<mynicecompanytlssecret> \
64-
--set license=true --set usersPassword=<password>
54+
You can now install the product.
55+
- Get the [aks-sqlmi-values.yaml](./aks-sqlmi-values.yaml) file and replace the following keys:
56+
- `<registrysecret>` is your registry secret name
57+
- `<postgresqlserver>` is your flexible postgres server name
58+
- `<odmdbsecret>` is the database credentials secret name
59+
- `<mynicecompanytlssecret>` is the container certificate
60+
- `<password>` is the password to login with the basic registry users like `odmAmin`
61+
- `<sqlminame>` is the name of the SQL managed instance
62+
- `<identifier>` is the identifier of the dnsZone of the SQL managed instance
63+
64+
```shell
65+
helm install <release> ibmcharts/ibm-odm-prod --version 24.1.0 -f aks-sqlmi-values.yaml
6566
```
6667

67-
Other deployment options (especially using NGINX) and IBM License Service usage are explained in the main [README](README.md).
68+
Other deployment options (especially using NGINX) and IBM License Service usage are explained in the [NGINX README](README-NGINX.md).
6869

6970
## Troubleshooting
7071

platform/azure/README-NGINX.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,16 @@ Installing an NGINX Ingress controller allows you to access ODM components throu
4545

4646
You can reuse the secret with TLS certificate created [above](README.md#manage-adigital-certificate-10-min):
4747

48+
You can now install the product.
49+
- Get the [aks-nginx-values.yaml](./aks-nginx-values.yaml) file and replace the following keys:
50+
- `<registrysecret>` is your registry secret name
51+
- `<postgresqlserver>` is your flexible postgres server name
52+
- `<odmdbsecret>` is the database credentials secret name
53+
- `<mynicecompanytlssecret>` is the container certificate
54+
- `<password>` is the password to login with the basic registry users like `odmAmin`
55+
4856
```shell
49-
helm install <release> ibmcharts/ibm-odm-prod \
50-
--set image.repository=cp.icr.io/cp/cp4a/odm --set image.pullSecrets=<registrysecret> \
51-
--set externalDatabase.type=postgres \
52-
--set externalDatabase.serverName=<postgresqlserver>.postgres.database.azure.com \
53-
--set externalDatabase.databaseName=postgres \
54-
--set externalDatabase.port=5432 \
55-
--set externalDatabase.secretCredentials=<odmdbsecret> \
56-
--set service.ingress.enabled=true --set service.ingress.tlsSecretRef=<mynicecompanytlssecret> \
57-
--set service.ingress.tlsHosts={mynicecompany.com} --set service.ingress.host=mynicecompany.com \
58-
--set service.ingress.annotations={"nginx.ingress.kubernetes.io/backend-protocol: HTTPS"} \
59-
--set service.ingress.class=nginx \
60-
--set license=true --set usersPassword=<password>
57+
helm install <release> ibmcharts/ibm-odm-prod --version 24.1.0 -f aks-nginx-values.yaml
6158
```
6259

6360
> [!NOTE]

platform/azure/README.md

+8-11
Original file line numberDiff line numberDiff line change
@@ -355,19 +355,16 @@ az aks update --name <cluster> --resource-group <resourcegroup> --load-balancer-
355355
> **Note**
356356
> If you prefer to use the NGINX Ingress Controller instead of the default AKS Load Balancer, refer to [Deploying IBM Operational Decision Manager with NGINX Ingress Controller on Azure AKS](README-NGINX.md)
357357
358-
You can now install the product:
358+
You can now install the product.
359+
- Get the [aks-values.yaml](./aks-values.yaml) file and replace the following keys:
360+
- `<registrysecret>` is your registry secret name
361+
- `<postgresqlserver>` is your flexible postgres server name
362+
- `<odmdbsecret>` is the database credentials secret name
363+
- `<mynicecompanytlssecret>` is the container certificate
364+
- `<password>` is the password to login with the basic registry users like `odmAmin`
359365

360366
```shell
361-
helm install <release> ibmcharts/ibm-odm-prod \
362-
--set image.repository=cp.icr.io/cp/cp4a/odm --set image.pullSecrets=<registrysecret> \
363-
--set service.type=LoadBalancer \
364-
--set externalDatabase.type=postgres \
365-
--set externalDatabase.serverName=<postgresqlserver>.postgres.database.azure.com \
366-
--set externalDatabase.databaseName=postgres \
367-
--set externalDatabase.port=5432 \
368-
--set externalDatabase.secretCredentials=<odmdbsecret> \
369-
--set customization.securitySecretRef=<mynicecompanytlssecret> \
370-
--set license=true --set usersPassword=<password>
367+
helm install <release> ibmcharts/ibm-odm-prod --version 24.1.0 -f aks-values.yaml
371368
```
372369

373370
Where:

platform/azure/aks-nginx-values.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
license: true
2+
usersPassword: <password>
3+
4+
image:
5+
repository: cp.icr.io/cp/cp4a/odm
6+
pullSecrets:
7+
- <registrysecret>
8+
9+
service:
10+
ingress:
11+
enabled: true
12+
class: nginx
13+
host: mynicecompany.com
14+
tlsHosts:
15+
- mynicecompany.com
16+
annotations:
17+
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
18+
19+
externalDatabase:
20+
type: postgres
21+
secretCredentials: <odmdbsecret>
22+
port: 5432
23+
serverName: <postgresqlserver>.postgres.database.azure.com
24+
databaseName: postgres
25+
26+
customization:
27+
securitySecretRef: <mynicecompanytlssecret>

platform/azure/aks-sqlmi-values.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
license: true
2+
usersPassword: <password>
3+
4+
image:
5+
repository: cp.icr.io/cp/cp4a/odm
6+
pullSecrets:
7+
- <registrysecret>
8+
9+
service:
10+
type: LoadBalancer
11+
12+
externalDatabase:
13+
type: sqlserver
14+
secretCredentials: <odmdbsecret>
15+
port: 3342
16+
serverName: <sqlminame>.public.<identifier>.database.windows.net
17+
databaseName: odmdb
18+
19+
customization:
20+
securitySecretRef: <mynicecompanytlssecret>

platform/azure/aks-values.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
license: true
2+
usersPassword: <password>
3+
4+
image:
5+
repository: cp.icr.io/cp/cp4a/odm
6+
pullSecrets:
7+
- <registrysecret>
8+
9+
service:
10+
type: LoadBalancer
11+
12+
externalDatabase:
13+
type: postgres
14+
secretCredentials: <odmdbsecret>
15+
port: 5432
16+
serverName: <postgresqlserver>.postgres.database.azure.com
17+
databaseName: postgres
18+
19+
customization:
20+
securitySecretRef: <mynicecompanytlssecret>

0 commit comments

Comments
 (0)