Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tests/templates/kuttl/iceberg-hive/20_garage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ data:
# Garage terminates no TLS on any endpoint, so nginx does it and forwards to
# Garage on loopback. Mounted over /etc/nginx/nginx.conf, hence the full file.
nginx.conf: |
# OpenShift runs the container as an arbitrary UID, which may not write to
# /run. This file replaces the one in the image, so it must be set here.
pid /tmp/nginx.pid;

events {}
http {
server {
Expand Down Expand Up @@ -137,6 +141,11 @@ spec:
subPath: nginx.conf
- name: tls
mountPath: /stackable/tls
# nginx creates its temp dirs here on startup even though the proxy
# buffering above is off, and the image owns /var/cache/nginx by the
# image UID, not the arbitrary one OpenShift assigns.
- name: nginx-cache
mountPath: /var/cache/nginx
resources:
requests:
cpu: 100m
Expand All @@ -147,6 +156,8 @@ spec:
name: garage
- name: data
emptyDir: {}
- name: nginx-cache
emptyDir: {}
- name: tls
ephemeral:
volumeClaimTemplate:
Expand Down
11 changes: 11 additions & 0 deletions tests/templates/kuttl/iceberg-rest/20_garage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ data:
# Garage terminates no TLS on any endpoint, so nginx does it and forwards to
# Garage on loopback. Mounted over /etc/nginx/nginx.conf, hence the full file.
nginx.conf: |
# OpenShift runs the container as an arbitrary UID, which may not write to
# /run. This file replaces the one in the image, so it must be set here.
pid /tmp/nginx.pid;

events {}
http {
server {
Expand Down Expand Up @@ -133,6 +137,11 @@ spec:
subPath: nginx.conf
- name: tls
mountPath: /stackable/tls
# nginx creates its temp dirs here on startup even though the proxy
# buffering above is off, and the image owns /var/cache/nginx by the
# image UID, not the arbitrary one OpenShift assigns.
- name: nginx-cache
mountPath: /var/cache/nginx
resources:
requests:
cpu: 100m
Expand All @@ -143,6 +152,8 @@ spec:
name: garage
- name: data
emptyDir: {}
- name: nginx-cache
emptyDir: {}
- name: tls
ephemeral:
volumeClaimTemplate:
Expand Down
Loading