• Kubernetes Submit Queue's avatar
    Merge pull request #51538 from kow3ns/less-ugly-names · 52e3fdac
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 51553, 51538, 51663, 51069, 51737)
    
    Consistent Names for ControllerRevisions, ReplicaSets, and objects using GenerateName
    
    **What this PR does / why we need it**:
    Adds the rand.SafeEncodeString function and uses this function to generate names for ReplicaSets and ControllerRevisions.
    
    ```release-note
    The names generated for ControllerRevision and ReplicaSet are consistent with the GenerateName functionality of the API Server and will not contain "bad words".
    ```
    52e3fdac
update.go 14.7 KB