Skip to content

Commit da54a75

Browse files
author
Jeff McCormick
authored
tls config change to apiserver to verify client cert, removed readiness probe given cert check (#800)
1 parent c25341b commit da54a75

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

apiserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func main() {
169169
caCertPool := x509.NewCertPool()
170170
caCertPool.AppendCertsFromPEM(caCert)
171171
cfg := &tls.Config{
172-
//ClientAuth: tls.RequireAndVerifyClientCert,
172+
ClientAuth: tls.RequireAndVerifyClientCert,
173173
//specify pgo-apiserver in the CN....then, add ServerName: "pgo-apiserver",
174174
ServerName: "pgo-apiserver",
175175
InsecureSkipVerify: tlsNoVerify,

deploy/deployment.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@
2424
"containerPort": 8443
2525
}
2626
],
27-
"livenessProbe": {
28-
"httpGet": {
29-
"port": 8443,
30-
"path": "/health",
31-
"scheme": "HTTPS"
32-
},
33-
"initialDelaySeconds": 4,
34-
"periodSeconds": 5
35-
},
3627
"env": [
3728
{
3829
"name": "CRUNCHY_DEBUG",

0 commit comments

Comments
 (0)