@codiac.io/codiac-cli 1.3.250 → 1.3.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,7 +21,7 @@ const codiac_constants_1 = require("../codiac-constants");
|
|
|
21
21
|
// Configuration defaults
|
|
22
22
|
const DEFAULT_CONFIG = {
|
|
23
23
|
IMAGE_NAME: "codiacimages/codiac-relay",
|
|
24
|
-
IMAGE_TAG: "1.6.
|
|
24
|
+
IMAGE_TAG: "1.6.178",
|
|
25
25
|
CONTAINER_NAME: "codiac-relay",
|
|
26
26
|
HEALTH_CHECK_URL: "http://localhost:5799/heartbeat-json",
|
|
27
27
|
RETRY_TIMEOUT_MINUTES: 1,
|
|
@@ -25,7 +25,14 @@ class ConfigFileTarget {
|
|
|
25
25
|
* Convenience overload for the common `configType ?? targetFile` pattern seen across commands.
|
|
26
26
|
*/
|
|
27
27
|
static encodeOrFile(type, targetFile) {
|
|
28
|
-
|
|
28
|
+
// `file` is the one ConfigDefTypesEnum member that is NOT a special type — the domain
|
|
29
|
+
// defines SpecialConfigTypesEnum as ConfigDefTypesEnum minus "file". A `file` config
|
|
30
|
+
// lands in a real file, so its targetFile IS the path and must never be bracket-encoded.
|
|
31
|
+
// Callers that derive a config type as helm-or-file (e.g. `cod config import` on a
|
|
32
|
+
// non-helm asset) pass "file" here; encoding it to `[file]` would discard the path and
|
|
33
|
+
// store an un-renderable target — the FE file tree can't place a `[file]` node and the
|
|
34
|
+
// operator can't resolve a filename from it.
|
|
35
|
+
if (type != undefined && type !== codiac_domain_1.ConfigDefTypesEnum.file)
|
|
29
36
|
return ConfigFileTarget.encode(type);
|
|
30
37
|
return targetFile;
|
|
31
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-file-target.js","sourceRoot":"","sources":["../../src/uilogic/config-file-target.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"config-file-target.js","sourceRoot":"","sources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