Steps for Cert-Orchestrator Migration from v1.2 to v1.3

Here are the steps for upgrading AppViewX KUBE+ to leverage the enhanced features introduced in the AppViewX 2023.1.0 FPs release:

  1. Update the crypto-mesh helm repo by executing the command helm repo update <REPO_NAME>.
  2. Get v1.3 helm chart by executing the command helm pull <REPO_NAME>/crypto-mesh --version v1.3.
    Note: This command will download the helm chart for crypto-mesh v1.3 and save it as crypto-mesh-v1.3.tgz in the current folder.
  3. Extract the contents of the crypto-mesh-v1.3.tgz file by executing the command tar -xvf crypto-mesh-v1.3.tgz.
    Note: This command will extract the contents of the tarball (tgz file) and create a folder named 'crypto-mesh' with the extracted files in the current directory.
  4. Apply CRDs of v1.3 from the above folder by executing the command kubectl apply -f ./crypto-mesh/crds/cert-orchestrator/
  5. Upgrade cert-orchestrator from v1.2 to v1.3 using "helm upgrade" by executing the following command:
    helm upgrade <HELM_NAME> <REPO_NAME>/crypto-mesh --version v1.3 --namespace
    <NAMESPACE> --set
          certOrchestrator.discovery.credentialSecretName=appviewx-auth --set
          certOrchestrator.discovery.credentialSecretNamespace=<NAMESPACE> --set
          certOrchestrator.discovery.isGroupAutoGenerate=<true/false> --set
          certOrchestrator.global.clusterName=<CLUSTER_NAME> --set
          certOrchestrator.global.k8sVendor=<VENDOR>

    Make sure to replace the placeholders with the actual values:

    1. <HELM_NAME>: Existing Helm name for cert-orchestrator. To get the existing helm name, execute the command helm ls -A | grep crypto-mesh-v1.2.
    2. <REPO_NAME>: Name of the Helm repository.
    3. <NAMESPACE>: Namespace where cert-orchestrator is installed. To get the existing namespace, execute the command helm ls -A | grep crypto-mesh-v1.2.
    4. <CLUSTER_NAME>: Existing cluster name. To get the existing cluster name, execute the command kubectl get deployment cert-orchestrator -n <NAMESPACE> -o yaml | grep cluster-name
    5. <VENDOR>: Vendor type (Self-Managed/EKS/AKS/GKE/OpenShift).