-
Notifications
You must be signed in to change notification settings - Fork 155
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
weave-gitops-bot
committed
Nov 10, 2022
1 parent
b9c6f45
commit fd12dd3
Showing
135 changed files
with
11,115 additions
and
15 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
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
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
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
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
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,27 @@ | ||
## gitops remove | ||
|
||
Remove various components of Weave GitOps | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for remove | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable | ||
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | ||
--kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster. | ||
--namespace string The namespace scope for this operation (default "flux-system") | ||
-p, --password WEAVE_GITOPS_PASSWORD The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable | ||
-u, --username WEAVE_GITOPS_USERNAME The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [gitops](gitops.md) - Weave GitOps | ||
* [gitops remove run](gitops_remove_run.md) - Remove GitOps Run sessions | ||
|
||
###### Auto generated by spf13/cobra on 10-Nov-2022 |
50 changes: 50 additions & 0 deletions
50
website/docs/references/cli-reference/gitops_remove_run.md
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,50 @@ | ||
## gitops remove run | ||
|
||
Remove GitOps Run sessions | ||
|
||
### Synopsis | ||
|
||
Remove GitOps Run sessions | ||
|
||
``` | ||
gitops remove run [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Remove the GitOps Run session "dev-1234" from the "flux-system" namespace | ||
gitops remove run --namespace flux-system dev-1234 | ||
# Remove all GitOps Run sessions from the default namespace | ||
gitops remove run --all-sessions | ||
# Remove all GitOps Run sessions from the dev namespace | ||
gitops remove run -n dev --all-sessions | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--all-sessions Remove all GitOps Run sessions | ||
--context string The name of the kubeconfig context to use | ||
-h, --help help for run | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable | ||
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | ||
--kubeconfig string Paths to a kubeconfig. Only required if out-of-cluster. | ||
--namespace string The namespace scope for this operation (default "flux-system") | ||
-p, --password WEAVE_GITOPS_PASSWORD The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable | ||
-u, --username WEAVE_GITOPS_USERNAME The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [gitops remove](gitops_remove.md) - Remove various components of Weave GitOps | ||
|
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
24 changes: 24 additions & 0 deletions
24
website/versioned_docs/version-0.10.2/_components/CurlCodeBlock.jsx
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,24 @@ | ||
import React from "react"; | ||
|
||
import CodeBlock from "@theme/CodeBlock"; | ||
import BrowserOnly from "@docusaurus/BrowserOnly"; | ||
|
||
export default function CurlCodeBlock({ localPath, hostedPath, content }) { | ||
return ( | ||
<> | ||
<BrowserOnly> | ||
{() => ( | ||
<CodeBlock className="language-bash"> | ||
curl -o {localPath} {window.location.protocol} | ||
//{window.location.host} | ||
{hostedPath} | ||
</CodeBlock> | ||
)} | ||
</BrowserOnly> | ||
|
||
<CodeBlock title={localPath} className="language-yaml"> | ||
{content} | ||
</CodeBlock> | ||
</> | ||
); | ||
} |
32 changes: 32 additions & 0 deletions
32
website/versioned_docs/version-0.10.2/_components/TierLabel.jsx
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,32 @@ | ||
import React from "react"; | ||
import Link from "@docusaurus/Link"; | ||
import useGlobalData from "@docusaurus/useGlobalData"; | ||
|
||
const containerStyle = { | ||
fontSize: 16, | ||
marginLeft: 4, | ||
fontVariant: "all-small-caps", | ||
}; | ||
|
||
// This determines the current version of the docs you're looking at | ||
// E.g. /docs/next or /docs/0.2.5 | ||
const getCurrentVersionPath = () => { | ||
const { "docusaurus-plugin-content-docs": data } = useGlobalData(); | ||
const currentVersion = data?.default?.versions?.find( | ||
(v) => v.name === "current" | ||
); | ||
// Fallback to /docs just in case. Not sure if this is async etc. | ||
return currentVersion?.path || "/docs"; | ||
}; | ||
|
||
export default function TierLabel({ tiers }) { | ||
return ( | ||
<Link | ||
to={`${getCurrentVersionPath()}/enterprise/intro`} | ||
title={`This feature is a available on ${tiers}`} | ||
style={containerStyle} | ||
> | ||
{tiers} | ||
</Link> | ||
); | ||
} |
48 changes: 48 additions & 0 deletions
48
website/versioned_docs/version-0.10.2/assets/example-enterprise-helm.yaml
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,48 @@ | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: weave-gitops-enterprise-charts | ||
namespace: flux-system | ||
spec: | ||
interval: 60m | ||
secretRef: | ||
name: weave-gitops-enterprise-credentials | ||
url: https://charts.dev.wkp.weave.works/releases/charts-v3 | ||
--- | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||
kind: HelmRelease | ||
metadata: | ||
name: weave-gitops-enterprise | ||
namespace: flux-system | ||
spec: | ||
chart: | ||
spec: | ||
interval: 65m | ||
chart: mccp | ||
sourceRef: | ||
kind: HelmRepository | ||
name: weave-gitops-enterprise-charts | ||
namespace: flux-system | ||
version: 0.9.5 | ||
install: | ||
crds: CreateReplace | ||
upgrade: | ||
crds: CreateReplace | ||
interval: 50m | ||
values: | ||
# -- Configure TLS settings if needed | ||
# tls: | ||
# -- Can be disabled if TLS is handled by a user-provided ingress controller | ||
# enabled: true | ||
# -- optionally specify a TLS secret | ||
# secretName: null | ||
config: | ||
capi: | ||
repositoryURL: https://github.com/$GITHUB_USER/fleet-infra | ||
# -- Can be changed depending on your git repo structure | ||
# repositoryPath: ./clusters/management/clusters | ||
# repositoryClustersPath: ./cluster | ||
git: | ||
type: github | ||
# -- Change if using on-prem github/gitlab | ||
# hostname: https://github.com |
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 @@ | ||
"# keep" |
Oops, something went wrong.