Remove metadata.name from podTemplate

makes it more in-line with a normal Kubernetes deployment example
This commit is contained in:
Arian van Putten 2020-08-12 14:56:43 +02:00 committed by GitHub
parent c0586bcce5
commit 38758ff30f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ let deployment =
}
, template = kubernetes.PodTemplateSpec::{
, metadata = kubernetes.ObjectMeta::{
, name = Some "nginx"
, labels = Some (toMap { app = "nginx" })
}
, spec = Some kubernetes.PodSpec::{