Skip to content

Commit 360a029

Browse files
committed
edits
1 parent 6956999 commit 360a029

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The ConfigValues resource must meet the following requirements:
22
* Must be valid YAML.
3-
* It is not necessary to set a `value` for each configuration item in the ConfigValues, unless the item is [`required`](/reference/custom-resource-config#required) and has no [`default`](/reference/custom-resource-config#default) set.
3+
* It is not necessary to set a `value` for each configuration item in the ConfigValues, unless the item is [`required`](/reference/custom-resource-config#required) and has no [`default`](/reference/custom-resource-config#default) set in the Config resource.
44
* For each configuration item defined in the Config resource that has a [`default`](/reference/custom-resource-config#default) set, the ConfigValues must also list the default in the `default` property. Defaults are not automatically merged from the Config resource during installation.
55
* For any configuration items of type [`password`](/reference/custom-resource-config#password) defined in the Config resource, set the value in plain text in the ConfigValues [`valuePlainText`](/reference/custom-resource-configvalues#valueplaintext) property rather than in the `value` property. For example, `valuePlainText: somesecretvalue`. Values set in `valuePlainText` are automatically encrypted during installation.
66
* All values must be strings. For booleans, integers, or floats, wrap the value in quotes (for example, `value: "1"`, `value: "0"`, or `value: "443"`).

docs/reference/custom-resource-configvalues.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ As shown in the image above, the ConfigValues resource `values` key lists each i
3131

3232
<ConfigValuesRequirements/>
3333

34+
## Limitation
35+
36+
Replicated template functions are not supported in the ConfigValues resource. To set an application configuration item to a value rendered by a template function, you can use a template function in the `default` or `value` property for the item in the [Config](custom-resource-config) resource.
37+
38+
For more information about working with Replicated template functions, see [About Template Functions](/reference/template-functions-about).
39+
3440
## Spec
3541

3642
### values.[item_name].default
@@ -77,7 +83,7 @@ spec:
7783
slackernews_domain:
7884
value: hello.ingress.replicatedcluster.com
7985
slackernews_admin_user_emails:
80-
value: mandy@replicated.com, jeff@replicated.com, anil@replicated.com
86+
value: mandy@nitflex.com, jeff@nitflex.com, anil@nitflex.com
8187
service_type:
8288
value: node_port
8389
node_port_port:

0 commit comments

Comments
 (0)