Skip to content

Conversation

@rohara
Copy link

@rohara rohara commented Aug 26, 2025

Add support for httpsLogFormat and tcpLogFormat. These allow users to define a custom log format for both HTTPS and TCP traffic, which configured appropriately in OpenShift Router.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 26, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 26, 2025

@rohara: This pull request references NE-2115 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set.

In response to this:

Add support for httpsLogFormat and tcpLogFormat. These allow users to define a custom log format for both HTTPS and TCP traffic, which configured appropriately in OpenShift Router.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from gcs278 and grzpiotrowski August 26, 2025 13:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 26, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign frobware for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@candita
Copy link
Contributor

candita commented Aug 27, 2025

/assign @rikatz
/assign @grzpiotrowski
/assign @Thealisyed
/assign

Comment on lines +56 to +58
RouterTCPLogFormatEnvName = "ROUTER_TCP_LOG_FORMAT"
RouterHTTPLogFormatEnvName = "ROUTER_HTTP_LOG_FORMAT"
RouterHTTPSLogFormatEnvName = "ROUTER_HTTPS_LOG_FORMAT"
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to run gofmt on this.

}

if len(accessLogging.TcpLogFormat) > 0 {
env = append(env, corev1.EnvVar{Name: RouterTCPLogFormatEnvName, Value: fmt.Sprintf("%q", accessLogging.TcpLogFormat)})
Copy link
Contributor

Choose a reason for hiding this comment

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

Where do we validate the format for these?

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 3, 2025

@rohara: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-images 8ab5936 link true /test okd-scos-images
ci/prow/e2e-aws-operator-techpreview 8ab5936 link false /test e2e-aws-operator-techpreview
ci/prow/e2e-azure-ovn 8ab5936 link false /test e2e-azure-ovn
ci/prow/unit 8ab5936 link true /test unit
ci/prow/verify 8ab5936 link true /test verify
ci/prow/e2e-gcp-ovn 8ab5936 link false /test e2e-gcp-ovn
ci/prow/e2e-aws-ovn-single-node 8ab5936 link false /test e2e-aws-ovn-single-node
ci/prow/images 8ab5936 link true /test images
ci/prow/e2e-aws-ovn-techpreview 8ab5936 link false /test e2e-aws-ovn-techpreview
ci/prow/okd-scos-e2e-aws-ovn 8ab5936 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-aws-operator 8ab5936 link true /test e2e-aws-operator
ci/prow/e2e-hypershift 8ab5936 link true /test e2e-hypershift
ci/prow/e2e-aws-ovn-upgrade 8ab5936 link true /test e2e-aws-ovn-upgrade
ci/prow/e2e-azure-operator 8ab5936 link true /test e2e-azure-operator
ci/prow/e2e-aws-ovn-serial 8ab5936 link true /test e2e-aws-ovn-serial
ci/prow/e2e-gcp-operator 8ab5936 link true /test e2e-gcp-operator
ci/prow/e2e-aws-ovn-hypershift-conformance 8ab5936 link true /test e2e-aws-ovn-hypershift-conformance
ci/prow/e2e-aws-ovn 8ab5936 link true /test e2e-aws-ovn
ci/prow/hypershift-e2e-aks 8ab5936 link true /test hypershift-e2e-aks
ci/prow/e2e-aws-ovn-serial-2of2 8ab5936 link true /test e2e-aws-ovn-serial-2of2
ci/prow/e2e-aws-ovn-serial-1of2 8ab5936 link true /test e2e-aws-ovn-serial-1of2

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants