apiVersion: v1
kind: ConfigMap
metadata:
  name: webhook-f2nr
data:
  appsettings.json: |
    {
      "Logging": {
        "LogLevel": {
          "Default": "Information",
          "Microsoft": "Warning",
          "Microsoft.Hosting.Lifetime": "Information"
        }
      },
      "AllowedHosts": "*",

      "NewRelic": {
        "LicenseKey": "SomeKey",
        "Deployment": {
          "User": "FluxBot",
          "DefaultDescription": "Automatic deployment"
        }
      },

      "ApiKeys": [
        {
          "Id": 1,
          "Owner": "Flux-Dev",
          "Key": "8f1e9594-55cc-44dc-b76a-e084cdd57d83",
          "Created": "2021-03-05T04:38:18Z",
          "Roles": [ "Hook" ]
        }
      ],

      "Mappings": [
        { 
          "fluxPolicyName": "podinfo",
          "newRelicAppId": 992357106
        }
      ]
    }