Skip to content

Conversation

@mbaldessari
Copy link
Contributor

No description provided.

- Added namespaces and secrets RBAC to the giteaserver_controller.go
  - //+kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;create
  - //+kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch;create;update;patch;delete
- Fixed issues with isChartDeployed function
- Updated pattern_controller.go to use ReconcileLoopRequeueTime from defaults
- Added route scheme to main.go
- Added getRoute function to kube.go
- Updated isChartDeployed function
- Added updateGiteaServerCRDetails function
- Added finalizeObject function
- Added finalizer code to reconciler
- Updated default variable name for Repo_Url
…deletion of namespaces

- Added new deleteNamespace function
- Updated finalizer logic in the giteaserver_controller
- Added constants to defaults to fix lint issues
- Added nolint directives to fix lint issues
- Added return types to helm functions
- Renamed function arguments to correct lint errors
- Renamed debug function to debugf per lint suggestions
…utes

- Added Version to the GiteaServer CRD
- Added logic for the gitea_admin password as an override to the main gitea chart
- Added default value for the gitea chart version.
- Added version as an argument to the Helm InstallChart function.
- Added the generateStringPassword function in utils.
- Updated use of default values in controllers and util functions
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 31, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbaldessari

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drop these

Comment on lines +22 to +23
k8s.io/api v0.29.0
k8s.io/apimachinery v0.29.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed as it will be replaced below anyway

github.com/onsi/ginkgo/v2 v2.13.2
github.com/onsi/gomega v1.30.0
github.com/openshift/api v0.0.0-20231130225947-f2209623068b
github.com/openshift/api v0.0.0-20240118221011-59fa376de7cb
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this update needed? If not best keep it for a separate pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants