<commit_before>{{- if .Values.scaleout.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress

metadata:
  name: opensearch-logs-dashboards
  namespace: opensearch
  annotations:
    kubernetes.io/tls-acme: "true"
    disco: "true"
    # this is for kibana sso cert evaluation
    ingress.kubernetes.io/auth-tls-secret: {{ default "" .Values.opensearch_dashboards.auth.tls_client_auth.secret }}
    ingress.kubernetes.io/auth-tls-verify-depth: "3"
    ingress.kubernetes.io/auth-tls-verify-client: "optional"
    ingress.kubernetes.io/auth-url: "https://auth-internal.{{.Values.global.region}}.{{ .Values.global.tld }}/oauth2/auth"
    ingress.kubernetes.io/auth-signin: "https://auth-internal.{{.Values.global.region}}.{{ .Values.global.tld }}/oauth2/start"
    ingress.kubernetes.io/auth-request-redirect: $escaped_request_uri<commit_msg>[opensearch] disable cert auth, 2fa<commit_after>{{- if .Values.scaleout.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress

metadata:
  name: opensearch-logs-dashboards
  namespace: opensearch
  annotations:
    kubernetes.io/tls-acme: "true"
    disco: "true"
    # this is for kibana sso cert evaluation
    # ingress.kubernetes.io/auth-tls-secret: {{ default "" .Values.opensearch_dashboards.auth.tls_client_auth.secret }}
    # ingress.kubernetes.io/auth-tls-verify-depth: "3"
    # ingress.kubernetes.io/auth-tls-verify-client: "optional"
    # ingress.kubernetes.io/auth-url: "https://auth-internal.{{.Values.global.region}}.{{ .Values.global.tld }}/oauth2/auth"
    # ingress.kubernetes.io/auth-signin: "https://auth-internal.{{.Values.global.region}}.{{ .Values.global.tld }}/oauth2/start"
    # ingress.kubernetes.io/auth-request-redirect: $escaped_request_uri
{'fraction_non_alphanumeric': 0.15872093023255815, 'fraction_numerical': 0.006395348837209302, 'mean_word_length': 4.168168168168168, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5445265', 'n_tokens_mistral': 616, 'n_tokens_neox': 591, 'n_words': 85}