Count certificate requests
Add certificate_expiry_time_seconds metric
Register certificate_expiry_time_seconds metric, fix kind switch and fix metric status result
Export nameForIssuer and remove unneccessary switch
Refactor metrics into controller context
Move metrics collection into functions
Move error checking for metrics collection back into sync function
Remove space
Add TODO
Move update certificate expiry function to metrics package
Refactor metrics functionality
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Run dep ensure
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Fix build
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Refactor
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Fix reporting errors
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Add comments
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Remove unused issuerType
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Update dep inputs-digest
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Don't update status
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Make metrics package level var
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Add prometheusMetricsServerMaxHeaderBytes comment
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Add failures metric
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Remove issue metrics
TODO: hopefully revert this at some point.
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Assign metrics
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Update dep digest
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Fix copyright header
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Remove old metrics server
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Update bazel files
Signed-off-by: Louis Taylor <louis@kragniz.eu>
Clean up
Signed-off-by: Louis Taylor <louis@kragniz.eu>
- changing the name of the command line option to --auto-certificate-annotations
- making the option an array to allow for multiple annotations settings
Signed-off-by: Rohith Jayawardene <gambol99@gmail.com>
- adds a option command line (default to the current behavour) which allows the user to control the acme annotation used by the shim controller
- a current mitgration requires use to run multiple providers at the same
Signed-off-by: Rohith Jayawardene <gambol99@gmail.com>
Add annotation to the ingress-shim documentation
Remove debug output.
Update documentation errors.
Implement suggestions of using edit-in-place annotation to control behaviour.
Fix reference to editInPlaceAnnotation
Remove the presence of editInPlaceAnnotation from returning true to shouldSync() and relevant test.
Update comment reference to correct annotation name.
Remove tests that relied on annotation impacting result from shouldSync()
Only edit in-place when explicitly requested to do so.
Don't return error if unable to determine Ingress class, continue without setting either ingress or ingressClass.
Update annotation to certmanager.k8s.io/acme-http01-edit-in-place in order to make use case more obvious and have consistent naming.
Update docs to reflect possible values more accurately