mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 03:47:04 +01:00
21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_configuring/microshift-config-snippets.adoc
|
|
|
|
:_mod-docs-content-type: CONCEPT
|
|
[id="microshift-how-config-snippets-work_{context}"]
|
|
= How configuration snippets work
|
|
|
|
If you want to configure one or two settings, such as adding subject alternative names (SANs), you can use the `/etc/microshift/config.d/` configuration directory to drop in configuration snippet YAML files. You must restart {microshift-short} for new configurations to apply.
|
|
|
|
To return to previous values, you can delete a configuration snippet and restart {microshift-short}.
|
|
|
|
At runtime, the YAML files inside `/etc/microshift/config.d` are merged into the existing {microshift-short} configuration, whether that configuration is a result of default values or a user-created `config.yaml` file. You do not need to create a `config.yaml` file to use a configuration snippet.
|
|
|
|
Files in the snippet directory are sorted in lexicographical order and run sequentially. You can use numerical prefixes for snippets so that each is read in the order you want. The last-read file takes precedence when there is more than one YAML for the same parameter.
|
|
|
|
[IMPORTANT]
|
|
====
|
|
Configuration snippets take precedence over both default values and a customized `config.yaml` configuration file.
|
|
====
|