-
Notifications
You must be signed in to change notification settings - Fork 17
Gitea helm #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitea helm #174
Conversation
- 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
|
Skipping CI for Draft Pull Request. |
|
[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 |
| import ( | ||
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
| ) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop these
| k8s.io/api v0.29.0 | ||
| k8s.io/apimachinery v0.29.0 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
No description provided.