k8s/http: add namespace
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
b42e20a96c
commit
ee6bbe7fca
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ let metadata
|
|||
, name = config.name
|
||||
, labels = [ kv "app" config.name ]
|
||||
, annotations = annotations config
|
||||
, namespace = "apps"
|
||||
}
|
||||
|
||||
let tls
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue