Remove UniqueLabelKey from deployment spec
This commit is contained in:
@@ -159,9 +159,8 @@ func generateDeployment(image string) extensions.Deployment {
|
||||
Name: image,
|
||||
},
|
||||
Spec: extensions.DeploymentSpec{
|
||||
Replicas: 1,
|
||||
Selector: podLabels,
|
||||
UniqueLabelKey: "deployment.kubernetes.io/podTemplateHash",
|
||||
Replicas: 1,
|
||||
Selector: podLabels,
|
||||
Template: api.PodTemplateSpec{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Labels: podLabels,
|
||||
|
Reference in New Issue
Block a user