apiVersion: v1
kind: ConfigMap
metadata:
  namespace: "{{.Values.global.zenControlPlaneNamespace}}"
  name: "wml-accelerator-connection-info-extension-{{ .Values.global.zenServiceInstanceId | int64 }}"
  labels:
    icpdata_addon: "true"
    release: "{{.Release.Name}}"
data:
  extensions: |
    [
      {
        "extension_point_id": "service_instance_details",
        "extension_name": "connection-info-{{ .Values.global.zenServiceInstanceId | int64 }}",
        "display_name": "WML-Accelerator connection info",
        "match_permissions": "",
        "match_instance_id": "{{ .Values.global.zenServiceInstanceId | int64 }}",
        "meta": {},
        "details": {
          "connection-info": {
            "Console URL pattern": "https://wmla-console-<WML-Accelerator_namespace>.<router_canonical_hostname>/ui/#/"
          }
        }
      }
    ]
