Skip to content

Conversation

@abyrne55
Copy link
Contributor

Summary

Updates CLAUDE.md with essential development guidance based on recent work on the project.

Changes

Added new sections covering:

Code Generation and Tooling

  • Controller-Gen Version Management: Guidance on ensuring local controller-gen version matches the version used to generate existing CRDs
  • Boilerplate and Container Tools: Overview of boilerplate update process and container-based build commands
  • Testing Workflow: Standard pre-commit testing commands

RBAC Model

  • ClusterRole: Documents cluster-scoped resources and permissions
  • Namespace-scoped Roles: Explains namespace-specific permissions for sensitive resources
  • Key Principle: Clarifies the design choice to use namespace-scoped access for sensitive resources like Secrets

Motivation

These additions provide context that's helpful for any development work on the operator, whether fixing bugs or adding features. The documentation captures important patterns and constraints that weren't previously documented.

Testing

  • ✅ CLAUDE.md syntax verified
  • ✅ Information accuracy confirmed against actual codebase structure

🤖 Generated with Claude Code

Added sections on:
- Controller-gen version management
- Boilerplate and container tools
- Testing workflow
- RBAC model (ClusterRole vs namespace-scoped Roles)

These additions provide essential context for development work.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@openshift-ci openshift-ci bot requested review from reedcort and ritmun October 21, 2025 19:54
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 21, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abyrne55

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 21, 2025
Documents when and how to add resource types to the cache configuration
to avoid RBAC errors when accessing new Kubernetes resources.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 21, 2025

@abyrne55: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant