You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleans up comments in config / config_template.yaml (#871)
The current TLS configuration is a bit confusing because it is not obvious internode vs frontend and server vs. client. We add comments to config_template.yaml to clean that up.
Previous checkin introduced an incorrect comment. This fixes that.
Copy file name to clipboardExpand all lines: common/service/config/config.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ type (
133
133
// The path to the file containing the PEM-encoded private key of the certificate to use.
134
134
KeyFilestring`yaml:"keyFile"`
135
135
// A list of paths to files containing the PEM-encoded public key of the Certificate Authorities you wish to trust for client authentication.
136
-
// This value is ignored if `requireClientAuth` is not enabled. Merged with the data from ClientCAData.
136
+
// This value is ignored if `requireClientAuth` is not enabled. Cannot specify both ClientCAFiles and ClientCAData
137
137
ClientCAFiles []string`yaml:"clientCaFiles"`
138
138
139
139
// Base64 equivalents of the above artifacts.
@@ -146,18 +146,18 @@ type (
146
146
RequireClientAuthbool`yaml:"requireClientAuth"`
147
147
}
148
148
149
-
// ClientTLS contains TLS configuration for clients.
149
+
// ClientTLS contains TLS configuration for clients within the Temporal Cluster to connect to Temporal nodes.
150
150
ClientTLSstruct {
151
151
// DNS name to validate against for server to server connections.
152
152
// Required when TLS is enabled in a multi-host cluster.
153
153
// This name should be referenced by the certificate specified in the ServerTLS section.
154
154
ServerNamestring`yaml:"serverName"`
155
155
156
-
// Optional - A list of paths to files containing the PEM-encoded public key of the Certificate Authorities you wish to return to the client.
156
+
// Optional - A list of paths to files containing the PEM-encoded public key of the Certificate Authorities that are used to validate the server's TLS certificate
157
157
// You cannot specify both RootCAFiles and RootCAData
158
158
RootCAFiles []string`yaml:"rootCaFiles"`
159
159
160
-
// Optional - A list of base64 PEM-encoded public keys of the Certificate Authorities you wish to return to the client.
160
+
// Optional - A list of base64 PEM-encoded public keys of the Certificate Authorities that are used to validate the server's TLS certificate.
161
161
// You cannot specify both RootCAFiles and RootCAData
0 commit comments