<commit_before>param (
    [string]$CR_PATH = $null,
    [switch]$LOCAL = $false
)

$CURRENT_DIR = Split-Path $MyInvocation.MyCommand.Path

# Istio CRDs need to be applied before istio installation because we are not using helm 2.10.
# With helm 2.10 in place it can be safely removed.
# See: https://istio.io/docs/setup/kubernetes/helm-install/#installation-steps
$cmd = "kubectl apply -f ${CURRENT_DIR}\..\..\resources\istio\templates\crds.yaml"
Invoke-Expression -Command $cmd

$cmd = "kubectl apply -f ${CURRENT_DIR}\..\..\resources\istio\charts\certmanager\templates\crds.yaml"
Invoke-Expression -Command $cmd


$cmd = "kubectl apply -f ${CURRENT_DIR}\..\resources\default-sa-rbac-role.yaml"
Invoke-Expression -Command $cmd

$cmd = "kubectl apply -f ${CURRENT_DIR}\..\resources\limit-range-installer.yaml"<commit_msg>Remove istio crds from ps script (#689)<commit_after>param (
    [string]$CR_PATH = $null,
    [switch]$LOCAL = $false
)

$CURRENT_DIR = Split-Path $MyInvocation.MyCommand.Path

$cmd = "kubectl apply -f ${CURRENT_DIR}\..\resources\default-sa-rbac-role.yaml"
Invoke-Expression -Command $cmd

$cmd = "kubectl apply -f ${CURRENT_DIR}\..\resources\limit-range-installer.yaml"
{'fraction_non_alphanumeric': 0.1550712489522213, 'fraction_numerical': 0.0075440067057837385, 'mean_word_length': 4.259911894273127, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4919062', 'n_tokens_mistral': 427, 'n_tokens_neox': 401, 'n_words': 91}