Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
resource "kubernetes_deployment" "platform-staging" {
metadata {
name = "dispatch"
labels = {
app = "Dispatch"
}
namespace = "platform-staging"
}
spec {
replicas = 2
selector {
match_labels = {
app = "Dispatch"
}
}
template {
metadata {
labels = {
app = "Dispatch"
}
}
spec {
container {
image = "firmhouse/dispatch"
name = "dispatch"
env_from {
secret_ref {
name = "dispatch-env"
}
}
}
image_pull_secrets {
name = "dispatch-pull-credentials"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment