Skip to content

Commit

Permalink
fix: nginx readonly file issue for ubi images for frontend images
Browse files Browse the repository at this point in the history
  • Loading branch information
mittal-ishaan committed Jan 16, 2025
1 parent ceba274 commit eab21fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ spec:
{{- end }}
- name: tmp
emptyDir: {}
- name: log
emptyDir: {}
{{- if and .Values.kubecostFrontend.enabled (not .Values.federatedETL.agentOnly) (not (eq (include "frontend.deployMethod" .) "haMode")) }}
- name: nginx-conf
configMap:
Expand Down Expand Up @@ -1154,6 +1156,8 @@ spec:
mountPath: /var/lib/nginx/tmp
- name: tmp
mountPath: /var/run
- name: log
mountPath: /var/log/nginx
- name: nginx-conf
mountPath: /etc/nginx/conf.d/
{{- if .Values.global.containerSecuritycontext }}
Expand Down
4 changes: 4 additions & 0 deletions cost-analyzer/templates/frontend-deployment-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ spec:
volumes:
- name: tmp
emptyDir: {}
- name: log
emptyDir: {}
- name: nginx-conf
configMap:
name: nginx-conf
Expand Down Expand Up @@ -145,6 +147,8 @@ spec:
mountPath: /var/lib/nginx/tmp
- name: tmp
mountPath: /var/run
- name: log
mountPath: /var/log/nginx
- name: nginx-conf
mountPath: /etc/nginx/conf.d/
{{- if .Values.global.containerSecuritycontext }}
Expand Down

0 comments on commit eab21fd

Please sign in to comment.