Created by: ismith

LP_KUBECONTEXT_DELIMITER (already in liquidprompt) removes a suffix (dev-cluster and - becomes -> dev). But sometimes the boilerplate part is a prefix, as when using AWS EKS (Elastic Kubernetes Service), so this adds LP_KUBECONTEXT_DELIMITER_STRIP_PREFIX.

aws eks update-kubeconfig --name $CLUSTER_NAME sets the cluster's ARN as the context name, most of which is boilerplate: arn:aws:eks:$REGION:$ACCOUNT_ID:cluster/$CLUSTER_NAME.

Merge request reports