Skip to content

Commit ddff0b4

Browse files
committed
chore(operator): update default env. vars
1 parent 4f6f6b5 commit ddff0b4

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

operator/controller/src/main/java/io/apicurio/registry/operator/resource/app/AppDeploymentResource.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,10 @@ protected Deployment desired(ApicurioRegistry3 primary, Context<ApicurioRegistry
5252

5353
// spotless:off
5454
addEnvVar(envVars, new EnvVarBuilder().withName("QUARKUS_PROFILE").withValue("prod").build());
55-
addEnvVar(envVars, new EnvVarBuilder().withName("APICURIO_CONFIG_CACHE_ENABLED").withValue("true").build());
5655
addEnvVar(envVars, new EnvVarBuilder().withName("QUARKUS_HTTP_ACCESS_LOG_ENABLED").withValue("true").build());
5756
addEnvVar(envVars, new EnvVarBuilder().withName("QUARKUS_HTTP_CORS_ORIGINS").withValue("*").build());
58-
addEnvVar(envVars, new EnvVarBuilder().withName("APICURIO_REST_DELETION_GROUP_ENABLED").withValue("true").build());
59-
addEnvVar(envVars, new EnvVarBuilder().withName("APICURIO_REST_DELETION_ARTIFACT_ENABLED").withValue("true").build());
60-
addEnvVar(envVars, new EnvVarBuilder().withName("APICURIO_REST_DELETION_ARTIFACTVERSION_ENABLED").withValue("true").build());
61-
addEnvVar(envVars, new EnvVarBuilder().withName("APICURIO_APIS_V2_DATE_FORMAT").withValue("yyyy-MM-dd''T''HH:mm:ssZ").build());
57+
// TODO: Enable this conditionally for Studio?
58+
addEnvVar(envVars, new EnvVarBuilder().withName("APICURIO_REST_MUTABILITY_ARTIFACT-VERSION-CONTENT_ENABLED").withValue("true").build());
6259
// spotless:on
6360

6461
if (!PostgresSql.configureDatasource(primary, envVars)) {

operator/controller/src/test/java/io/apicurio/registry/operator/it/EnvITTest.java

+1-5
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@ public class EnvITTest extends ITBase {
2525
// spotless:off
2626
private static final String[] defaultAppEnv = new String[]{
2727
"QUARKUS_PROFILE",
28-
"APICURIO_CONFIG_CACHE_ENABLED",
2928
"QUARKUS_HTTP_ACCESS_LOG_ENABLED",
3029
"QUARKUS_HTTP_CORS_ORIGINS",
31-
"APICURIO_REST_DELETION_GROUP_ENABLED",
32-
"APICURIO_REST_DELETION_ARTIFACT_ENABLED",
33-
"APICURIO_REST_DELETION_ARTIFACTVERSION_ENABLED",
34-
"APICURIO_APIS_V2_DATE_FORMAT"
30+
"APICURIO_REST_MUTABILITY_ARTIFACT-VERSION-CONTENT_ENABLED"
3531
};
3632
// spotless:on
3733

0 commit comments

Comments
 (0)