Skip to content

Releases: weaveworks/weave-gitops-enterprise

v0.9.0-rc.3

05 Jul 15:43
d7a82be
Compare
Choose a tag to compare
v0.9.0-rc.3 Pre-release
Pre-release

Breaking changes from 0.8.1

Directory structure includes GitopsCluster namespace

The new paths:

  • ./clusters/management/clusters/namespace/cluster-name.yaml
  • ./clusters/namespace/cluster-name/{profiles.yaml,flux-system/*.yaml}

During upgrade additional migration will be required:

  • Update ClusterBootstrapConfig to include namespace in the path to the flux bootstrap command. Before doing this bootstrapping new clusters will not work.
  • Move cluster.yaml files into new git layout and update leaf cluster gotk-sync.yaml files. Before doing this deleting existing clusters via the UI will not work. e.g.
    1. git mv clusters/management/clusters/my-cluster.yaml clusters/management/clusters/my-clusters-namespace/my-cluster.yaml
    2. vim clusters/my-cluster/flux-system/gotk-sync.yaml, and change Kustomization.spec.path to include the path:
      • old: ./clusters/my-cluster.yaml
      • new: ./clusters/my-clusters-namespace/my-cluster.yaml
    3. git commit and git push. The leaf clusters will now be an erroring state as the path is wrong
    4. Now move the leaf cluster flux-system into the correct path git mv clusters/my-cluster clusters/my-clusters-namespace/my-cluster
    5. git commit and git push. The leaf clusters errors should resolve as they can now find the files in the correct path.

createNamespace: true is set on created profiles

If a profile / helm-chart defines the release namespace explicitly in its templates, this should be removed.

Cluster readiness

A GitopsCluster now becomes ready when the Secret or Cluster object exists in the cluster.

go-template support in templates

The CAPITemplate CRD has been updated, make sure you have install.crds and upgrade.crds set in the weave-gitops-enterprise helm-release file so that the CRD is reloaded correctly.

spec:
  install:
    crds: CreateReplace
  upgrade:
    crds: CreateReplace

🔥 UI

  • PR: #1056 - Update Policy details & violations details route
  • PR: #1053 - move PD api endpoints to hooks

🐛 Bugs

  • PR: #1052 - Correct the namespace in the path we write files to.
Uncategorized

v0.9.0-rc.2

05 Jul 13:46
ef77752
Compare
Choose a tag to compare
v0.9.0-rc.2 Pre-release
Pre-release

Known issues

  • Setting namespace of cluster in create-cluster form writes out to wrong path in git #1051
  • Policy details page on leaf clusters shows a 404 #1055

Breaking changes from 0.8.1

Directory structure includes GitopsCluster namespace

The new paths:

  • ./clusters/management/clusters/namespace/cluster-name.yaml
  • ./clusters/namespace/cluster-name/{profiles.yaml,flux-system/*.yaml}

During upgrade additional migration will be required:

  • Update ClusterBootstrapConfig to include namespace in the path to the flux bootstrap command. Before doing this bootstrapping new clusters will not work.
  • Move cluster.yaml files into new git layout and update leaf cluster gotk-sync.yaml files. Before doing this deleting existing clusters via the UI will not work. e.g.
    1. git mv clusters/management/clusters/my-cluster.yaml clusters/management/clusters/my-clusters-namespace/my-cluster.yaml
    2. vim clusters/my-cluster/flux-system/gotk-sync.yaml, and change Kustomization.spec.path to include the path:
      • old: ./clusters/my-cluster.yaml
      • new: ./clusters/my-clusters-namespace/my-cluster.yaml
    3. git commit and git push. The leaf clusters will now be an erroring state as the path is wrong
    4. Now move the leaf cluster flux-system into the correct path git mv clusters/my-cluster clusters/my-clusters-namespace/my-cluster
    5. git commit and git push. The leaf clusters errors should resolve as they can now find the files in the correct path.

createNamespace: true is set on created profiles

If a profile / helm-chart defines the release namespace explicitly in its templates, this should be removed.

Cluster readiness

A GitopsCluster now becomes ready when the Secret or Cluster object exists in the cluster.

go-template support in templates

The CAPITemplate CRD has been updated, make sure you have install.crds and upgrade.crds set in the weave-gitops-enterprise helm-release file so that the CRD is reloaded correctly.

spec:
  install:
    crds: CreateReplace
  upgrade:
    crds: CreateReplace

🔥 UI

  • PR: #1046 - UI: provide cluster namespace when fetching kubeconfig
  • PR: #984 - Show events for a canary deployment

🐛 Bugs

  • PR: #1047 - fix: set controlPlaneInitialized when available
  • PR: #1054 - Update the CAPITemplate and GitOpsTemplate CRDs in the helm chart
Uncategorized
  • PR: #1049 - Fixes the acceptance tests on main

v0.9.0-rc.1

04 Jul 12:51
c1f8fd1
Compare
Choose a tag to compare
v0.9.0-rc.1 Pre-release
Pre-release

Known issues

  • Setting namespace of cluster in create-cluster form writes out to wrong path in git #1051
  • Policy details page on leaf clusters shows a 404 #1055

Breaking changes from 0.8.1

Directory structure includes GitopsCluster namespace

The new paths:

  • ./clusters/management/clusters/namespace/cluster-name.yaml
  • ./clusters/namespace/cluster-name/{profiles.yaml,flux-system/*.yaml}

During upgrade additional migration will be required:

  • Update ClusterBootstrapConfig to include namespace in the path to the flux bootstrap command. Before doing this bootstrapping new clusters will not work.
  • Move cluster.yaml files into new git layout and update leaf cluster gotk-sync.yaml files. Before doing this deleting existing clusters via the UI will not work. e.g.
    1. git mv clusters/management/clusters/my-cluster.yaml clusters/management/clusters/my-clusters-namespace/my-cluster.yaml
    2. vim clusters/my-cluster/flux-system/gotk-sync.yaml, and change Kustomization.spec.path to include the path:
      • old: ./clusters/my-cluster.yaml
      • new: ./clusters/my-clusters-namespace/my-cluster.yaml
    3. git commit and git push. The leaf clusters will now be an erroring state as the path is wrong
    4. Now move the leaf cluster flux-system into the correct path git mv clusters/my-cluster clusters/my-clusters-namespace/my-cluster
    5. git commit and git push. The leaf clusters errors should resolve as they can now find the files in the correct path.

createNamespace: true is set on created profiles

If a profile / helm-chart defines the release namespace explicitly in its templates, this should be removed.

Cluster readiness

A GitopsCluster now becomes ready when the Secret or Cluster object exists in the cluster.

go-template support in templates

The CAPITemplate CRD has been updated, make sure you have install.crds and upgrade.crds set in the weave-gitops-enterprise helm-release file so that the CRD is reloaded correctly.

spec:
  install:
    crds: CreateReplace
  upgrade:
    crds: CreateReplace

🚀 Enhancements

  • PR: #917 - [UI] Individual cluster page
  • PR: #934 - Progressive Delivery Flow - UI
  • PR: #963 - feat: add policy violations multi cluster
  • PR: #988 - add ingress template to helm chart
  • PR: #994 - add config for service annotations on helm chart
  • PR: #956 - Violation logs shows violations on leaf clusters
  • PR: #989 - Compress http response
  • PR: #952 - Go templating for CAPI templates
  • PR: #992 - Add ListEvents endpoint
  • PR: #954 - Clusters across namespaces
  • PR: #1014 - Upgrade to core v0.9.0
  • PR: #1016 - Upgrade to cluster-controller w/ finalizer

🔥 UI

  • PR: #960 - [UI] Use useQuery for api calls
  • PR: #1012 - WG902 Profiles are very slow to load on the create-a-cluster page

🐛 Bugs

  • PR: #948 - chore: Bump progressive-delivery version
  • PR: #922 - Reconcile the Default and management naming in the UI
  • PR: #957 - Handle invalid annotations.
  • PR: #977 - Ensure profile namespaces exist.
  • PR: #959 - Updating a profile upgrades the CRD
  • PR: #1009 - fix error message when missing entitlement

🧪 Tests

  • PR: #945 - Add policies acceptance test
  • PR: #993 - Violations acceptance test
Uncategorized
  • PR: #967 - chore: Bump progressive-delivery version
  • PR: #968 - fix: Add missing logger
  • PR: #981 - fix: Remove feature flag from progressive delivery API
  • PR: #962 - Add example front-end tests
  • PR: #1011 - add section about managing multiple clusters
  • PR: #965 - add validation for namespace in template PR creation
  • PR: #1036 - [UI] Small fixes prior to release
  • PR: #1035 - Fixes to clusters-in-any-namespace
  • PR: #1039 - Add prerequisites to CONTRIBUTING
  • PR: #1034 - Disable the "Delivery" item in the navbar so we can release

v0.8.1

14 Jun 14:40
v0.8.1
5bb904f
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

🚀 Enhancements

  • PR: #891 - Clusters annotations
  • PR: #912 - feat: define namespace profile
  • PR: #923 - show error message if there are errors connecting to leaf clusters in policy view component
  • PR: #937 - feat: Add progressive delivery handlers
  • PR: #933 - 925 add namespace to profile

🐛 Bugs

  • PR: #920 - [UI] Applications/Sources pages crash the UI if a cluster cannot be reached
  • PR: #944 - fix: Bump progressive-delivery version

🧪 Tests

  • PR: #924 - Added applications sanity acceptnce test
Uncategorized
  • PR: #931 - allow setting empty capi clusters namespace
  • PR: #936 - Freeze helm version for CI test jobs

v0.8.1-rc.3

03 Jun 11:21
5ed96ee
Compare
Choose a tag to compare
v0.8.1-rc.3 Pre-release
Pre-release

🚀 Enhancements

  • PR: #852 - set crd update policy in profile helm release
  • PR: #908 - Upgrade to weave-gitops v0.8.1

🐛 Bugs

  • PR: #892 - Cluster count needs to include mg cluster / Reconciliation graph is very small and not really usable
  • PR: #887 - Wait until cluster is ready before adding to MC-query client + move client creation out of middleware
  • PR: #905 - Adds reading events to default RBAC to view policy violations
  • PR: #906 - Gives wego-admin a ClusterRoleBinding for reading apps

🧪 Tests

  • PR: #890 - Added UI kind leaf GitopsCluster acceptance test
Uncategorized

v0.8.1-rc.2

31 May 15:09
e1a3b61
Compare
Choose a tag to compare
v0.8.1-rc.2 Pre-release
Pre-release

Upgrade notes and Breaking changes

  • The bootstrap annotation has moved from the Cluster to the GitopsCluster! Move the bootstrapping label across. Any ClusterResourceSet labels should however stay on the Cluster object.

Known issues

🚀 Enhancements

  • PR: #703 - Upgrade the cluster-bootstrap-controller to GitopsCluster support
  • PR: #636 - Admission Ctrl Logs | View Management Cluster Violation Events
  • PR: #687 - [UI] MultiCluster and updates to Connect a Cluster
  • PR: #769 - core(deps): Use Go 1.18
  • PR: #779 - Auth flags cleanup
  • PR: #789 - feat: #704: process template variables in profile values
  • PR: #801 - Reverse sort available chart versions in profiles.
  • PR: #714 - Add tf-controller templates to add command next to CAPI templates
  • PR: #790 - Remove the SQLite DB, wkp-agent, event-writer and NATS
  • PR: #778 - feat: add policies multi cluster
  • PR: #770 - Add filter by type to ListGitopsClusters
  • PR: #824 - Native Builds
  • PR: #836 - Rename GitopsTemplate to GitOpsTemplate
  • PR: #856 - Upgrade weave-gitops to v0.8.1-rc.5
  • PR: #741 - Add pagination support to ListGitopsClusters
  • PR: #792 - init EnterpriseClientContext to support same API interception for Unauthorized Users
  • PR: #827 - Return the management cluster in /v1/clusters response
  • PR: #882 - show policies from leaf clusters on the policies page

🔥 UI

  • PR: #775 - [UI] Styling updates

🐛 Bugs

  • PR: #732 - add specific title to application and sources breadcrumb
  • PR: #783 - Type fix
  • PR: #863 - Fixes upgrade test, GITOPS_GIT_HOST_TYPES -> WEAVE_GITOPS_GIT_HOST_TYPES
  • PR: #862 - [UI] Profile version gets reset on selection of new profile / Form selection fields are cut off
  • PR: #865 - Fix bug when deduplicating the discovered credentials.
  • PR: #880 - Upgrade to a weave-gitops core that has reverse-semver profile sorting

🧪 Tests

  • PR: #657 - Add ingress-ngix support for TLS termination
  • PR: #762 - Add capa/capg capi providers
Uncategorized
  • PR: #725 - docs: Add common dev workflows
  • PR: #743 - clean policy-agent resources as part of cluster reset/cleanup
  • PR: #756 - Fix upgrade test for Gitopscluster cluster section
  • PR: #680 - Re-jig docker files to build in docker, add tilt file
  • PR: #760 - docs: fix dev username
  • PR: #772 - Skip checking PR link in a toast
  • PR: #782 - fix: use "go install" instead of "go get" to install binaries
  • PR: #785 - fix: remove "-u" flag from go install
  • PR: #796 - Small fixes and tweaks for nightly cluster cleanup
  • PR: #811 - Increase browser window size as on macOS some tests fail randomly
  • PR: #777 - Update instructions on how to update core in EE
  • PR: #813 - refactor: Manage dependencies with Makefile
  • PR: #886 - Added a readme for adrs

v0.8.1-rc.1

11 May 09:40
349a4c8
Compare
Choose a tag to compare
v0.8.1-rc.1 Pre-release
Pre-release

🚀 Enhancements

  • PR: #678 - feat: Wire core handlers with MultiClusterFetcher
  • PR: #699 - Return capi-cluster CR
  • PR: #713 - Omit prune annotation from GitopsCluster object
  • PR: #726 - Upgrade BE to [email protected]

🐛 Bugs

  • PR: #696 - Tidy impersonator role
  • PR: #722 - Adds secrets to the app-reader role
  • PR: #719 - Add a "common" kustomization so leaf clusters have rbac

🧪 Tests

  • PR: #679 - Fixed upgrade test after new core integration
Uncategorized
  • PR: #691 - chore: Update terraform
  • PR: #710 - Login to management cluster after switching contexts
  • PR: #681 - Fix nightly CI faling jobs
  • PR: #720 - Install policy agent for acceptance tests

v0.8.0-rc.1

03 May 13:30
e822fa9
Compare
Choose a tag to compare
v0.8.0-rc.1 Pre-release
Pre-release

🐛 Bugs

  • PR: #686 - [UI] Routes & layout fixes for CORE resources
Uncategorized

v0.7.0-rc.2

29 Apr 12:01
5e9eb78
Compare
Choose a tag to compare
v0.7.0-rc.2 Pre-release
Pre-release

🚀 Enhancements

  • PR: #668 - feat: Add cluster-controller chart as a dependency
  • PR: #685 - Adds default role-bindings for the admin user
Uncategorized
  • PR: #650 - Connect ListGitopsClusters up to the server

v0.7.0-rc.1

26 Apr 14:54
87add33
Compare
Choose a tag to compare
v0.7.0-rc.1 Pre-release
Pre-release

Notes

  • New versioning scheme. v0.7.0 is the successor to v0.0.20
  • Includes new Policy UI!
  • Uses new core:reloaded
  • Checks for entitlements by default in flux-system
  • Writes new cluster manifests to clusters/management/clusters by default so make sure flux reconciles this path to into the management cluster
    • configured via values.config.capi.repositoryPath and could for example be changed to clusters/my-cluster/clusters
  • Writes new cluster profiles to clusters/${cluster-name}/profiles.yaml by default so make sure flux does not reconcile this path into the management cluster
    • ./clusters prefix can be configured via values.config.capi.repositoryClustersPath
  • TLS is enabled by default but can be disabled via values.tls.enabled if it is handled by another ingress controller. A TLS secret can be provided by values.tls.secretName (e.g. generated by cert-manager)
  • Built in rbac cluster roles that should be bound to the OIDC users:
    • gitops-apps-reader: flux objects
    • gitops-configmaps-reader: config (?)
    • gitops-templates-reader: capi-templates
    • gitops-identities-reader: common capi identities
    • gitops-secrets-reader: kubeconfig secrets
    • gitops-policies-reader: policies
  • When using self-signed certs and "Connecting the management cluster to itself", The kubectl command presented in the UI will not work and you'll see a x509 cert error. Use curl --insecure to fetch the agent.yaml manifest first and then kubectl apply it.

🚀 Enhancements

  • PR: #525 - Add an endpoint to list GitopsCluster objects
  • PR: #610 - Add policy list view
  • PR: #622 - capitalize severity name and update policy table header to policy name
  • PR: #601 - Enterprise: reloaded
  • PR: #632 - Add policy details
  • PR: #649 - Adds some default user-roles to the helm-chart
  • PR: #660 - Allow configuration of the clusters workloads path
  • PR: #648 - ui: Use newer gitops-core
  • PR: #654 - feat: Add MultiClusterFetcher
  • PR: #662 - Isolate Policy details minor changes for Releasing
  • PR: #584 - Upgrade the cluster-bootstrap-controller to use v0.0.5 in helm-chart

🐛 Bugs

  • PR: #634 - [UI] GitAuth token validity check
  • PR: #653 - [UI] Styling updates following integration
  • PR: #667 - fix!: Change entitlement ns to be flux-system
  • PR: #666 - [UI] Fixes after integration

🧪 Tests

  • PR: #625 - Enable auth disable cli acceptance tests
  • PR: #631 - Added user authentication settings to acceptance tests doc
Uncategorized
  • PR: #607 - Remove multiple gitops installs and config repositiry creation/deletion
  • PR: #606 - Remove redundant step
  • PR: #608 - Add demo-04 EKS cluster
  • PR: #620 - chore(api): use new policy scheme
  • PR: #624 - chore(api): use ISO format for policy create time
  • PR: #597 - [Snyk] Security upgrade d3-scale from 3.2.1 to 4.0.0
  • PR: #630 - Fixed intermittent login reset due to cluster service restart
  • PR: #633 - Push a WGE chart with a semver version upon merge on main
  • PR: #615 - [UI] Refactor Clusters/Alerts continuous polling with react query
  • PR: #644 - Update gitops binary for workflows
  • PR: #638 - Add EKS kubeconfig as output
  • PR: #647 - Updated RBAC for acceptance tests for applications and sources
  • PR: #592 - contributing: Reorganise and clarify how to build the project
  • PR: #674 - chore: Remove deprecated binary
  • PR: #675 - chore: clean up policy parameter value for policy details view
  • PR: #676 - Update the UI to weave-gitops 0.7.1-rc.3