<commit_before>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  labels:
    name: {name}
  name: {name}
spec:
  revisionHistoryLimit: 0
  template:
    metadata:
      annotations:
        chaos.alpha.kubernetes.io/enabled: "true"
      labels:
        name: {name}
    spec:
      containers:
      - name: {name}
        image: vizzuality/{name}
        imagePullPolicy: Always
        resources:
          requests:
            memory: "0Mi"
            cpu: "0m"
        env:
          - name: RACK_ENV
            value: production
          - name: RAILS_ENV
            value: production
          - name: PORT
            value: "3000"
          - name: RAILS_SERVE_STATIC_FILES
            value: "true"
          - name: RW_API_URL
            value: https://api.resourcewatch.org/v1
          - name: APIGATEWAY_URL
            value: http://production-api.globalforestwatch.org
          - name: AUTH_USERNAME
            value: "prep"
          - name: AUTH_PASSWORD
            value: "<PASSWORD>"

          - name: AUTH_USERNAME
            valueFrom:
                secretKeyRef:
                  name: appsecrets
                  key: PREP_MANAGER_AUTH_USERNAME
          - name: AUTH_PASSWORD
            valueFrom:
                secretKeyRef:
                  name: appsecrets
                  key: PREP_MANAGER_AUTH_PASSWORD
          - name: POSTGRES_URL
            valueFrom:
                secretKeyRef:
                  name: dbsecrets
                  key: PREP_MANAGER_POSTGRES_URL

        ports:
          - containerPort: 3000<commit_msg>update kube<commit_after>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  labels:
    name: {name}
  name: {name}
spec:
  revisionHistoryLimit: 0
  template:
    metadata:
      annotations:
        chaos.alpha.kubernetes.io/enabled: "true"
      labels:
        name: {name}
    spec:
      containers:
      - name: {name}
        image: vizzuality/{name}
        imagePullPolicy: Always
        resources:
          requests:
            memory: "0Mi"
            cpu: "0m"
        env:
          - name: RACK_ENV
            value: production
          - name: RAILS_ENV
            value: production
          - name: PORT
            value: "3000"
          - name: RAILS_SERVE_STATIC_FILES
            value: "true"
          - name: RW_API_URL
            value: https://api.resourcewatch.org/v1
          - name: APIGATEWAY_URL
            value: http://production-api.globalforestwatch.org
          - name: AUTH_USERNAME
            valueFrom:
                secretKeyRef:
                  name: appsecrets
                  key: PREP_MANAGER_AUTH_USERNAME
          - name: AUTH_PASSWORD
            valueFrom:
                secretKeyRef:
                  name: appsecrets
                  key: PREP_MANAGER_AUTH_PASSWORD
          - name: POSTGRES_URL
            valueFrom:
                secretKeyRef:
                  name: dbsecrets
                  key: PREP_MANAGER_POSTGRES_URL

        ports:
          - containerPort: 3000
{'fraction_non_alphanumeric': 0.07266775777414075, 'fraction_numerical': 0.009165302782324058, 'mean_word_length': 1.3417624521072797, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '4794212', 'n_tokens_mistral': 918, 'n_tokens_neox': 857, 'n_words': 182}