mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 09:57:17 +02:00
config: add a consistent route ID (#905)
This commit is contained in:
parent
34d06e521d
commit
ee2170f5f5
4 changed files with 76 additions and 6 deletions
|
@ -172,7 +172,7 @@ func inlineFilename(name string) *envoy_config_core_v3.DataSource {
|
|||
}
|
||||
|
||||
func getPolicyName(policy *config.Policy) string {
|
||||
return fmt.Sprintf("policy-%x", policy.Checksum())
|
||||
return fmt.Sprintf("policy-%x", policy.RouteID())
|
||||
}
|
||||
|
||||
func envoyTLSCertificateFromGoTLSCertificate(cert *tls.Certificate) *envoy_extensions_transport_sockets_tls_v3.TlsCertificate {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue