k8s/http: add namespace better
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Cadey Ratio 2020-01-24 00:00:52 +00:00
parent ee6bbe7fca
commit 81d091659f
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ let deployment =
→ kubernetes.Deployment::{
, metadata = kubernetes.ObjectMeta::{
, name = config.name
, namespace = "apps"
, namespace = Some "apps"
}
, spec = Some (spec config)
}

View File

@ -22,7 +22,7 @@ let metadata
, name = config.name
, labels = [ kv "app" config.name ]
, annotations = annotations config
, namespace = "apps"
, namespace = Some "apps"
}
let tls

View File

@ -35,7 +35,7 @@ let service
= λ(config : Config.Type)
→ kubernetes.Service::{
, metadata = kubernetes.ObjectMeta::{
, namespace = "apps"
, namespace = Some "apps"
, name = config.name
, labels = [ kv "app" config.name ]
, annotations = annotations config