Skip to content

Commit

Permalink
Merge pull request #3723 from weaveworks/releases/v0.24.0
Browse files Browse the repository at this point in the history
Updates for 0.24.0
  • Loading branch information
foot committed May 24, 2023
2 parents 946055f + c16b42f commit 995f45a
Show file tree
Hide file tree
Showing 248 changed files with 20,204 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use Flux already then you can easily add Weave GitOps to create a platform manag
Mac / Linux

```console
curl --silent --location "https://github.com/weaveworks/weave-gitops/releases/download/v0.23.0/gitops-$(uname)-$(uname -m).tar.gz" | tar xz -C /tmp
curl --silent --location "https://github.com/weaveworks/weave-gitops/releases/download/v0.24.0/gitops-$(uname)-$(uname -m).tar.gz" | tar xz -C /tmp
sudo mv /tmp/gitops /usr/local/bin
gitops version
```
Expand Down
4 changes: 2 additions & 2 deletions charts/gitops-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.0.21
version: 4.0.22
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.23.0"
appVersion: "v0.24.0"
2 changes: 1 addition & 1 deletion charts/gitops-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ image:
repository: ghcr.io/weaveworks/wego-app
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.23.0"
tag: "v0.24.0"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@weaveworks/weave-gitops",
"version": "0.24.0-rc.1",
"version": "0.24.0",
"description": "Weave GitOps core",
"targets": {
"default": {
Expand Down
4 changes: 2 additions & 2 deletions ui/components/__tests__/__snapshots__/Footer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ exports[`Footer snapshots no api version 1`] = `
/>
<a
class="c5 Link"
href="https://github.com/weaveworks/weave-gitops/releases/tag/v0.24.0-rc.1"
href="https://github.com/weaveworks/weave-gitops/releases/tag/v0.24.0"
rel="noreferrer"
target="_blank"
>
Expand All @@ -421,7 +421,7 @@ exports[`Footer snapshots no api version 1`] = `
<span
class="c10"
>
v0.24.0-rc.1
v0.24.0
</span>
</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion website/docs/installation/weave-gitops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ import TabItem from "@theme/TabItem";
<TabItem value="curl" label="curl">

```bash
curl --silent --location "https://github.com/weaveworks/weave-gitops/releases/download/v0.23.0/gitops-$(uname)-$(uname -m).tar.gz" | tar xz -C /tmp
curl --silent --location "https://github.com/weaveworks/weave-gitops/releases/download/v0.24.0/gitops-$(uname)-$(uname -m).tar.gz" | tar xz -C /tmp
sudo mv /tmp/gitops /usr/local/bin
gitops version
```
Expand Down
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 @@ -50,4 +50,4 @@ Command line utility for managing Kubernetes applications via GitOps.
* [gitops suspend](gitops_suspend.md) - Suspend a resource
* [gitops version](gitops_version.md) - Display gitops version

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_beta_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ gitops beta run ./charts/podinfo --timeout 3m --port-forward namespace=flux-syst
--no-session Disable session management. If not specified, the session will be enabled by default.
--port-forward string Forward the port from a cluster's resource to your local machine i.e. 'port=8080:8080,resource=svc/app'.
--root-dir string Specify the root directory to watch for changes. If not specified, the root of Git repository will be used.
--session-name string Specify the name of the session. If not specified, the name of the current branch and the last commit id will be used. (default "run-main-0c92a3de-dirty")
--session-name string Specify the name of the session. If not specified, the name of the current branch and the last commit id will be used. (default "run-main-5c08e8e8-dirty")
--session-namespace string Specify the namespace of the session. (default "default")
--skip-dashboard-install Skip installation of the Dashboard. This also disables the prompt asking whether the Dashboard should be installed.
--skip-resource-cleanup Skip resource cleanup. If not specified, the GitOps Run resources will be deleted by default.
Expand Down
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ gitops create terraform my-resource \
* [gitops create dashboard](gitops_create_dashboard.md) - Create a HelmRepository and HelmRelease to deploy Weave GitOps
* [gitops create terraform](gitops_create_terraform.md) - Create a Terraform object

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ gitops create terraform -n default my-resource --source GitRepository/my-project

* [gitops create](gitops_create.md) - Creates a resource

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 @@ -24,4 +24,4 @@ Delete a resource
* [gitops](gitops.md) - Weave GitOps
* [gitops delete terraform](gitops_delete_terraform.md) - Delete a Terraform object

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ gitops delete terraform -n default my-resource

* [gitops delete](gitops_delete.md) - Delete a resource

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 @@ -37,4 +37,4 @@ echo -n $PASSWORD | gitops get bcrypt-hash
* [gitops get bcrypt-hash](gitops_get_bcrypt-hash.md) - Generates a hashed secret
* [gitops get config](gitops_get_config.md) - Prints out the CLI configuration for Weave GitOps

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ echo -n $PASSWORD | gitops get bcrypt-hash

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

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Get logs for a resource
* [gitops](gitops.md) - Weave GitOps
* [gitops logs terraform](gitops_logs_terraform.md) - Get the runner logs of a Terraform object

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ gitops logs terraform --namespace flux-system my-resource

* [gitops logs](gitops_logs.md) - Get logs for a resource

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Remove various components of Weave GitOps
* [gitops](gitops.md) - Weave GitOps
* [gitops remove run](gitops_remove_run.md) - Remove GitOps Run sessions

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_replan.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ gitops replan terraform --namespace flux-system my-resource
* [gitops](gitops.md) - Weave GitOps
* [gitops replan terraform](gitops_replan_terraform.md) - Trigger replan for a Terraform object

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ gitops replan terraform --namespace flux-system my-resource

* [gitops replan](gitops_replan.md) - Replan a resource

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_resume.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ gitops resume terraform --namespace flux-system my-resource
* [gitops](gitops.md) - Weave GitOps
* [gitops resume terraform](gitops_resume_terraform.md) - Resume a Terraform object

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ gitops resume terraform --namespace flux-system my-resource

* [gitops resume](gitops_resume.md) - Resume a resource

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ gitops beta run ./charts/podinfo --timeout 3m --port-forward namespace=flux-syst
--no-session Disable session management. If not specified, the session will be enabled by default.
--port-forward string Forward the port from a cluster's resource to your local machine i.e. 'port=8080:8080,resource=svc/app'.
--root-dir string Specify the root directory to watch for changes. If not specified, the root of Git repository will be used.
--session-name string Specify the name of the session. If not specified, the name of the current branch and the last commit id will be used. (default "run-main-0c92a3de-dirty")
--session-name string Specify the name of the session. If not specified, the name of the current branch and the last commit id will be used. (default "run-main-5c08e8e8-dirty")
--session-namespace string Specify the namespace of the session. (default "default")
--skip-dashboard-install Skip installation of the Dashboard. This also disables the prompt asking whether the Dashboard should be installed.
--skip-resource-cleanup Skip resource cleanup. If not specified, the GitOps Run resources will be deleted by default.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ gitops set config analytics true
* [gitops](gitops.md) - Weave GitOps
* [gitops set config](gitops_set_config.md) - Set the CLI configuration for Weave GitOps

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
2 changes: 1 addition & 1 deletion website/docs/references/cli-reference/gitops_suspend.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ gitops resume terraform --namespace flux-system my-resource
* [gitops](gitops.md) - Weave GitOps
* [gitops suspend terraform](gitops_suspend_terraform.md) - Suspend a Terraform object

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ gitops suspend terraform --namespace flux-system my-resource

* [gitops suspend](gitops_suspend.md) - Suspend a resource

###### Auto generated by spf13/cobra on 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
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 11-May-2023
###### Auto generated by spf13/cobra on 24-May-2023
4 changes: 2 additions & 2 deletions website/docs/references/helm-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is a reference of all the configurable values in weave gitops's
helm chart. This is intended for customizing your installation after
you've gone through the [getting started](../getting-started/intro.mdx) guide.

This reference was generated for the chart version 4.0.21 which installs weave gitops v0.23.0.
This reference was generated for the chart version 4.0.22 which installs weave gitops v0.24.0.

## Values

Expand All @@ -27,7 +27,7 @@ This reference was generated for the chart version 4.0.21 which installs weave g
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/weaveworks/wego-app"` | |
| image.tag | string | `"v0.23.0"` | |
| image.tag | string | `"v0.24.0"` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
Expand Down
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>
</>
);
}
20 changes: 20 additions & 0 deletions website/versioned_docs/version-0.24.0/_components/TierLabel.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react";
import Link from "@docusaurus/Link";
import useGlobalData from "@docusaurus/useGlobalData";

const containerStyle = {
fontSize: 16,
marginLeft: 4,
fontVariant: "all-small-caps",
};

export default function TierLabel({ tiers }) {
return (
<Link
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,9 @@

:::caution

**This feature is in alpha and certain aspects will change**

We're very excited for people to use this feature.
However, please note that changes in the API, behaviour and security will evolve.
The feature is suitable to use in controlled testing environments.
:::
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.22.0
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 @@
"# keep"
Loading

0 comments on commit 995f45a

Please sign in to comment.