Remove Kiali

If not planning to use Kiali, then Kiali may be removed for CVE (Common Vulnerabilities and Exposures) remediation. NOTE: The removal will not persist after a CSM upgrade, so the removal procedure must be rerun after CSM upgrades.

Procedure

  1. Delete kiali deployment and cray-kiali chart.

    ncn-m# kubectl delete deployment kiali -n istio-system
    ncn-m# helm uninstall cray-kiali -n operators --keep-history
    
  2. Remove cray-kiali chart from loftsman-platform ConfigMap.

    ncn-m# kubectl get configmap -n loftsman loftsman-platform -o json | jq -r '.data."manifest.yaml"' > platform.yaml
    ncn-m# cp platform.yaml platform.yaml.saved
    ncn-m# yq d -i platform.yaml 'spec.charts(name=='"cray-kiali"')'
    ncn-m# kubectl create configmap -n loftsman loftsman-platform --from-file=manifest.yaml=platform.yaml \
             --dry-run=client -o yaml | kubectl apply -f -