Skip to content

Commit

Permalink
Update docs for release 0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
weave-gitops-bot committed Aug 16, 2022
1 parent 210a051 commit 82edd9e
Show file tree
Hide file tree
Showing 109 changed files with 8,741 additions and 25 deletions.
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ Command line utility for managing Kubernetes applications via GitOps.
* [gitops upgrade](gitops_upgrade.md) - Upgrade to Weave GitOps Enterprise
* [gitops version](gitops_version.md) - Display gitops version

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_add.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ gitops add cluster
* [gitops add profile](gitops_add_profile.md) - Add a profile to a cluster
* [gitops add terraform](gitops_add_terraform.md) - Add a new Terraform resource using a TF template

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ gitops add cluster --from-template <template-name> \

* [gitops add](gitops_add.md) - Add a new Weave GitOps resource

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ gitops add profile [flags]

* [gitops add](gitops_add.md) - Add a new Weave GitOps resource

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gitops add terraform --from-template <template-name> --set key=val

* [gitops add](gitops_add.md) - Add a new Weave GitOps resource

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ This component contains unstable or still-in-development functionality
* [gitops](gitops.md) - Weave GitOps
* [gitops beta run](gitops_beta_run.md) - Set up an interactive sync between your cluster and your local file system

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ gitops check

* [gitops](gitops.md) - Weave GitOps

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ See each sub-command's help for details on how to use the generated script.
* [gitops completion powershell](gitops_completion_powershell.md) - Generate the autocompletion script for powershell
* [gitops completion zsh](gitops_completion_zsh.md) - Generate the autocompletion script for zsh

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ gitops completion bash

* [gitops completion](gitops_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ gitops completion fish [flags]

* [gitops completion](gitops_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ gitops completion powershell [flags]

* [gitops completion](gitops_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ gitops completion zsh [flags]

* [gitops completion](gitops_completion.md) - Generate the autocompletion script for the specified shell

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ gitops delete cluster <cluster-name>
* [gitops](gitops.md) - Weave GitOps
* [gitops delete cluster](gitops_delete_cluster.md) - Delete a cluster given its name

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ gitops delete cluster <cluster-name>

* [gitops delete](gitops_delete.md) - Delete one or many Weave GitOps resources

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ gitops get clusters
* [gitops get profile](gitops_get_profile.md) - Show information about available profiles
* [gitops get template](gitops_get_template.md) - Display one or many CAPI templates

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ gitops get bcrypt-hash [flags]

* [gitops get](gitops_get.md) - Display one or many Weave GitOps resources

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ gitops get cluster <cluster-name> --kubeconfig

* [gitops get](gitops_get.md) - Display one or many Weave GitOps resources

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ gitops get credentials

* [gitops get](gitops_get.md) - Display one or many Weave GitOps resources

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ gitops get profile [flags]

* [gitops get](gitops_get.md) - Display one or many Weave GitOps resources

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ gitops get template <template-name> --list-parameters
* [gitops get](gitops_get.md) - Display one or many Weave GitOps resources
* [gitops get template terraform](gitops_get_template_terraform.md) - Display one or many Terraform templates

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ gitops get template terraform <template-name> --list-parameters

* [gitops get template](gitops_get_template.md) - Display one or many CAPI templates

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Update a Weave GitOps resource
* [gitops](gitops.md) - Weave GitOps
* [gitops update profile](gitops_update_profile.md) - Update a profile installation

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ gitops update profile [flags]

* [gitops update](gitops_update.md) - Update a Weave GitOps resource

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ gitops upgrade [flags]

* [gitops](gitops.md) - Weave GitOps

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ gitops version [flags]

* [gitops](gitops.md) - Weave GitOps

###### Auto generated by spf13/cobra on 15-Aug-2022
###### Auto generated by spf13/cobra on 16-Aug-2022
24 changes: 24 additions & 0 deletions website/versioned_docs/version-0.9.3/_components/CurlCodeBlock.jsx
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 website/versioned_docs/version-0.9.3/_components/TierLabel.jsx
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>
);
}
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.1
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Cluster management",
"position": 5
}
Loading

0 comments on commit 82edd9e

Please sign in to comment.