• Kubernetes Submit Queue's avatar
    Merge pull request #36251 from screeley44/k8-immutable-scannotation · 1b2a4b55
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Make pvc storage class annotation immutable after create
    
    Fixes #34516
    
    Added immutable check in validation.go
    
    ```
    # Please edit the object below. Lines beginning with a '#' will be ignored,
    # and an empty file will abort the edit. If an error occurs while saving this file will be
    # reopened with the relevant failures.
    #
    # persistentvolumeclaims "gce-claim-storageclass" was not valid:
    # * metadata.annotations.volume.beta.kubernetes.io/storage-class: Invalid value: "slow2": field is immutable
    #
    
    ```
    1b2a4b55
Name
Last commit
Last update
..
path Loading commit data...
testdata/v1 Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
events.go Loading commit data...
events_test.go Loading commit data...
schema.go Loading commit data...
schema_test.go Loading commit data...
validation.go Loading commit data...
validation_test.go Loading commit data...