<commit_before>apiVersion: {{ template "deployment.apiVersion" . }}
kind: Deployment
metadata:
  name: "{{ template "kubelogin.fullname" . }}"
  labels:
    app: {{ template "kubelogin.fullname" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
spec:
  replicas: {{.Values.kubelogin.replicas}}
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
    type: RollingUpdate
  revisionHistoryLimit: 5
  template:
    metadata:
      labels:
        app: {{ template "kubelogin.fullname" . }}
    spec:
      volumes:
        - name: tls-secret
          secret:
            secretName: "{{ .Values.kubelogin.tls.secretName}}"

      containers:
      - name: kubelogin
        image: "{{ .Values.kubelogin.image.name}}:{{ .Values.kubelogin.image.tag}}"
        imagePullPolicy: {{ .Values.kubelogin.image.pullPolicy}}
        volumeMounts:
          - name: tls-secret
            mountPath: "/etc/ssl/kubelogin"
        env:
        - name: HTTPS_CERT_PATH
          value: "/etc/ssl/kubelogin/tls.crt"
        - name: HTTPS_KEY_PATH<commit_msg>Allow annotations on the pod<commit_after>apiVersion: {{ template "deployment.apiVersion" . }}
kind: Deployment
metadata:
  name: "{{ template "kubelogin.fullname" . }}"
  labels:
    app: {{ template "kubelogin.fullname" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
spec:
  replicas: {{.Values.kubelogin.replicas}}
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
    type: RollingUpdate
  revisionHistoryLimit: 5
  template:
    metadata:
      labels:
        app: {{ template "kubelogin.fullname" . }}
{{- if .Values.kubelogin.pod.annotations }}
      annotations:
{{ toYaml .Values.kubelogin.pod.annotations | indent 8 }}
{{- end }}
    spec:
      volumes:
        - name: tls-secret
          secret:
            secretName: "{{ .Values.kubelogin.tls.secretName}}"

      containers:
      - name: kubelogin
        image: "{{ .Values.kubelogin.image.name}}:{{ .Values.kubelogin.image.tag}}"
        imagePullPolicy: {{ .Values.kubelogin.image.pullPolicy}}
        volumeMounts:
          - name: tls-secret
            mountPath: "/etc/ssl/kubelogin"
        env:
        - name: HTTPS_CERT_PATH
          value: "/etc/ssl/kubelogin/tls.crt"
        - name: HTTPS_KEY_PATH
{'fraction_non_alphanumeric': 0.14796547472256474, 'fraction_numerical': 0.002877106452938759, 'mean_word_length': 2.3805555555555555, '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': '4607726', 'n_tokens_mistral': 857, 'n_tokens_neox': 851, 'n_words': 143}