Skip to content

Commit

Permalink
Merge pull request #18 from razo7/crd-csv-fix
Browse files Browse the repository at this point in the history
Add operator-sdk annotations - FAR resources
  • Loading branch information
openshift-merge-robot authored Mar 5, 2023
2 parents 3275aa7 + c8fc073 commit c07b39e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/fenceagentsremediation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type FenceAgentsRemediationStatus struct {
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

// +operator-sdk:csv:customresourcedefinitions:resources={{"FenceAgentsRemediation","v1alpha1","fenceagentsremediations"}}
// FenceAgentsRemediation is the Schema for the fenceagentsremediations API
type FenceAgentsRemediation struct {
metav1.TypeMeta `json:",inline"`
Expand All @@ -61,7 +62,6 @@ type FenceAgentsRemediation struct {

// +kubebuilder:object:root=true
// FenceAgentsRemediationList contains a list of FenceAgentsRemediation
// +operator-sdk:csv:customresourcedefinitions:resources={{"FenceAgentsRemediation","v1alpha1","fenceagentsremediations"}}
type FenceAgentsRemediationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ spec:
displayName: Fence Agents Remediation
kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
resources:
- kind: FenceAgentsRemediation
name: fenceagentsremediations
version: v1alpha1
specDescriptors:
- description: Agent is the type of fence agent that will be used
displayName: Agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
displayName: Fence Agents Remediation
kind: FenceAgentsRemediation
name: fenceagentsremediations.fence-agents-remediation.medik8s.io
resources:
- kind: FenceAgentsRemediation
name: fenceagentsremediations
version: v1alpha1
specDescriptors:
- description: Agent is the type of fence agent that will be used
displayName: Agent
Expand Down

0 comments on commit c07b39e

Please sign in to comment.