Skip to content

Commit

Permalink
chore: KongPluginBinding printColumn fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <[email protected]>
  • Loading branch information
mlavacca committed Aug 27, 2024
1 parent bf0381f commit ea78e14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/configuration/v1alpha1/kongpluginbinding_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Plugin-kind",type=string,JSONPath=`.spec.pluginReference.kind`,description="Kind of the plugin"
// +kubebuilder:printcolumn:name="Plugin-name",type=string,JSONPath=`.spec.pluginReference.name`,description="Name of the plugin"
// +kubebuilder:printcolumn:name="Plugin-kind",type=string,JSONPath=`.spec.pluginRef.kind`,description="Kind of the plugin"
// +kubebuilder:printcolumn:name="Plugin-name",type=string,JSONPath=`.spec.pluginRef.name`,description="Name of the plugin"
// +kubebuilder:printcolumn:name="Programmed",description="The Resource is Programmed",type=string,JSONPath=`.status.conditions[?(@.type=='Programmed')].status`
type KongPluginBinding struct {
metav1.TypeMeta `json:",inline"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ spec:
versions:
- additionalPrinterColumns:
- description: Kind of the plugin
jsonPath: .spec.pluginReference.kind
jsonPath: .spec.pluginRef.kind
name: Plugin-kind
type: string
- description: Name of the plugin
jsonPath: .spec.pluginReference.name
jsonPath: .spec.pluginRef.name
name: Plugin-name
type: string
- description: The Resource is Programmed
Expand Down

0 comments on commit ea78e14

Please sign in to comment.