<commit_before>{{- if .Values.backup_v2.enabled }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: {{ include "fullName" . }}-verification
  labels:
    system: openstack
    type: database
    component: {{ .Values.name }}
spec:
  replicas: 1
  revisionHistoryLimit: 5
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app: {{ include "fullName" . }}-verification
  template:
    metadata:
      labels:
        app: {{ include "fullName" . }}-verification
        name: {{ template "fullName" . }}-verification
      annotations:
{{- if .Values.metrics.enabled }}
        prometheus.io/scrape: "true"
        prometheus.io/port: {{ required ".Values.metrics.port missing" .Values.metrics.port | quote }}
        prometheus.io/targets: {{ required ".Values.alerts.prometheus missing" .Values.alerts.prometheus | quote }}
{{- end }}
    spec:
      serviceAccountName: {{ .Values.name }}-db-backup-v2
      containers:
      - name: mariabackup-verification
        image: "{{ default "hub.global.cloud.sap" .Values.global.imageRegistry}}/{{.Values.global.image_namespace}}/maria-back-me-up:{{ .Values.backup_v2.image_version }}"
        command:
          - verification
        ports:
          - containerPort: 8082
            name: metrics
            protocol: TCP
        env:
          - name: CONFIG_FILE
            value: "/etc/config/config.yaml"<commit_msg>[backupv2] fixes verify scrape port<commit_after>{{- if .Values.backup_v2.enabled }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: {{ include "fullName" . }}-verification
  labels:
    system: openstack
    type: database
    component: {{ .Values.name }}
spec:
  replicas: 1
  revisionHistoryLimit: 5
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app: {{ include "fullName" . }}-verification
  template:
    metadata:
      labels:
        app: {{ include "fullName" . }}-verification
        name: {{ template "fullName" . }}-verification
      annotations:
{{- if .Values.metrics.enabled }}
        prometheus.io/scrape: "true"
        prometheus.io/port: "8082"
        prometheus.io/targets: {{ required ".Values.alerts.prometheus missing" .Values.alerts.prometheus | quote }}
{{- end }}
    spec:
      serviceAccountName: {{ .Values.name }}-db-backup-v2
      containers:
      - name: mariabackup-verification
        image: "{{ default "hub.global.cloud.sap" .Values.global.imageRegistry}}/{{.Values.global.image_namespace}}/maria-back-me-up:{{ .Values.backup_v2.image_version }}"
        command:
          - verification
        ports:
          - containerPort: 8082
            name: metrics
            protocol: TCP
        env:
          - name: CONFIG_FILE
            value: "/etc/config/config.yaml"
{'fraction_non_alphanumeric': 0.1335988414192614, 'fraction_numerical': 0.009775524981897175, 'mean_word_length': 2.4886363636363638, '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': '3948751', 'n_tokens_mistral': 860, 'n_tokens_neox': 832, 'n_words': 175}