Skip to content

Get rid of go bindata#419

Merged
chombium merged 4 commits intocloudfoundry:mainfrom
jorbaum:get-rid-of-go-bindata
Mar 5, 2026
Merged

Get rid of go bindata#419
chombium merged 4 commits intocloudfoundry:mainfrom
jorbaum:get-rid-of-go-bindata

Conversation

@jorbaum
Copy link
Copy Markdown
Contributor

@jorbaum jorbaum commented Feb 23, 2026

Addresses #79 .

Replaces go-bindata with cloudfoundry/tlsconfig just like it is done in loggregator-agent-release. Also removes the generate-test-certs script as scripts are no longer needed.

I also updated the dependencies as some were outdated after adding cloudfoundry/tlsconfig.

// NewEgressTLSConfig provides a convenient means for creating a *tls.Config
// which uses the CA, cert, and key for the egress endpoint.
func NewEgressTLSConfig(caPath, certPath, keyPath string) (*tls.Config, error) {
return newTLSConfig(caPath, certPath, keyPath, "reverselogproxy")
Copy link
Copy Markdown
Contributor Author

@jorbaum jorbaum Feb 25, 2026

Choose a reason for hiding this comment

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

This needed to change to reverselogproxy from metron, as the server cert in generate-test-certs below actually used metron as common-name while client cert used reverselogproxy as common name.

Before this change the wrong common names were used in the certificates.

@jorbaum jorbaum force-pushed the get-rid-of-go-bindata branch from 0976db7 to 8d4be86 Compare March 3, 2026 15:19
Copy link
Copy Markdown
Contributor

@chombium chombium left a comment

Choose a reason for hiding this comment

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

Please remove empty code blocks

@jorbaum
Copy link
Copy Markdown
Contributor Author

jorbaum commented Mar 5, 2026

Please remove empty code blocks

Did so.

Copy link
Copy Markdown
Contributor

@chombium chombium left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks @jorbaum

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Mar 5, 2026
@chombium chombium merged commit 1e98adc into cloudfoundry:main Mar 5, 2026
3 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Mar 5, 2026
@jorbaum jorbaum deleted the get-rid-of-go-bindata branch March 5, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants