Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit a212b8d

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request #50263 from liyinan926/branch1
Automatic merge from submit-queue (batch tested with PRs 50173, 50324, 50288, 50263, 50333) Copy annotations from StatefulSet to owned ControllerRevisions **What this PR does / why we need it**: This PR starts copying annotations from a `StatefulSet`'s metadata to the `ControllerRevision`s it owns. `DaemonSet` controller copies the annotations from a `DaemonSet`s metadata to the `ControllerRevision`s it owns. One of the annotation copied is `kubernetes.io/change-cause`, which is used in `DaemonSetHistoryViewer` to fill in the `CHANGE-CAUSE` column of revision history of a `DaemonSet`. For consistency, the `StatefulSet` controller should do the same, i.e., copy annotations in a `StatefulSet`'s metadata to the `ControllerRevision`s it owns for consistency. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50158. **Special notes for your reviewer**: /assign @kow3ns **Release note**: ```release-note Copy annotations from a StatefulSet's metadata to the ControllerRevisions it owns ```
2 parents 7f023c2 + 0c7c9f1 commit a212b8d

0 file changed

File tree

    0 commit comments

    Comments
     (0)