| --- |
| apiVersion: apiextensions.k8s.io/v1 |
| kind: CustomResourceDefinition |
| metadata: |
| annotations: |
| controller-gen.kubebuilder.io/version: v0.17.2 |
| name: pluginconfigs.apisix.apache.org |
| spec: |
| group: apisix.apache.org |
| names: |
| kind: PluginConfig |
| listKind: PluginConfigList |
| plural: pluginconfigs |
| singular: pluginconfig |
| scope: Namespaced |
| versions: |
| - name: v1alpha1 |
| schema: |
| openAPIV3Schema: |
| description: PluginConfig defines plugin configuration. |
| properties: |
| apiVersion: |
| description: |- |
| APIVersion defines the versioned schema of this representation of an object. |
| Servers should convert recognized schemas to the latest internal value, and |
| may reject unrecognized values. |
| More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| type: string |
| kind: |
| description: |- |
| Kind is a string value representing the REST resource this object represents. |
| Servers may infer this from the endpoint the client submits requests to. |
| Cannot be updated. |
| In CamelCase. |
| More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| type: string |
| metadata: |
| type: object |
| spec: |
| description: |- |
| PluginConfigSpec defines the desired state of a PluginConfig, |
| in which plugins and their configuration are specified. |
| properties: |
| plugins: |
| description: Plugins are an array of plugins and their configuration |
| to be applied. |
| items: |
| properties: |
| config: |
| description: Config is plugin configuration details. |
| x-kubernetes-preserve-unknown-fields: true |
| name: |
| description: Name is the name of the plugin. |
| type: string |
| required: |
| - name |
| type: object |
| type: array |
| required: |
| - plugins |
| type: object |
| type: object |
| served: true |
| storage: true |