github.com/alex123012/deckhouse-controller-tools@v0.0.0-20230510090815-d594daf1af8c/pkg/rbac/testdata/README.md (about)

     1  # RBAC Integration Test testdata
     2  
     3  This contains a tiny module used for testdata for the RBAC integration
     4  test.  The directory should always be called testdata, so Go treats it
     5  specially.
     6  
     7  If you add a new marker, re-generate the golden output file,
     8  `role.yaml`, with:
     9  
    10  ```bash
    11  $ /path/to/current/build/of/controller-gen rbac:roleName=manager-role paths=. output:dir=.
    12  ```
    13  
    14  Make sure you review the diff to ensure that it only contains the desired
    15  changes!
    16  
    17  If you didn't add a new marker and this output changes, make sure you have
    18  a good explanation for why generated output needs to change!