Commit Graph

2 Commits

Author SHA1 Message Date
caliskanugur d3471575e7 Add rbac, cluster.cattle.io and batch controllers and to the new
context, add missing sessions for controllers
2025-02-21 10:58:09 -05:00
Daniel Newman bc4c88e032 Added Apps interface to Wrangler context
Replace imports with shepherd packages and added test session

Generate k8s Apps/v1 controller

Fixed missing argument

Refactor package import paths and remove unused variable

The import paths for "controllers/core" and "controllers/core/v1" have been changed from "github.com/rancher/wrangler/v2/pkg/generated" to "github.com/rancher/shepherd/pkg/generated". Also, the unused variable `opt` has been removed from the file, and factory creation logic has been modified to use `opts` instead of the removed `opt`.

Add LimitRange and ResourceQuota interfaces and controllers

This commit introduced interfaces and controllers for LimitRange and ResourceQuota. It also updated the generated controllers for core API types including Event, Node, Namespace, Pod, Service, Secret, and more. The change is part of expanding the capability of the Dynamic REST Mapper by integrating these core Kubernetes resource types.

Generated core/v1 controllers

Added corev1 controller code generation

Temporarily commented out client generation code.
2024-06-12 21:34:08 -05:00