Use Cases for Updating Keystore File as Part of Incremental Changes

  1. Update keystore/truststore files in GitLab:

    Using browser UI:

    1. Access your GitLab instance from browser and go to <namespace>-helmcharts repository.
    2. Navigate to the siebel-config/keystore folder.
    3. Upload and commit new custom keystore/truststore files having .jks extension.
    4. Edit siebel-config/Chart.yaml and increment chart version and commit the same.

    Using terminal:

    1. SSH to SCM instance.

    2. docker exec -it cloudmanager -bash

    3. cd <env_dir>/<namespace>-helmcharts/siebel-config/keystore

    4. Copy custom keystore/truststore files having extension .jks to above path.

    5. vi <env_dir>/<name space>-helmcharts/siebel-config/Chart.yaml

    6. Increment chart version.

    7. Commit the changes and push to remote repository:

      git pull
      git add <file1> <file2>
      git commit -m <message>
      git push
  2. Wait for 10 minutes so that flux will automatically reconcile and uptake above changes. Alternatively, you can manually reconcile using below commands:
    flux reconcile source git siebel-repo
    flux reconcile kustomization apps
    

    The reconcile process might take upto 10 minutes. The new custom keystore/truststore files will be pulled and Kubernetes Secret - "keystore" will be updated with new cert values.

  3. Execute the following commands to upgrade Siebel Server/SAI/CGW containers with new certificates.
    1. Edit <namespace>-helmcharts/siebel/Chart.yaml, increment chart version, and commit the same.
    2. Edit <namespace>-helmcharts/siebel-gateway/Chart.yaml, increment chart version, and commit the same.