Updating/improving kubernetes deployment and its documentation

This commit is contained in:
Alex Barcelo
2023-02-20 14:14:53 +01:00
parent 9962c849ed
commit d05b894d69
2 changed files with 15 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ spec:
secretKeyRef:
name: recipes
key: postgresql-postgres-password
image: vabene1111/recipes:1.0.1
image: vabene1111/recipes
imagePullPolicy: Always
resources:
requests:
@@ -110,7 +110,7 @@ spec:
subPath: nginx-config
readOnly: true
- name: recipes
image: vabene1111/recipes:1.0.1
image: vabene1111/recipes
imagePullPolicy: IfNotPresent
command:
- /opt/recipes/venv/bin/gunicorn
@@ -159,6 +159,8 @@ spec:
secretKeyRef:
name: recipes
key: secret-key
- name: GUNICORN_MEDIA
value: "0"
- name: DB_ENGINE
value: django.db.backends.postgresql_psycopg2
- name: POSTGRES_HOST