diff --git a/config.default.json b/config.default.json index c86d4e6f7..a8e820f34 100644 --- a/config.default.json +++ b/config.default.json @@ -31,7 +31,8 @@ "nexus-cr", "digitalocean-cr", "gitlab-cr", - "google-artifact-cr" + "google-artifact-cr", + "workload" ], "BROKER_CLIENT_CONFIGURATION": { "common": { @@ -440,6 +441,15 @@ "CR_AGENT_URL": "https://:", "BROKER_CLIENT_URL": "https://:" } + }, + "workload": { + "validations": [ + ], + "default": { + }, + "required": { + "WORKLOAD_INTERNAL_URI": "http://workload-internal-uri" + } } }, "FILTER_RULES_PATHS": { @@ -467,6 +477,7 @@ "nexus-cr":"defaultFilters/container-registry-agent.json", "digitalocean-cr":"defaultFilters/container-registry-agent.json", "gitlab-cr":"defaultFilters/container-registry-agent.json", - "google-artifact-cr":"defaultFilters/container-registry-agent.json" + "google-artifact-cr":"defaultFilters/container-registry-agent.json", + "workload":"defaultFilters/workload.json" } } diff --git a/defaultFilters/workload.json b/defaultFilters/workload.json new file mode 100644 index 000000000..1d9483bad --- /dev/null +++ b/defaultFilters/workload.json @@ -0,0 +1,10 @@ +{ + "public": [], + "private": [ + { + "method": "ANY", + "path": "/*", + "origin": "${WORKLOAD_INTERNAL_URI}" + } + ] + } \ No newline at end of file