<commit_before>---
apiVersion: v1
kind: Secret
metadata:
  name: ambassador-injector-tls
type: kubernetes.io/tls
data:
  tls.crt: <KEY>
  tls.key: <KEY>
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
  name: ambassador-injector-webhook-config
webhooks:
  - name: ambassador-injector.getambassador.io
    clientConfig:
      service:
        name: ambassador-injector
        namespace: ambassador
        path: "/traffic-agent"
      caBundle: <KEY>
    failurePolicy: Ignore
    rules:
      - operations: ["CREATE"]
        apiGroups: [""]
        apiVersions: ["v1"]
        resources: ["pods"]
---<commit_msg>(from AES) Fixing the ambassador-injector secret in 1.7<commit_after>---
apiVersion: v1
kind: Secret
metadata:
  name: ambassador-injector-tls
  namespace: ambassador
type: Opaque
data:
  ## TLS certificate and key for `ambassador-injector.ambassador.svc`
  crt.pem: <KEY>
  key.pem: <KEY>
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
  name: ambassador-injector-webhook-config
webhooks:
  - name: ambassador-injector.getambassador.io
    clientConfig:
      service:
        name: ambassador-injector
        namespace: ambassador
        path: "/traffic-agent"
      caBundle: <KEY>
    failurePolicy: Ignore
    rules:
      - operations: ["CREATE"]
        apiGroups: [""]
        apiVersions: ["v1"]
        resources: ["pods"]
---
{'fraction_non_alphanumeric': 0.11975223675154852, 'fraction_numerical': 0.008258774948382657, 'mean_word_length': 3.0842696629213484, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4250354', 'n_tokens_mistral': 481, 'n_tokens_neox': 463, 'n_words': 105}