Skip to content

Commit

Permalink
CAPVCD: Release v27.0.0. (#1484)
Browse files Browse the repository at this point in the history
* cloud-director v27.0.0

* Update kustomization.yaml

* Update announcement.md

* Update release.yaml

* Update release.yaml

* set cluster-cloud-director version

* CAPVCD v27.0.0: Fix version extraction.

* CAPVCD v27.0.0: Comment on Kustomization exception.

* Renovate: Add `cloud-director`.

* CAPVCD v27.0.0: Use `cloud-provider-cloud-director`.

* bump cloud-director app version

---------

Co-authored-by: Marco Ebert <[email protected]>
  • Loading branch information
njuettner and Gacko authored Nov 13, 2024
1 parent ba1cf8f commit 82bf3d7
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,12 @@ to all Giant Swarm installations.
- [v27.0.1](https://github.com/giantswarm/releases/tree/master/vsphere/v27.0.1)
- [v27.0.0](https://github.com/giantswarm/releases/tree/master/vsphere/v27.0.0)

## VMware Cloud Director

- v27
- v27.0
- [v27.0.0](https://github.com/giantswarm/releases/tree/master/cloud-director/v27.0.0)

# Running tests against PRs

## Workload Cluster End-to-End Tests
Expand Down
Empty file.
17 changes: 17 additions & 0 deletions cloud-director/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
resources:
- v27.0.0

commonAnnotations:
giantswarm.io/docs: https://docs.giantswarm.io/use-the-api/management-api/crd/releases.release.giantswarm.io

transformers:
- |
apiVersion: builtin
kind: PrefixSuffixTransformer
metadata:
name: release-notes
fieldSpecs:
- group: release.giantswarm.io
kind: Release
path: metadata/annotations/giantswarm.io\/release-notes
prefix: https://github.com/giantswarm/releases/tree/master/cloud-director/v
14 changes: 14 additions & 0 deletions cloud-director/releases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"releases": [
{
"version": "27.0.0",
"isDeprecated": false,
"releaseTimestamp": "2024-11-07 12:00:00 +0000 UTC",
"changelogUrl": "https://github.com/giantswarm/releases/blob/master/cloud-director/v27.0.0/README.md",
"isStable": true
}
],
"sourceUrl": "https://github.com/giantswarm/releases",
"changelogUrl": "https://github.com/giantswarm/releases/blob/main/README.md",
"homepage": "https://giantswarm.io"
}
21 changes: 21 additions & 0 deletions cloud-director/requests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
releases:
- name: "< 30.0.0"
requests:
- name: cilium
version: "< 0.26.0"
- name: ">= 29.1.0"
requests:
- name: observability-bundle
version: ">= 1.8.0"
- name: security-bundle
version: ">= 1.9.0"
- name: "> 29.0.0"
requests:
- name: observability-bundle
version: ">= 1.6.2"
- name: security-bundle
version: ">= 1.8.2"
- name: "> 29.0.0"
requests:
- name: cert-exporter
version: ">= 2.9.2"
16 changes: 16 additions & 0 deletions cloud-director/v27.0.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# :zap: Giant Swarm Release v27.0.0 for VMware Cloud Director :zap:

We are happy to announce the first release for VMware Cloud Director that uses the new release framework.

## Migration to new releases flow

In order to consume the new flow, the following two fields need to be manually adapted:

* In ConfigMap `<cluster name>-userconfig` set `.Values.global.release` to the release version, e.g. `27.0.0`.
* In App `<cluster name>` remove the `spec.version` field. In case of GitOps, Flux might complain that the app manifest is invalid as the `spec.version` field is mandatory. In that case, edit the live App CR and set `spec.version` to an empty string. That will unblock Flux and allow it reconcile successfully.

And if you want to use `kubectl-gs` to create a cluster, you'd need to now specify the release version, e.g.:

```bash
kubectl-gs template cluster --provider cloud-director --organization my_org --name cluster_name --release v27.0.0
```
3 changes: 3 additions & 0 deletions cloud-director/v27.0.0/announcement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Workload cluster release v27.0.0 for VMware Cloud Director is available**. This release upgrades Kubernetes to v1.27.

Further details can be found in the [release notes](https://docs.giantswarm.io/changes/workload-cluster-releases-cloud-director/releases/cloud-director-27.0.0).
20 changes: 20 additions & 0 deletions cloud-director/v27.0.0/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
resources:
- release.yaml

replacements:
- source:
group: release.giantswarm.io
kind: Release
fieldPath: metadata.name
options:
delimiter: "-"
# Need to target index 2 here as `cloud-director` itself already contains a hyphen.
index: 2
targets:
- select:
group: release.giantswarm.io
kind: Release
fieldPaths:
- metadata.annotations.[giantswarm.io/release-notes]
options:
create: true
104 changes: 104 additions & 0 deletions cloud-director/v27.0.0/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
apiVersion: release.giantswarm.io/v1alpha1
kind: Release
metadata:
name: cloud-director-27.0.0
spec:
apps:
- name: capi-node-labeler
version: 0.5.0
- name: cert-exporter
version: 2.9.1
dependsOn:
- kyverno-crds
- name: cert-manager
version: 3.8.1
dependsOn:
- prometheus-operator-crd
- name: chart-operator-extensions
version: 1.1.2
dependsOn:
- prometheus-operator-crd
- name: cilium
version: 0.25.1
- name: cilium-servicemonitors
version: 0.1.2
dependsOn:
- prometheus-operator-crd
- name: cloud-provider-cloud-director
version: 0.3.1
dependsOn:
- cilium
- name: coredns
version: 1.21.0
dependsOn:
- cilium
- name: etcd-k8s-res-count-exporter
version: 1.10.0
dependsOn:
- kyverno-crds
- name: external-dns
version: 3.1.0
dependsOn:
- prometheus-operator-crd
- name: k8s-audit-metrics
version: 0.10.0
dependsOn:
- kyverno-crds
- name: k8s-dns-node-cache
version: 2.8.1
dependsOn:
- kyverno-crds
- name: metrics-server
version: 2.4.2
dependsOn:
- kyverno-crds
- name: net-exporter
version: 1.21.0
dependsOn:
- prometheus-operator-crd
- name: network-policies
catalog: cluster
version: 0.1.1
dependsOn:
- cilium
- name: node-exporter
version: 1.19.0
dependsOn:
- kyverno-crds
- name: observability-bundle
version: 1.5.3
dependsOn:
- coredns
- name: observability-policies
version: 0.0.1
dependsOn:
- kyverno-crds
- name: prometheus-blackbox-exporter
version: 0.4.2
dependsOn:
- prometheus-operator-crd
- name: security-bundle
catalog: giantswarm
version: 1.8.0
dependsOn:
- prometheus-operator-crd
- name: teleport-kube-agent
version: 0.9.2
- name: vertical-pod-autoscaler
version: 5.2.4
dependsOn:
- prometheus-operator-crd
- name: vertical-pod-autoscaler-crd
version: 3.1.0
components:
- name: cluster-cloud-director
catalog: cluster
version: 0.63.1
- name: flatcar
version: 3815.2.5
- name: kubernetes
version: 1.27.16
- name: os-tooling
version: 1.20.1
date: "2024-11-07T12:00:00Z"
state: active
2 changes: 1 addition & 1 deletion renovate.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type GiantSwarmRelease struct {
}

func main() {
directories := []string{"capa", "azure", "vsphere"}
directories := []string{"capa", "azure", "vsphere", "cloud-director"}
for _, dir := range directories {
releases := Releases{
SourceUrl: "https://github.com/giantswarm/releases",
Expand Down

0 comments on commit 82bf3d7

Please sign in to comment.