add args arg
Gitea/photolib/pipeline/head This commit looks good Details

This commit is contained in:
dave 2024-04-05 12:57:31 -07:00
parent 2e588149be
commit 7ddb2b933c
1 changed files with 5 additions and 14 deletions

View File

@ -76,20 +76,10 @@ variable "thumbservice_password" {
type = string
}
locals {
requests = defaults(var.requests,
{
cpu = "250m"
memory = "50Mi"
}
)
limits = defaults(var.limits,
{
cpu = "1"
memory = "512Mi"
}
)
variable "photolib_args" {
type = list(string)
description = "additional arguments for the photolib daemon"
default = []
}
@ -127,6 +117,7 @@ resource "kubernetes_deployment" "photolib" {
container {
name = "web"
image = var.image
args = var.photolib_args
env {
name = "DATABASE_URL"