Skip to content

Commit

Permalink
[#874] Fixed Amq Broker Operator Scorecard Test Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Msarawan authored and brusdev committed Apr 19, 2024
1 parent d7babc9 commit 8762c13
Show file tree
Hide file tree
Showing 50 changed files with 3,456 additions and 41 deletions.
8 changes: 8 additions & 0 deletions api/v1alpha1/activemqartemissecurity_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,14 @@ type RoleAccessType struct {
type ActiveMQArtemisSecurityStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
10 changes: 9 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/v1beta1/activemqartemisaddress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ type QueueConfigurationType struct {
type ActiveMQArtemisAddressStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
8 changes: 8 additions & 0 deletions api/v1beta1/activemqartemisscaledown_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ type ActiveMQArtemisScaledownSpec struct {
type ActiveMQArtemisScaledownStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
8 changes: 8 additions & 0 deletions api/v1beta1/activemqartemissecurity_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,14 @@ type RoleAccessType struct {
type ActiveMQArtemisSecurityStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
27 changes: 24 additions & 3 deletions api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/v2alpha1/activemqartemis_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ type ActiveMQArtemisStatus struct {
// Important: Run "make" to regenerate code after modifying this file

PodStatus olm.DeploymentStatus `json:"podStatus"`

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
8 changes: 8 additions & 0 deletions api/v2alpha1/activemqartemisaddress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ type ActiveMQArtemisAddressSpec struct {
type ActiveMQArtemisAddressStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
8 changes: 8 additions & 0 deletions api/v2alpha1/activemqartemisscaledown_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ type ActiveMQArtemisScaledownSpec struct {
type ActiveMQArtemisScaledownStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
19 changes: 17 additions & 2 deletions api/v2alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/v2alpha2/activemqartemis_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ type ActiveMQArtemisStatus struct {
// Important: Run "make" to regenerate code after modifying this file

PodStatus olm.DeploymentStatus `json:"podStatus"`

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
9 changes: 9 additions & 0 deletions api/v2alpha2/activemqartemisaddress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ type ActiveMQArtemisAddressSpec struct {
type ActiveMQArtemisAddressStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`

}

//+kubebuilder:object:root=true
Expand Down
10 changes: 9 additions & 1 deletion api/v2alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/v2alpha3/activemqartemis_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,14 @@ type ActiveMQArtemisStatus struct {
// Important: Run "make" to regenerate code after modifying this file

PodStatus olm.DeploymentStatus `json:"podStatus"`

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
8 changes: 8 additions & 0 deletions api/v2alpha3/activemqartemisaddress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ type QueueConfigurationType struct {
type ActiveMQArtemisAddressStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
10 changes: 9 additions & 1 deletion api/v2alpha3/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/v2alpha4/activemqartemis_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ type ActiveMQArtemisStatus struct {
// Important: Run "make" to regenerate code after modifying this file

PodStatus olm.DeploymentStatus `json:"podStatus"`

// Current state of the resource
// Conditions represent the latest available observations of an object's state
//+optional
//+patchMergeKey=type
//+patchStrategy=merge
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions"
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}

//+kubebuilder:object:root=true
Expand Down
Loading

0 comments on commit 8762c13

Please sign in to comment.