{
  "properties": {
    "apiVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "properties": {
        "bearerToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "default_url": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "disable_secret_creation": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "discover_backend_ips": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "drop_src_path_prefix_parts": {
          "type": [
            "integer",
            "null"
          ]
        },
        "dump_request_on_errors": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "generatePassword": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "headers": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "ip_filters": {
          "additionalProperties": false,
          "properties": {
            "allow_list": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "deny_list": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "jwt": {
          "additionalProperties": false,
          "properties": {
            "matchClaims": {
              "additionalProperties": {
                "type": "string"
              },
              "type": [
                "object",
                "null"
              ]
            },
            "oidc": {
              "additionalProperties": false,
              "properties": {
                "issuer": {
                  "type": "string"
                }
              },
              "required": [
                "issuer"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "publicKeyRefs": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "default": "",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "optional": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "key"
                ],
                "type": "object",
                "x-kubernetes-map-type": "atomic"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "publicKeys": {
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "skipVerify": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "load_balancing_policy": {
          "enum": [
            "least_loaded",
            "first_available"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "managedMetadata": {
          "additionalProperties": false,
          "properties": {
            "annotations": {
              "additionalProperties": {
                "type": "string"
              },
              "type": [
                "object",
                "null"
              ]
            },
            "labels": {
              "additionalProperties": {
                "type": "string"
              },
              "type": [
                "object",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "max_concurrent_requests": {
          "type": [
            "integer",
            "null"
          ]
        },
        "metric_labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": [
            "object",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "password": {
          "type": [
            "string",
            "null"
          ]
        },
        "passwordRef": {
          "additionalProperties": false,
          "properties": {
            "key": {
              "type": "string"
            },
            "name": {
              "default": "",
              "type": [
                "string",
                "null"
              ]
            },
            "optional": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "response_headers": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "retry_status_codes": {
          "items": {
            "type": "integer"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "targetRefs": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "crd": {
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "enum": [
                      "VMAgent",
                      "VMAlert",
                      "VMSingle",
                      "VLogs",
                      "VMAlertManager",
                      "VMAlertmanager",
                      "VMCluster/vmselect",
                      "VMCluster/vmstorage",
                      "VMCluster/vminsert",
                      "VLSingle",
                      "VLCluster/vlinsert",
                      "VLCluster/vlselect",
                      "VLCluster/vlstorage",
                      "VLAgent",
                      "VTCluster/vtinsert",
                      "VTCluster/vtselect",
                      "VTCluster/vtstorage",
                      "VTSingle"
                    ],
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "namespace": {
                    "type": "string"
                  },
                  "objects": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "namespace": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "namespace"
                      ],
                      "type": "object"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "required": [
                  "kind",
                  "name",
                  "namespace"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "discover_backend_ips": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "drop_src_path_prefix_parts": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "headers": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "hosts": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "load_balancing_policy": {
                "enum": [
                  "least_loaded",
                  "first_available"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "paths": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "query_args": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "values": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "name",
                    "values"
                  ],
                  "type": "object"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "response_headers": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "retry_status_codes": {
                "items": {
                  "type": "integer"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "src_headers": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "src_query_args": {
                "items": {
                  "type": "string"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "static": {
                "additionalProperties": false,
                "properties": {
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "urls": {
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "targetRefBasicAuth": {
                "additionalProperties": false,
                "properties": {
                  "password": {
                    "additionalProperties": false,
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "name": {
                        "default": "",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "optional": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "key"
                    ],
                    "type": "object",
                    "x-kubernetes-map-type": "atomic"
                  },
                  "username": {
                    "additionalProperties": false,
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "name": {
                        "default": "",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "optional": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "key"
                    ],
                    "type": "object",
                    "x-kubernetes-map-type": "atomic"
                  }
                },
                "required": [
                  "password",
                  "username"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "target_path_suffix": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "tlsConfig": {
          "additionalProperties": false,
          "properties": {
            "ca": {
              "additionalProperties": false,
              "properties": {
                "configMap": {
                  "additionalProperties": false,
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "optional": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "secret": {
                  "additionalProperties": false,
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "optional": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "caFile": {
              "type": [
                "string",
                "null"
              ]
            },
            "cert": {
              "additionalProperties": false,
              "properties": {
                "configMap": {
                  "additionalProperties": false,
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "optional": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                },
                "secret": {
                  "additionalProperties": false,
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "default": "",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "optional": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "key"
                  ],
                  "type": [
                    "object",
                    "null"
                  ],
                  "x-kubernetes-map-type": "atomic"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "certFile": {
              "type": [
                "string",
                "null"
              ]
            },
            "insecureSkipVerify": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "keyFile": {
              "type": [
                "string",
                "null"
              ]
            },
            "keySecret": {
              "additionalProperties": false,
              "properties": {
                "key": {
                  "type": "string"
                },
                "name": {
                  "default": "",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "optional": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "required": [
                "key"
              ],
              "type": [
                "object",
                "null"
              ],
              "x-kubernetes-map-type": "atomic"
            },
            "serverName": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "tokenRef": {
          "additionalProperties": false,
          "properties": {
            "key": {
              "type": "string"
            },
            "name": {
              "default": "",
              "type": [
                "string",
                "null"
              ]
            },
            "optional": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "key"
          ],
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-map-type": "atomic"
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "targetRefs"
      ],
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "conditions": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "lastTransitionTime": {
                "format": "date-time",
                "type": "string"
              },
              "lastUpdateTime": {
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "maxLength": 32768,
                "type": [
                  "string",
                  "null"
                ]
              },
              "observedGeneration": {
                "format": "int64",
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reason": {
                "maxLength": 1024,
                "minLength": 1,
                "type": "string"
              },
              "status": {
                "enum": [
                  "True",
                  "False",
                  "Unknown"
                ],
                "type": "string"
              },
              "type": {
                "maxLength": 316,
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "lastUpdateTime",
              "reason",
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ],
          "x-kubernetes-list-map-keys": [
            "type"
          ],
          "x-kubernetes-list-type": "map"
        },
        "observedGeneration": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "updateStatus": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}