<commit_before>apiVersion: v1
kind: Namespace
metadata:
  name: dev
---
kind: ConfigMap
apiVersion: v1
data:
  block-kube.yml: |
    # IP blocking for deployment on GKE.
    defaultAllow: false
    trustForwardedFor: true
    routeSpecs:
      # My house
      - range: "192.168.3.11"
        allow: true
      # Load balancer health check. The probes come from 10.100.1.1, but maybe
      # that'll change when I have more than one node?? I really don't
      # understand this. The Google load balancer docs say probes come from
      # a different IP range. I think this is something to do with kube-proxy.
      # https://cloud.google.com/compute/docs/load-balancing/health-checks#https_ssl_proxy_tcp_proxy_and_internal_load_balancing
      - range: "10.100.0.0/16"
        allow: true
metadata:
  name: ip-block
  namespace: dev
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: emp-pl-site
  namespace: dev
  annotations:
    kubernetes.io/tls-acme: "true"
    kubernetes.io/ingress.class: "gce"
    kubernetes.io/ingress.global-static-ip-name: k8s-fw-dev-emp-pl-site--60b3bd0370a060fd
spec:
  tls:
  - hosts:
    - dev.goodcode.cc
    secretName: emp-pl-site-tls
  rules:
  - host: dev.goodcode.cc<commit_msg>Allocate an external IP permanently for dev.goodcode.cc load balancer<commit_after>apiVersion: v1
kind: Namespace
metadata:
  name: dev
---
kind: ConfigMap
apiVersion: v1
data:
  block-kube.yml: |
    # IP blocking for deployment on GKE.
    defaultAllow: false
    trustForwardedFor: true
    routeSpecs:
      # My house
      - range: "192.168.3.11"
        allow: true
      # Load balancer health check. The probes come from 10.100.1.1, but maybe
      # that'll change when I have more than one node?? I really don't
      # understand this. The Google load balancer docs say probes come from
      # a different IP range. I think this is something to do with kube-proxy.
      # https://cloud.google.com/compute/docs/load-balancing/health-checks#https_ssl_proxy_tcp_proxy_and_internal_load_balancing
      - range: "10.100.0.0/16"
        allow: true
metadata:
  name: ip-block
  namespace: dev
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: emp-pl-site
  namespace: dev
  annotations:
    kubernetes.io/tls-acme: "true"
    kubernetes.io/ingress.class: "gce"
    kubernetes.io/ingress.global-static-ip-name: http-lb-dev
spec:
  tls:
  - hosts:
    - dev.goodcode.cc
    secretName: emp-pl-site-tls
  rules:
  - host: dev.goodcode.cc
{'fraction_non_alphanumeric': 0.10148415563578018, 'fraction_numerical': 0.027677496991576414, 'mean_word_length': 2.896875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '705910', 'n_tokens_mistral': 889, 'n_tokens_neox': 833, 'n_words': 231}