Merge pull request #20765 from janetkuo/remove-podtemplate-key
Auto commit by PR queue bot
This commit is contained in:
@@ -101,7 +101,6 @@ func newDeployment(deploymentName string, replicas int, podLabels map[string]str
|
||||
Type: strategyType,
|
||||
},
|
||||
RevisionHistoryLimit: revisionHistoryLimit,
|
||||
UniqueLabelKey: extensions.DefaultDeploymentUniqueLabelKey,
|
||||
Template: api.PodTemplateSpec{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Labels: podLabels,
|
||||
|
||||
@@ -1527,7 +1527,6 @@ func (config *DeploymentConfig) create() error {
|
||||
Selector: map[string]string{
|
||||
"name": config.Name,
|
||||
},
|
||||
UniqueLabelKey: extensions.DefaultDeploymentUniqueLabelKey,
|
||||
Template: api.PodTemplateSpec{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Labels: map[string]string{"name": config.Name},
|
||||
|
||||
Reference in New Issue
Block a user