mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-11-03 21:05:47 +03:00
f8be1d55bc
This adds a high level API (+ tests) for: - Deployment.v1 - Service.v1
18 lines
329 B
Plaintext
18 lines
329 B
Plaintext
let config =
|
|
../api/Deployment/default
|
|
//
|
|
{ name = "nginx"
|
|
, replicas = 2
|
|
, containers =
|
|
[ ../api/Deployment/defaultContainer
|
|
//
|
|
{ name = "nginx"
|
|
, imageName = "nginx"
|
|
, imageTag = "1.15.3"
|
|
, port = [ 80 ] : Optional Natural
|
|
}
|
|
]
|
|
}
|
|
|
|
in ../api/Deployment/mkDeployment config
|