<commit_before>#!/bin/sh -x

etcd_cluster=$(seq -s , 1 $ETCD_CLUSTER_SIZE | sed 's|\([1-9]*\)|http://etcd\1:2379|g')

weave_ip=$(hostname -i)

if [ -d '/srv/kubernetes/' ]
then
  args="--cert-dir=/srv/kubernetes --token-auth-file=/srv/kubernetes/known_tokens.csv"
else
  args="--insecure-bind-address=${weave_ip} --port=8080"
fi
<commit_msg>Passing `--cert-dir` results in creation of new certs...<commit_after>#!/bin/sh -x

etcd_cluster=$(seq -s , 1 $ETCD_CLUSTER_SIZE | sed 's|\([1-9]*\)|http://etcd\1:2379|g')

weave_ip=$(hostname -i)

if [ -d '/srv/kubernetes/' ]
then
  args="--tls-cert-file=/srv/kubernetes/kube-apiserver.crt --tls-private-key-file=/srv/kubernetes/kube-apiserver.key --token-auth-file=/srv/kubernetes/known_tokens.csv"
else
  args="--insecure-bind-address=${weave_ip} --port=8080"
fi

{'fraction_non_alphanumeric': 0.22428748451053285, 'fraction_numerical': 0.02973977695167286, 'mean_word_length': 4.081761006289308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1347504', 'n_tokens_mistral': 364, 'n_tokens_neox': 339, 'n_words': 48}