Skip to content

Commit

Permalink
Add apisix global ruls CRD (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
codifierr authored Apr 7, 2023
1 parent d20f904 commit e93ece1
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions apisix.apache.org/apisixglobalrule_v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"properties": {
"spec": {
"properties": {
"ingressClassName": {
"type": "string"
},
"plugins": {
"items": {
"properties": {
"config": {
"type": "object",
"x-kubernetes-preserve-unknown-fields": true
},
"enable": {
"type": "boolean"
},
"name": {
"minLength": 1,
"type": "string"
},
"secretRef": {
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"required": [
"name",
"enable"
],
"type": "array"
}
},
"required": [
"plugins"
],
"type": "object",
"additionalProperties": false
},
"status": {
"properties": {
"conditions": {
"items": {
"properties": {
"message": {
"type": "string"
},
"observedGeneration": {
"type": "integer"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}

0 comments on commit e93ece1

Please sign in to comment.