Skip to content

Commit

Permalink
Add volume for nginx-gate for read-only mode (#220)
Browse files Browse the repository at this point in the history
* Add volume for nginx-gate for read-only mode
  • Loading branch information
bhushanthakur93 authored Jun 25, 2024
1 parent 88b8ab0 commit 7a76c85
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions openshift/app-interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ objects:
- app-interface
topologyKey: topology.kubernetes.io/zone
weight: 100
volumes:
- name: var-cache-nginx
emptyDir:
medium: Memory
- name: tmp
emptyDir:
medium: Memory
containers:
- image: ${IMAGE_GATE}:${IMAGE_GATE_TAG}
imagePullPolicy: Always
Expand All @@ -83,6 +90,11 @@ objects:
name: app-interface
- name: BASIC_AUTH_DISABLE
value: ${IMAGE_GATE_AUTH_DISABLE}
volumeMounts:
- name: var-cache-nginx
mountPath: /var/cache/nginx
- name: tmp
mountPath: /tmp
ports:
- name: nginx-gate-port
containerPort: 8080
Expand All @@ -107,6 +119,7 @@ objects:
timeoutSeconds: 1
initialDelaySeconds: 10
resources: "${{GATE_RESOURCES}}"

- image: ${IMAGE_RELOADER}:${IMAGE_RELOADER_TAG}
imagePullPolicy: Always
name: s3-reloader
Expand Down

0 comments on commit 7a76c85

Please sign in to comment.