Skip to content

feat: use shared nginx config from iop-gateway#13

Merged
ehelms merged 1 commit into
theforeman:masterfrom
vkrizan:shared-gateway-config
Jun 24, 2025
Merged

feat: use shared nginx config from iop-gateway#13
ehelms merged 1 commit into
theforeman:masterfrom
vkrizan:shared-gateway-config

Conversation

@vkrizan

@vkrizan vkrizan commented Jun 19, 2025

Copy link
Copy Markdown
Contributor

Utilize common gateway configuration.

Requires: RedHatInsights/iop-gateway#6

RHINENG-18837

@vkrizan
vkrizan marked this pull request as draft June 19, 2025 15:37
@vkrizan

vkrizan commented Jun 19, 2025

Copy link
Copy Markdown
Contributor Author

cc @ehelms @ShimShtein

Comment thread manifests/core_gateway.pp Outdated
@ehelms

ehelms commented Jun 19, 2025

Copy link
Copy Markdown
Member

While I do like shoving as much into the container as possible, see comments like https://github.com/RedHatInsights/iop-gateway/pull/6/files#r2157462116 about how we either need a way to configure some parts at runtime or we need to keep these files here.

@vkrizan

vkrizan commented Jun 20, 2025

Copy link
Copy Markdown
Contributor Author

@ehelms The idea is to have the shared pieces configured using set $variable. I'll enhance it further based on the comments on the iop-gateway PR.

@vkrizan
vkrizan force-pushed the shared-gateway-config branch from 31a34c5 to 9d77ce0 Compare June 23, 2025 08:58
Comment thread files/gateway/11-variable-overrides.conf Outdated
@vkrizan
vkrizan force-pushed the shared-gateway-config branch from 9d77ce0 to c59504c Compare June 23, 2025 14:24
@vkrizan
vkrizan marked this pull request as ready for review June 23, 2025 14:42
Comment thread manifests/core_gateway.pp Outdated
$server_ca_cert_secret_name,
"${service_name}-common-conf",
"${service_name}-nginx-conf",
"${service_name}-variable-overrides-conf",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's drop this since we have no overrides right now, and then implement it in https://github.com/ehelms/puppet-iop/pull/15 ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropped. #15 becomes obsolete after merging this.

@ehelms

ehelms commented Jun 24, 2025

Copy link
Copy Markdown
Member

This needs a rebase, and see comment.

@vkrizan
vkrizan force-pushed the shared-gateway-config branch from c59504c to 67775c6 Compare June 24, 2025 12:32
@ehelms
ehelms merged commit f92cd43 into theforeman:master Jun 24, 2025
5 checks passed
@vkrizan
vkrizan deleted the shared-gateway-config branch June 24, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants