The KOTS get config command returns the configValues file for an application

Chris
Chris
  • Updated

Author: Chris Breaux

Updated: September 2024

Audience: Everyone

Environmental details: Jama Connect® Self-hosted, Replicated - KOTS

Summary

We may need to view or change configuration settings quickly (KOTS admin console). For example, we could back up the admin console settings and use them in a new installation/migration.

Solution

  1. View the config
    kubectl kots get config jama-k8s -n default
  2. Save the config
    kubectl kots get config jama-k8s -n default > copy_of_your_config.yaml
  3. Edit the config
    vi copy_of_your_config.yaml
  4. Apply the edited config
    kubectl kots set config jama-k8s -n default --config-file /path/to/copy_of_your_config.yaml

Notes

In later versions (9.6.x), you can specify that you want the currently deployed sequence.
kubectl kots get config jama-k8s -n default --current 

You may also find it useful to decrypt the passwords
kubectl kots get config jama-k8s -n default --decrypt

You can specify a specific sequence number if you don't want the currently deployed version.
kubectl kots get config jama-k8s -n default --sequence=4

Related Articles, Work orders, Zendesk tickets, Defects, etc. 

 

 

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.