# \#config

**URL:** https://community.replicated.com/tag/config/18.md

[Latest](https://community.replicated.com/latest.md) · [Categories](https://community.replicated.com/categories.md) · [Tags](https://community.replicated.com/tags.md)

---

## [Configuring Helm Charts with Raw YAML Data in KOTS](https://community.replicated.com/t/configuring-helm-charts-with-raw-yaml-data-in-kots/1554)

<div class="topic-metadata">

**Author:** [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Replies:** 0\
**Last updated:** [July 4, 2025, 6:24am UTC](https://community.replicated.com/t/configuring-helm-charts-with-raw-yaml-data-in-kots/1554 "2025-07-04T06:24:30Z")

</div>

When building applications with KOTS and Helm, you may need to allow users to provide raw YAML configuration data such as arbitrary key-value pairs for labels, annotations, or environment variables. This article demonstr…

---

## [Troubleshoot "failed to render archive directory" in KOTS](https://community.replicated.com/t/troubleshoot-failed-to-render-archive-directory-in-kots/1550)

<div class="topic-metadata">

**Author:** [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 4:54am UTC](https://community.replicated.com/t/troubleshoot-failed-to-render-archive-directory-in-kots/1550 "2025-07-01T04:54:39Z")

</div>

The failed to render archive directory error can appear in the KOTS Admin Console Config Screen or when KOTS is downloading a new app update. This error indicates that KOTS cannot render the upstream manifests with the c…

---

## [Generate KOTS application ConfigValues file](https://community.replicated.com/t/generate-kots-application-configvalues-file/1549)

<div class="topic-metadata">

**Author:** [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 3:02am UTC](https://community.replicated.com/t/generate-kots-application-configvalues-file/1549 "2025-07-01T03:02:59Z")

</div>

The ConfigValues resource is a KOTS custom resource that contains configuration values for application releases. This file enables automation of KOTS-based installations, including Embedded Cluster and kURL deployments. …

---

## [Show/hide fields in the KOTS Config based on deployment t-shirt size](https://community.replicated.com/t/show-hide-fields-in-the-kots-config-based-on-deployment-t-shirt-size/1432)

<div class="topic-metadata">

**Author:** [@Paige\_Calvert](https://community.replicated.com/u/Paige_Calvert)\
**Replies:** 0\
**Last updated:** [July 31, 2024, 8:04pm UTC](https://community.replicated.com/t/show-hide-fields-in-the-kots-config-based-on-deployment-t-shirt-size/1432 "2024-07-31T20:04:41Z")

</div>

It’s often necessary to have different sets of default values and/or fields in the KOTS Config based on the size of the deployment. For example: Less than 100 users = Small Deployment configs 101-500 users = Medium De…

---

## [Executing a kubectl patch command from or based on a ConfigOption](https://community.replicated.com/t/executing-a-kubectl-patch-command-from-or-based-on-a-configoption/1419)

<div class="topic-metadata">

**Author:** [@David\_Vizena](https://community.replicated.com/u/David_Vizena)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 7:37pm UTC](https://community.replicated.com/t/executing-a-kubectl-patch-command-from-or-based-on-a-configoption/1419 "2024-06-26T19:37:56Z")

</div>

I would like to have an option in the KOTS Admin Console, that when selected it runs the a kubectl patch command to patch a value of the kotsadm-confg ConfigMap in the namespace where kots is installed. Specifically we …

---

## [How to: use a logical \`and\` to evaluate a conditional expression mixed with config and license value](https://community.replicated.com/t/how-to-use-a-logical-and-to-evaluate-a-conditional-expression-mixed-with-config-and-license-value/1380)

<div class="topic-metadata">

**Author:** [@Dexter\_Yan](https://community.replicated.com/u/Dexter_Yan)\
**Replies:** 0\
**Last updated:** [February 23, 2024, 2:45am UTC](https://community.replicated.com/t/how-to-use-a-logical-and-to-evaluate-a-conditional-expression-mixed-with-config-and-license-value/1380 "2024-02-23T02:45:44Z")

</div>

Currently, we only have ConfigOptionEquals function for config value check. To use a and to evaluate a conditional expression mixed with license bool value like repl{{ and (LicenseFieldValue "\<LICENSE\_FIELD\_NAME :: boo…

---

## [Updating configuration without updating the application](https://community.replicated.com/t/updating-configuration-without-updating-the-application/1315)

<div class="topic-metadata">

**Author:** [@crdant](https://community.replicated.com/u/crdant)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 1:42pm UTC](https://community.replicated.com/t/updating-configuration-without-updating-the-application/1315 "2023-10-27T13:42:06Z")

</div>

Had a great question from one of you on Slack yesterday. The question was about how their customer could update the configuration of the currently deployed version of the application, even if updates were available. I kn…

---

## [How can I export config options into a support bundle?](https://community.replicated.com/t/how-can-i-export-config-options-into-a-support-bundle/879)

<div class="topic-metadata">

**Author:** [@MrSimonEmms](https://community.replicated.com/u/MrSimonEmms)\
**Replies:** 4\
**Last updated:** [August 6, 2022, 9:06pm UTC](https://community.replicated.com/t/how-can-i-export-config-options-into-a-support-bundle/879 "2022-08-06T21:06:40Z")

</div>

Is there a way of getting all the KOTS config options set so we can include them with a support bundle? I don’t really care on the format, but key/value pairs would be the nicest I can of course copy them over into a co…

---

## [How to: use a logical \`and\` to evaluate a conditional expression in a Config template](https://community.replicated.com/t/how-to-use-a-logical-and-to-evaluate-a-conditional-expression-in-a-config-template/614)

<div class="topic-metadata">

**Author:** [@adamancini](https://community.replicated.com/u/adamancini)\
**Replies:** 1\
**Last updated:** [February 1, 2022, 4:07pm UTC](https://community.replicated.com/t/how-to-use-a-logical-and-to-evaluate-a-conditional-expression-in-a-config-template/614 "2022-02-01T16:07:07Z")

</div>

How do I display a Config option only when two or more other items are True or False? I tried when: repl{{ ConfigOptionEquals "option\_one" "0" }} & repl{{ ConfigOptionEquals "option\_two" "0" }} but this isn’t working…

---

## [How Can I Check If a File Has Been Uploaded?](https://community.replicated.com/t/how-can-i-check-if-a-file-has-been-uploaded/669)

<div class="topic-metadata">

**Author:** [@Fernando\_Cremer](https://community.replicated.com/u/Fernando_Cremer)\
**Replies:** 0\
**Last updated:** [January 18, 2022, 2:19pm UTC](https://community.replicated.com/t/how-can-i-check-if-a-file-has-been-uploaded/669 "2022-01-18T14:19:29Z")

</div>

One of the field types available in KOTS’ Config Kind is a file. This allows the end user to upload the file, and the application is able to consume the contents via our templating. But, what if you want to check if the…

---

## [Are the values generated by RandomString cryptographically random? Can you share any details on how you generate those random strings?](https://community.replicated.com/t/are-the-values-generated-by-randomstring-cryptographically-random-can-you-share-any-details-on-how-you-generate-those-random-strings/590)

<div class="topic-metadata">

**Author:** [@Fernando\_Cremer](https://community.replicated.com/u/Fernando_Cremer)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 7:29pm UTC](https://community.replicated.com/t/are-the-values-generated-by-randomstring-cryptographically-random-can-you-share-any-details-on-how-you-generate-those-random-strings/590 "2021-11-10T19:29:47Z")

</div>

The RandomString under the hood calls the go Random reader, which is a global, shared instance of a cryptographically secure random number generator. On Linux and FreeBSD, Reader uses getrandom(2) if available, /dev/ur…
