Skip to content

Commit

Permalink
Merge pull request #353 from brandisher/convert-todos-to-jiras
Browse files Browse the repository at this point in the history
OCPVE-308: Convert todos to jiras
  • Loading branch information
suleymanakbas91 authored May 30, 2023
2 parents 6daa5fb + 7f96143 commit cd91081
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
# working-directory: somedir

# Optional: golangci-lint command line arguments.
# TODO: remove --skip-files once logic is implemented
# NO_FUTURE args from https://github.com/golangci/golangci-lint-action/issues/119
args: >
--out-${NO_FUTURE}format colored-line-number -E gosec --timeout=6m --skip-files
Expand Down
5 changes: 0 additions & 5 deletions api/v1alpha1/lvmcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ type DeviceClass struct {
// +optional
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`

// TODO: add support for various LVM settings
// // Config for this deviceClass, lvm settings are a field here
// // +optional
// Config *DeviceClassConfig `json:"config,omitempty"`

// ThinPoolConfig contains configurations for the thin-pool
// +kubebuilder:validation:Required
// +required
Expand Down
5 changes: 0 additions & 5 deletions api/v1alpha1/lvmvolumegroup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ type LVMVolumeGroupSpec struct {
// +optional
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`

// TODO: add support for various LVM settings
// // Config for this deviceClass, lvm settings are a field here
// // +optional
// Config *DeviceClassConfig `json:"config,omitempty"`

// ThinPoolConfig contains configurations for the thin-pool
// +kubebuilder:validation:Required
// +required
Expand Down
4 changes: 0 additions & 4 deletions controllers/lvmcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ type LVMClusterReconciler struct {

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
// TODO(user): Modify the Reconcile function to compare the state specified by
// the LVMCluster object against the actual cluster state, and then
// perform operations to make the cluster state reflect the state specified by
// the user.
//
// For more details, check Reconcile and its Result here:
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
Expand Down
1 change: 0 additions & 1 deletion controllers/topolvm_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ func getControllerDeployment(lvmCluster *lvmv1alpha1.LVMCluster, namespace strin
{Name: "certs", VolumeSource: corev1.VolumeSource{EmptyDir: &corev1.EmptyDirVolumeSource{}}},
}

// TODO: Remove custom generation of TLS certs, current it's being used in topolvm controller manager
initContainers := []corev1.Container{
initContainer(initImage),
}
Expand Down
1 change: 0 additions & 1 deletion pkg/vgmanager/lvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ func (vg VolumeGroup) Delete(exec internal.Executor) error {
func GetVolumeGroup(exec internal.Executor, name string) (*VolumeGroup, error) {
res := new(vgsOutput)

// TODO: Check if `vgs <vg_name> --reportformat json` can be used to filter out the exact volume group name.
args := []string{
"vgs", "--units", "g", "--reportformat", "json",
}
Expand Down

0 comments on commit cd91081

Please sign in to comment.