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 =
|
let deployment =
|
||||||
λ(config : Config.Type)
|
λ(config : Config.Type)
|
||||||
→ kubernetes.Deployment::{
|
→ kubernetes.Deployment::{
|
||||||
, metadata = kubernetes.ObjectMeta::{ name = config.name }
|
, metadata = kubernetes.ObjectMeta::{
|
||||||
|
, name = config.name
|
||||||
|
, namespace = "apps"
|
||||||
|
}
|
||||||
, spec = Some (spec config)
|
, spec = Some (spec config)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ let metadata
|
||||||
, name = config.name
|
, name = config.name
|
||||||
, labels = [ kv "app" config.name ]
|
, labels = [ kv "app" config.name ]
|
||||||
, annotations = annotations config
|
, annotations = annotations config
|
||||||
|
, namespace = "apps"
|
||||||
}
|
}
|
||||||
|
|
||||||
let tls
|
let tls
|
||||||
|
|
|
@ -35,6 +35,7 @@ let service
|
||||||
= λ(config : Config.Type)
|
= λ(config : Config.Type)
|
||||||
→ kubernetes.Service::{
|
→ kubernetes.Service::{
|
||||||
, metadata = kubernetes.ObjectMeta::{
|
, metadata = kubernetes.ObjectMeta::{
|
||||||
|
, namespace = "apps"
|
||||||
, name = config.name
|
, name = config.name
|
||||||
, labels = [ kv "app" config.name ]
|
, labels = [ kv "app" config.name ]
|
||||||
, annotations = annotations config
|
, annotations = annotations config
|
||||||
|
|
Loading…
Reference in New Issue