<commit_before>apiVersion: apps/v1
kind: Deployment
metadata:
  name: file-storage-service
  annotations:
    monitor: monitor
    waitForDb: waitForDb
    javaDebug: javaDebug
    pullSecrets: pullSecrets
    slow: slow
    newRelic: newRelic
spec:
  replicas: 1
  selector:
    matchLabels:
      app: file-storage-service
  template:
    metadata:
      labels:
        app: file-storage-service
    spec:
      containers:
      - name: spring-boot-service-container
        image: file-storage-service
        imagePullPolicy: IfNotPresent
        livenessProbe:
          httpGet:
            path: /monitoring/health
            port: 8080
          initialDelaySeconds: 30
          periodSeconds: 31
          timeoutSeconds: 25
          successThreshold: 1
          failureThreshold: 3
        readinessProbe:
          httpGet:
            path: /monitoring/health
            port: 8080
          initialDelaySeconds: 30
          periodSeconds: 5
          timeoutSeconds: 25
          successThreshold: 1
          failureThreshold: 3
        envFrom:
          - secretKeyRef:
              name: file-storage-service-secrets
          - configKeyRef:
              name: file-storage-service-config
        env:
        - name: JAVA_TOOL_OPTIONS
          value: -Xms1500m -Xmx1500m -javaagent:/newrelic.jar
        - name: NEW_RELIC_APP_NAME
          value: 'ifs-$(NEW_RELIC_ENV)-file-storage-service'
        ports:
          - containerPort: 7444
        resources:<commit_msg>fix secrets and config refs<commit_after>apiVersion: apps/v1
kind: Deployment
metadata:
  name: file-storage-service
  annotations:
    monitor: monitor
    waitForDb: waitForDb
    javaDebug: javaDebug
    pullSecrets: pullSecrets
    slow: slow
    newRelic: newRelic
spec:
  replicas: 1
  selector:
    matchLabels:
      app: file-storage-service
  template:
    metadata:
      labels:
        app: file-storage-service
    spec:
      containers:
      - name: spring-boot-service-container
        image: file-storage-service
        imagePullPolicy: IfNotPresent
        livenessProbe:
          httpGet:
            path: /monitoring/health
            port: 8080
          initialDelaySeconds: 30
          periodSeconds: 31
          timeoutSeconds: 25
          successThreshold: 1
          failureThreshold: 3
        readinessProbe:
          httpGet:
            path: /monitoring/health
            port: 8080
          initialDelaySeconds: 30
          periodSeconds: 5
          timeoutSeconds: 25
          successThreshold: 1
          failureThreshold: 3
        envFrom:
          - secretRef:
              name: file-storage-service-secrets
          - configMapRef:
              name: file-storage-service-config
        env:
        - name: JAVA_TOOL_OPTIONS
          value: -Xms1500m -Xmx1500m -javaagent:/newrelic.jar
        - name: NEW_RELIC_APP_NAME
          value: 'ifs-$(NEW_RELIC_ENV)-file-storage-service'
        ports:
          - containerPort: 7444
        resources:
{'fraction_non_alphanumeric': 0.06779661016949153, 'fraction_numerical': 0.02459288800265869, 'mean_word_length': 1.7741935483870968, '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': '4234439', 'n_tokens_mistral': 907, 'n_tokens_neox': 834, 'n_words': 191}