2024-11-18 17:08:23 +00:00
parent d2943fff6d
commit 8890d057cb
2 changed files with 67 additions and 14 deletions
+19 -8
View File
@@ -31,23 +31,34 @@ kubernetes = {
requests-cpu = "25m"
requests-memory = "25Mi"
}
environment_variables = { PORT = 80 }
pvc = {
first = {
name = "onitama"
pvc_size = "1Mi"
mount_path = "/code"
# environment_variables = { PORT = 80, test = 22 }
environment = {
MY_VAR = {
name = "MY_VAR"
value_from = {
secret_key_ref = {
name = "my_secret"
key = "latest"
}
}
}
second = {
}
pvc = {
onitamadeux = {
name = "onitamadeux"
pvc_size = "2Mi"
mount_path = "/deuxcode"
}
onitama = {
name = "onitama"
pvc_size = "1Mi"
mount_path = "/code"
}
}
}
nginx = {
enabled = true
enabled = false
namespace = "testnginx"
#image = "localhost:31795/django-python"
image = "nginx:latest"