Add ServiceAccount as an alias for ServiceAccountName

This commit is contained in:
Max Forbes
2015-07-16 12:02:12 -07:00
parent f3b752d831
commit 7a3891e5f8
6 changed files with 189 additions and 127 deletions

View File

@@ -1311,6 +1311,7 @@ func deepCopy_v1_PodSpec(in PodSpec, out *PodSpec, c *conversion.Cloner) error {
out.NodeSelector = nil
}
out.ServiceAccountName = in.ServiceAccountName
out.DeprecatedServiceAccount = in.DeprecatedServiceAccount
out.NodeName = in.NodeName
out.HostNetwork = in.HostNetwork
if in.ImagePullSecrets != nil {