summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorAndreas Eriksen <andreer@verizonmedia.com>2021-01-21 09:14:00 +0100
committerGitHub <noreply@github.com>2021-01-21 09:14:00 +0100
commit44c35b15ab1849a13f6d86464984e0d31cf8188b (patch)
tree904dea50e837eaaad0b87865a66904154178d458 /flags
parentc2c6faa030f68efa35ec42157e6d7b4d532b804d (diff)
andreer/endpoint certificate maintainer (#16099)
* remove support for old formats and introduce EndpointCertificateMaintainer * record certificate refresh time, run maintainer every 12 hours * retrigger prod deployments if refreshed certificate not deployed after one week * only re-trigger production jobs * unit test EndpointCertificateMaintainer * take application lock to avoid concurrent modifications when managing endpoint certs * only trigger deployment jobs Co-authored-by: Jon Marius Venstad <jonmv@users.noreply.github.com>
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
index 4742f7fdd26..6056fdd9a18 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -291,6 +291,12 @@ public class Flags {
"Whether to enable zstd compression of jdisc access logs",
"Takes effect on (re)deployment");
+ public static final UnboundBooleanFlag USE_ENDPOINT_CERTIFICATE_MAINTAINER = defineFeatureFlag(
+ "use-endpoint-certificate-maintainer", false,
+ List.of("andreer"), "2021-01-12", "2021-02-12",
+ "Use EndpointCertificateMaintainer instead of EndpointCertificateManager cleanup thread to handle certificate refreshes and deletions",
+ "Takes effect on next run of maintainer / next manager cleanup thread run");
+
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List<String> owners,
String createdAt, String expiresAt, String description,