apiVersion: v1
kind: ConfigMap
metadata:
  name: curator-config
  namespace: argo
data:
  action_file.yml.template: |-
    ---
    # Remember, leave a key empty if there is no value.  None will be a string,
    # not a Python "NoneType"
    #
    # Also remember that all examples have 'disable_action' set to True.  If you
    # want to use this action as a template, be sure to set this to False after
    # copying it.
    actions:
      1:
        action: delete_indices
        description: "Clean up ${SCOPE} scope"
        options:
          timeout_override:
          continue_if_exception: False
          disable_action: False
          ignore_empty_list: True
        filters:
        - filtertype: pattern
          kind: prefix
          value: ${SCOPE}
  config.yml: |-
    ---
    # Remember, leave a key empty if there is no value.  None will be a string,
    # not a Python "NoneType"
    client:
      hosts:
        - search-dev-es-http.elastic-system
      port: 9200
      use_ssl: False
      http_auth: elastic:virtodevpass
      certificate:
      client_cert:
      client_key:
      ssl_no_validate: False
      timeout: 30
      master_only: False
    logging:
      loglevel: INFO
      logfile:
      logformat: default
      blacklist: ['elasticsearch', 'urllib3']