• Geoff Simmons's avatar
    WIP: implement the authority field for TLS onload, to set the SNI. · ffd5ec79
    Geoff Simmons authored
    This is the SNI sent in the client TLS connection to a backend.
    
    We use VMOD dynamic for backends represented by an ExternalName
    Service (likely the common use case for TLS onload). VMOD dynamic
    does not have the authority field that klarlack makes available
    for standard backends. But if the host_header field is set for
    a VMOD dynamic director, the VMOD uses that value for the SNI.
    
    So if the BackendConfig authority field is set, we also assign its
    value to the host_header field. Since BackendConfig also has a
    separate field for host_header, both of them could be conceivably
    set to different values. If we find that the two fields are set
    to non-empty, conflicting values, the controller emits a
    SyncFatalError, and the BackendConfig is not synced.
    ffd5ec79
Name
Last commit
Last update
charts Loading commit data...
cmd Loading commit data...
container Loading commit data...
deploy Loading commit data...
docs Loading commit data...
examples Loading commit data...
hack Loading commit data...
pkg Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.kind-gitlab.yaml Loading commit data...
COPYING Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...