diff --git a/k8s/http/deployment.dhall b/k8s/http/deployment.dhall index c079e9e..5ea6397 100644 --- a/k8s/http/deployment.dhall +++ b/k8s/http/deployment.dhall @@ -44,7 +44,10 @@ let spec = let deployment = λ(config : Config.Type) → kubernetes.Deployment::{ - , metadata = kubernetes.ObjectMeta::{ name = config.name } + , metadata = kubernetes.ObjectMeta::{ + , name = config.name + , namespace = "apps" + } , spec = Some (spec config) } diff --git a/k8s/http/ingress.dhall b/k8s/http/ingress.dhall index 2e1dfe7..1c9cf09 100644 --- a/k8s/http/ingress.dhall +++ b/k8s/http/ingress.dhall @@ -22,6 +22,7 @@ let metadata , name = config.name , labels = [ kv "app" config.name ] , annotations = annotations config + , namespace = "apps" } let tls diff --git a/k8s/http/service.dhall b/k8s/http/service.dhall index cdc561f..7f83e5e 100644 --- a/k8s/http/service.dhall +++ b/k8s/http/service.dhall @@ -35,6 +35,7 @@ let service = λ(config : Config.Type) → kubernetes.Service::{ , metadata = kubernetes.ObjectMeta::{ + , namespace = "apps" , name = config.name , labels = [ kv "app" config.name ] , annotations = annotations config