Skip to content

Commit

Permalink
Merge 1dcbeed into bec52bb
Browse files Browse the repository at this point in the history
  • Loading branch information
gXkch committed Mar 14, 2024
2 parents bec52bb + 1dcbeed commit 2a7dc84
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions k8s/squest_k8s/tasks/05-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@
service: django
spec:
serviceAccountName: squest-sa
securityContext:
fsGroup: 999
dnsConfig:
options:
- name: ndots
Expand Down Expand Up @@ -260,6 +262,11 @@
envFrom:
- configMapRef:
name: django-env
volumeMounts:
- mountPath: /app/media
name: django-media
- mountPath: /app/Squest/ldap_config.py
name: ldap-config
- name: nginx
image: nginx:1.23.4-alpine
command: ["nginx", "-c", "/etc/nginx/squest/nginx.conf"]
Expand All @@ -268,10 +275,13 @@
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/squest
readOnly: true
- mountPath: /app/static
name: django-static
- mountPath: /app/Squest/ldap_config.py
name: ldap-config
readOnly: true
- name: django-media
mountPath: /app/media
readOnly: true
restartPolicy: Always
volumes:
- name: django-media
Expand Down

0 comments on commit 2a7dc84

Please sign in to comment.