k8s/http: add namespace better
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ee6bbe7fca
commit
81d091659f
|
@ -46,7 +46,7 @@ let deployment =
|
||||||
→ kubernetes.Deployment::{
|
→ kubernetes.Deployment::{
|
||||||
, metadata = kubernetes.ObjectMeta::{
|
, metadata = kubernetes.ObjectMeta::{
|
||||||
, name = config.name
|
, name = config.name
|
||||||
, namespace = "apps"
|
, namespace = Some "apps"
|
||||||
}
|
}
|
||||||
, spec = Some (spec config)
|
, spec = Some (spec config)
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +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"
|
, namespace = Some "apps"
|
||||||
}
|
}
|
||||||
|
|
||||||
let tls
|
let tls
|
||||||
|
|
|
@ -35,7 +35,7 @@ let service
|
||||||
= λ(config : Config.Type)
|
= λ(config : Config.Type)
|
||||||
→ kubernetes.Service::{
|
→ kubernetes.Service::{
|
||||||
, metadata = kubernetes.ObjectMeta::{
|
, metadata = kubernetes.ObjectMeta::{
|
||||||
, namespace = "apps"
|
, namespace = Some "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