diff --git a/examples/deployment.dhall b/examples/deployment.dhall index 54a13979..e105d454 100644 --- a/examples/deployment.dhall +++ b/examples/deployment.dhall @@ -22,7 +22,6 @@ let deployment = } , template = kubernetes.PodTemplateSpec::{ , metadata = kubernetes.ObjectMeta::{ - , name = Some "nginx" , labels = Some (toMap { app = "nginx" }) } , spec = Some kubernetes.PodSpec::{ diff --git a/examples/deploymentSimple.dhall b/examples/deploymentSimple.dhall index aed387f5..53c0835f 100644 --- a/examples/deploymentSimple.dhall +++ b/examples/deploymentSimple.dhall @@ -10,7 +10,9 @@ let deployment = } , replicas = Some 2 , template = kubernetes.PodTemplateSpec::{ - , metadata = kubernetes.ObjectMeta::{ name = Some "nginx" } + , metadata = kubernetes.ObjectMeta::{ + , labels = Some (toMap { name = "nginx" }) + } , spec = Some kubernetes.PodSpec::{ , containers = [ kubernetes.Container::{