Skip to content

Get rid of go bindata#419

Open
jorbaum wants to merge 3 commits intocloudfoundry:mainfrom
jorbaum:get-rid-of-go-bindata
Open

Get rid of go bindata#419
jorbaum wants to merge 3 commits intocloudfoundry:mainfrom
jorbaum:get-rid-of-go-bindata

Conversation

@jorbaum
Copy link
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.

@jorbaum jorbaum force-pushed the get-rid-of-go-bindata branch from d6953b9 to d74e1a3 Compare February 24, 2026 14:28
// 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
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.

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.

1 participant