<commit_before># Default values for designate.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value
#
debug: "True"

tempest:
  enabled: false

sentry:
  enabled: true

global:
  dbPassword: <PASSWORD>
  image_repository: DEFINED-IN-OPENSTACK-CHART
  image_namespace: DEFINED-IN-OPENSTACK-CHART
  designate_api_endpoint_protocol_admin: http
  designate_api_endpoint_protocol_internal: http
  designate_api_endpoint_protocol_public: https
  designate_api_port_internal: '9001'
  designate_api_port_admin: '9001'
  designate_api_port_public: '443'
  designate_metrics_port: '9102'
  designate_mdns_port_public: '5354'
  designate_mdns_external_ip: DEFINED-IN-REGION-CHART
  designate_mdns_akamai_ip:
  designate_service_user: designate
  designate_service_password: <PASSWORD>

pod:
  replicas:
    api: 2
    central: 2
    mdns: 2
    poolmanager: 1
    producer: 1
    worker: 3
    sink: 1
  lifecycle:
    upgrades:
      deployments:
        revision_history: 5
        pod_replacement_strategy: RollingUpdate
        rolling_update:
          max_unavailable: 0
          max_surge: 1

# image_version_designate_api:  DEFINED-IN-REGION-CHART
# image_version_designate_central:  DEFINED-IN-REGION-CHART
# image_version_designate_mdns:  DEFINED-IN-REGION-CHART

bind_pools:
  - name: default
    nameservers:
      - hostname: DEFINED-IN-REGION-CHART
        ip:  DEFINED-IN-REGION-CHART
      - hostname: DEFINED-IN-REGION-CHART
        ip:  DEFINED-IN-REGION-CHART
      - hostname: DEFINED-IN-REGION-CHART
        ip:  DEFINED-IN-REGION-CHART
    options:
      tsig_key_name: DEFINED-IN-REGION-CHART
      tsig_key_secret: DEFINED-IN-REGION-CHART
      tsig_key_algorithm: DEFINED-IN-REGION-CHART
## Akamai Pool values if needed
#akamai_pools:
#  - name: akamai_pool
#    nameservers:
#      - hostname: DEFINED-IN-REGION-CHART
#        ip: DEFINED-IN-REGION-CHART
#    options:
#      username: DEFINED-IN-REGION-CHART
#      password: <PASSWORD>
#      tsig_key_name: DEFINED-IN-REGION-CHART
#      tsig_key_secret: DEFINED-IN-REGION-CHART
#      tsig_key_algorithm: DEFINED-IN-REGION-CHART
#    also_notifies:
#      - host: DEFINED-IN-REGION-CHART
#        port: DEFINED-IN-REGION-CHART

rndc_keys:
- name: DEFINED-IN-REGION-CHART
  algorithm: DEFINED-IN-REGION-CHART
  secret: DEFINED-IN-REGION-CHART

mariadb:
  name: designate
  initdb_configmap: designate-initdb
  persistence_claim:
    name: db-designate-pvclaim
  nodeAffinity:
    preferredDuringSchedulingIgnoredDuringExecution:
    - weight: 1
      preference:
        matchExpressions:
          - key: "failure-domain.beta.kubernetes.io/zone"
            operator: In
            values:
            - "{{.Values.global.region}}a"

rabbitmq:
  ## default: {{.Release.Name}}-rabbitmq.{{.Release.Namespace}}.svc.kubernetes.{{.Values.global.region}}.{{.Values.global.tld}}
  # host: rabbitmq
  users:
    default:
      user: openstack
      password: <PASSWORD>
    admin:
      user: admin
      password: <PASSWORD>

mysql_metrics:
  db_name: designate
  db_user: root
  customMetrics:
    - name: openstack_designate_zones
      help: "zones grouped by status and project"
      labels:
        - "zone_name"
        - "status"
        - "project_id"
      values:
        - "count_gauge"
      query:  |
              SELECT
                name AS zone_name,<commit_msg>[designate] removed quotes in values...<commit_after># Default values for designate.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value
#
debug: "True"

tempest:
  enabled: false

sentry:
  enabled: true

global:
  dbPassword: <PASSWORD>
  image_repository: DEFINED-IN-OPENSTACK-CHART
  image_namespace: DEFINED-IN-OPENSTACK-CHART
  designate_api_endpoint_protocol_admin: http
  designate_api_endpoint_protocol_internal: http
  designate_api_endpoint_protocol_public: https
  designate_api_port_internal: '9001'
  designate_api_port_admin: '9001'
  designate_api_port_public: '443'
  designate_metrics_port: '9102'
  designate_mdns_port_public: '5354'
  designate_mdns_external_ip: DEFINED-IN-REGION-CHART
  designate_mdns_akamai_ip:
  designate_service_user: designate
  designate_service_password: <PASSWORD>

pod:
  replicas:
    api: 2
    central: 2
    mdns: 2
    poolmanager: 1
    producer: 1
    worker: 3
    sink: 1
  lifecycle:
    upgrades:
      deployments:
        revision_history: 5
        pod_replacement_strategy: RollingUpdate
        rolling_update:
          max_unavailable: 0
          max_surge: 1

# image_version_designate_api:  DEFINED-IN-REGION-CHART
# image_version_designate_central:  DEFINED-IN-REGION-CHART
# image_version_designate_mdns:  DEFINED-IN-REGION-CHART

bind_pools:
  - name: default
    nameservers:
      - hostname: DEFINED-IN-REGION-CHART
        ip:  DEFINED-IN-REGION-CHART
      - hostname: DEFINED-IN-REGION-CHART
        ip:  DEFINED-IN-REGION-CHART
      - hostname: DEFINED-IN-REGION-CHART
        ip:  DEFINED-IN-REGION-CHART
    options:
      tsig_key_name: DEFINED-IN-REGION-CHART
      tsig_key_secret: DEFINED-IN-REGION-CHART
      tsig_key_algorithm: DEFINED-IN-REGION-CHART
## Akamai Pool values if needed
#akamai_pools:
#  - name: akamai_pool
#    nameservers:
#      - hostname: DEFINED-IN-REGION-CHART
#        ip: DEFINED-IN-REGION-CHART
#    options:
#      username: DEFINED-IN-REGION-CHART
#      password: <PASSWORD>
#      tsig_key_name: DEFINED-IN-REGION-CHART
#      tsig_key_secret: DEFINED-IN-REGION-CHART
#      tsig_key_algorithm: DEFINED-IN-REGION-CHART
#    also_notifies:
#      - host: DEFINED-IN-REGION-CHART
#        port: DEFINED-IN-REGION-CHART

rndc_keys:
- name: DEFINED-IN-REGION-CHART
  algorithm: DEFINED-IN-REGION-CHART
  secret: DEFINED-IN-REGION-CHART

mariadb:
  name: designate
  initdb_configmap: designate-initdb
  persistence_claim:
    name: db-designate-pvclaim
  nodeAffinity:
    preferredDuringSchedulingIgnoredDuringExecution:
    - weight: 1
      preference:
        matchExpressions:
          - key: "failure-domain.beta.kubernetes.io/zone"
            operator: In
            values:
            - {{.Values.global.region}}a

rabbitmq:
  ## default: {{.Release.Name}}-rabbitmq.{{.Release.Namespace}}.svc.kubernetes.{{.Values.global.region}}.{{.Values.global.tld}}
  # host: rabbitmq
  users:
    default:
      user: openstack
      password: <PASSWORD>
    admin:
      user: admin
      password: <PASSWORD>

mysql_metrics:
  db_name: designate
  db_user: root
  customMetrics:
    - name: openstack_designate_zones
      help: "zones grouped by status and project"
      labels:
        - "zone_name"
        - "status"
        - "project_id"
      values:
        - "count_gauge"
      query:  |
              SELECT
                name AS zone_name,
{'fraction_non_alphanumeric': 0.09387814879906269, 'fraction_numerical': 0.008787346221441126, 'mean_word_length': 2.9382929642445212, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '2739576', 'n_tokens_mistral': 2499, 'n_tokens_neox': 2455, 'n_words': 431}