Use Cases for Updating Keystore File as Part of Incremental Changes
- Update the
keystore.jks,keystore_client.jks, andtruststore.jksfiles in Git:-
Using browser UI:
- Access your Git instance from browser and go to the Helm charts repository.
- Navigate to the
siebel-config/keystorefolder. - Upload and commit the new custom
keystore.jks,keystore_client.jks, andtruststore.jksfiles. - Edit
siebel-config/Chart.yamland increment chart version and commit the same.
-
Using terminal:
- SSH to SCM instance.
- Enter the
container:
sudo podman exec -it cloudmanager -bash - Go to the
keystoredirectory:cd <env_dir>/<Helm charts repository name>/siebel-config/keystore - Copy the custom
keystore.jks,keystore_client.jks, andtruststore.jksfiles to thekeystoredirectory. - Open
Chart.yamland increment the chart version:vi <env_dir>/<Helm charts repository name>/siebel-config/Chart.yaml - Commit and push the changes to the remote
repository:
git pull git add <file1> <file2> git commit -m <message> git push
-
- Wait for 10 minutes so that flux will automatically reconcile and uptake above
changes. Or you can manually reconcile using below
commands:
flux reconcile source git siebel-repo flux reconcile kustomization appsThe reconcile process might take up to 10 minutes. The new custom
keystore.jks,keystore_client.jks, andtruststore.jksfiles are pulled, and Kubernetes secret "keystore" is updated with new certificate values.Note: While the flux reconciliation is in progress, if you are monitoring your cluster by querying the status of the pod and helm release:- The
kubectl -n <namespace> get podscommand will return the status of the pod (configure-xxxxx) asinit:3/4. - The helm -n <namespace
> ls -acommand will return the status of the Helm release (siebel-config) aspending-upgrade.
The status of the pod
init:3/4and Helm releasepending-upgradeis as expected, you must proceed to step 3. - The
- Execute the following commands to upgrade Siebel Server/SAI/CGW containers with new
certificates.
- Edit
<Helm charts repository name>/siebel/Chart.yaml, increment chart version, and commit the same. - Edit
<Helm charts repository name>/siebel-gateway/Chart.yaml, increment chart version, and commit the same.
- Edit