-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
193 additions
and
180 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: SubState - Nanocl | ||
description: Use substate in your statefile. | ||
keywords: [documentation, nanocl, guides, get started, configuration, state, file, config, yaml, yml, statefile, substate] | ||
image: /img/logo.webp | ||
sidebar_label: SubState | ||
--- | ||
|
||
import StatefileBlock from '@site/src/components/statefile_block'; | ||
|
||
# SubState | ||
|
||
You can require other Statefiles in your Statefile using the `SubStates` key. | ||
|
||
This is useful if you need to reuse a statefile in multiple places. | ||
Or in a mono-repository settings to have a single source of truth for your state. | ||
|
||
There is an example of how to use it: | ||
|
||
<StatefileBlock example="advanced/substate.yml" /> |
Empty file.
Oops, something went wrong.