4.3.5 Seal the GitOps Values

This topic provides the systematic instructions to install the sealing prerequisites, seal secrets, and update the GitOps repository settings.

  1. Run the following command to install the yq and Kubeseal prerequisites.
    sh tools/utility/install-dependencies.sh
  2. Run the following commands to seal the secrets.
    cp -rf obma-app/env1 obma-app/env1_bkp
    tools/seal-obma-values.sh --input-dir obma-app/env1_bkp --output-dir obma-app/env1 --cert tools/sealed-secret-public-key/pub-cert.pem
  3. Update /scratch/obma_installer/26_1_0/installer/installation/platform-setup-gitops/obma-app/env1/namespace-foundation.yaml with the required route product list.
    # Optional selector; default is obma. All four are selected here.
    ROUTE_PRODUCTS: "obma,odt,ofs,obdx"
  4. Run the following commands.
    chmod +x update-gitops-repo.sh
    sh update-gitops-repo.sh