-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we didn't have good documentation on how to manage multiple sets of clusters. This patch adds a clusters topic in the structures category. Each one of the environments, projects, owners, etc... structures follow the same pattern as #Clusters and #ClusterSets, so it makes sense to put them into a dedicated sidebar category for specific CUE structures.
- Loading branch information
1 parent
c9c8c13
commit 20fb39e
Showing
13 changed files
with
617 additions
and
74 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -57,6 +57,7 @@ | |
"Cmds", | ||
"CNCF", | ||
"CODEOWNERS", | ||
"componentconfig", | ||
"configdir", | ||
"configmap", | ||
"configmapargs", | ||
|
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,16 @@ | ||
Integrate the `podinfo` component into the platform. | ||
|
||
```bash | ||
cat <<EOF >platform/podinfo.cue | ||
``` | ||
```cue showLineNumbers | ||
package holos | ||
Platform: Components: podinfo: { | ||
name: "podinfo" | ||
path: "components/podinfo" | ||
} | ||
``` | ||
```bash | ||
EOF | ||
``` |
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,34 @@ | ||
Create a directory for the example `podinfo` component we'll use to render | ||
platform manifests. | ||
|
||
```bash | ||
mkdir -p components/podinfo | ||
``` | ||
|
||
Create the CUE configuration for the example `podinfo` component. | ||
|
||
```bash | ||
cat <<EOF >components/podinfo/podinfo.cue | ||
``` | ||
```cue showLineNumbers | ||
package holos | ||
holos: Component.BuildPlan | ||
Component: #Helm & { | ||
Name: "podinfo" | ||
Chart: { | ||
version: "6.6.2" | ||
repository: { | ||
name: "podinfo" | ||
url: "https://stefanprodan.github.io/podinfo" | ||
} | ||
} | ||
Values: ui: { | ||
message: string | *"Hello World" @tag(message, type=string) | ||
} | ||
} | ||
``` | ||
```bash | ||
EOF | ||
``` |
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
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
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,19 @@ | ||
--- | ||
slug: . | ||
title: GitOps | ||
description: Managing resources with GitOps. | ||
sidebar_position: 120 | ||
--- | ||
import DocCardList from '@theme/DocCardList'; | ||
|
||
# GitOps | ||
|
||
This section has self contained articles covering how to manage resources using | ||
GitOps tooling like [ArgoCD] and [Flux]. | ||
|
||
--- | ||
|
||
<DocCardList /> | ||
|
||
[ArgoCD]: https://argo-cd.readthedocs.io/en/stable/ | ||
[Flux]: https://fluxcd.io/ |
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
Oops, something went wrong.