Skip to content

Commit

Permalink
Removes extraneous configmap file, fixes SSL expiry run intervals, ad…
Browse files Browse the repository at this point in the history
…ds clarifying comments to expiry checks, and fixes SSL self sign expiry check name field.
  • Loading branch information
zjhans committed Sep 11, 2020
1 parent 362ae57 commit 07e27fd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 45 deletions.
3 changes: 2 additions & 1 deletion cmd/ssl-expiry-check/ssl-secure-expiry-check.yaml
Expand Up @@ -4,7 +4,7 @@ metadata:
name: ssl-secure-expiry
namespace: kuberhealthy
spec:
runInterval: 1d
runInterval: 24h
timeout: 5m
podSpec:
containers:
Expand All @@ -18,6 +18,7 @@ spec:
# Number of days until certificate expiration to test for
- name: DAYS
value: "60"
# If "false", a TLS handshake is performed on the specified domain
- name: INSECURE
value: "false"
image: kuberhealthy/ssl-expiry:v1.0.1
Expand Down
5 changes: 3 additions & 2 deletions cmd/ssl-expiry-check/ssl-selfsign-expiry-check.yaml
@@ -1,10 +1,10 @@
apiVersion: comcast.github.io/v1
kind: KuberhealthyCheck
metadata:
name: ssl-secure-expiry
name: ssl-selfsign-expiry
namespace: kuberhealthy
spec:
runInterval: 1d
runInterval: 24h
timeout: 5m
podSpec:
containers:
Expand All @@ -18,6 +18,7 @@ spec:
# Number of days until certificate expiration to test for
- name: DAYS
value: "60"
# If "true", the TLS handshake will be skipped. This is only intended to check certificate expiration, not validity/security
- name: INSECURE
value: "true"
image: kuberhealthy/ssl-expiry:v1.0.1
Expand Down
41 changes: 0 additions & 41 deletions cmd/ssl-selfsign-handshake-check/ssl-selfsign-config.yaml

This file was deleted.

Expand Up @@ -11,7 +11,7 @@ spec:
- env:
# Domain name env variable must be updated to the domain on which you wish to check the SSL for
- name: DOMAIN_NAME
value: "google.com"
value: "localhost"
# If not using default SSL port of 443, port env variable must be updated
- name: PORT
value: "443"
Expand Down

0 comments on commit 07e27fd

Please sign in to comment.