Skip to content

Commit

Permalink
Add apisix CRDs (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
noorul authored Mar 19, 2023
1 parent b23a512 commit 6d73d12
Show file tree
Hide file tree
Showing 12 changed files with 3,187 additions and 0 deletions.
56 changes: 56 additions & 0 deletions apisix.apache.org/apisixclusterconfig_v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"properties": {
"admin": {
"type": "object",
"required": [
"baseURL"
],
"properties": {
"baseURL": {
"type": "string",
"pattern": "https?://[^:]+:(\\d+)"
},
"adminKey": {
"type": "string"
}
},
"additionalProperties": false
},
"monitoring": {
"type": "object",
"properties": {
"prometheus": {
"type": "object",
"properties": {
"enable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"skywalking": {
"type": "object",
"properties": {
"enable": {
"type": "boolean"
},
"sampleRatio": {
"type": "number",
"minimum": 1e-05,
"maximum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}
}
56 changes: 56 additions & 0 deletions apisix.apache.org/apisixclusterconfig_v2beta3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"properties": {
"admin": {
"type": "object",
"required": [
"baseURL"
],
"properties": {
"baseURL": {
"type": "string",
"pattern": "https?://[^:]+:(\\d+)"
},
"adminKey": {
"type": "string"
}
},
"additionalProperties": false
},
"monitoring": {
"type": "object",
"properties": {
"prometheus": {
"type": "object",
"properties": {
"enable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"skywalking": {
"type": "object",
"properties": {
"enable": {
"type": "boolean"
},
"sampleRatio": {
"type": "number",
"minimum": 1e-05,
"maximum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}
}
Loading

0 comments on commit 6d73d12

Please sign in to comment.