Skip to content

Commit

Permalink
Merge pull request #3810 from kubecost/ubi_images_access_issue
Browse files Browse the repository at this point in the history
fix: nginx read only file issue for ubi  images for frontend images
  • Loading branch information
jessegoodier authored Jan 27, 2025
2 parents 02babc7 + 45f56fc commit 40df589
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 @@ -1182,6 +1184,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 40df589

Please sign in to comment.