mirror of https://github.com/pulumi/pulumi.git
36 lines
609 B
Puppet
36 lines
609 B
Puppet
resource argocd_serverDeployment "kubernetes:apps/v1:Deployment" {
|
|
apiVersion = "apps/v1"
|
|
kind = "Deployment"
|
|
metadata = {
|
|
"name" = "argocd-server"
|
|
}
|
|
spec = {
|
|
"selector" = {
|
|
"matchLabels" = {
|
|
"app" = "server"
|
|
}
|
|
}
|
|
"replicas" = 1
|
|
"template" = {
|
|
"metadata" = {
|
|
"labels" = {
|
|
"app" = "server"
|
|
}
|
|
}
|
|
"spec" = {
|
|
"containers" = [
|
|
{
|
|
"name" = "nginx"
|
|
"image" = "nginx"
|
|
"ports" = [
|
|
{
|
|
"containerPort" = 80
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|