Skip to content

Commit

Permalink
Merge branch 'main' into remove-script
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Dec 13, 2024
2 parents 626c0ef + c4bb436 commit 2367204
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 40 deletions.
3 changes: 2 additions & 1 deletion scripts/update-helm-chart-reference/main.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

HELM_CHART_DOCS_GENERATOR_VERSION=0.2.0
DESTINATION=src/content/vintage/use-the-api/management-api/cluster-apps

DESTINATION=src/content/reference/platform-api/cluster-apps

# Clear output folder
find ${DESTINATION} -type f -not -name "_index.md" | xargs -I '{}' rm '{}'
Expand Down
11 changes: 7 additions & 4 deletions scripts/update-website-content/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 scripts/update-website-content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"devDependencies": {
"@types/node": "^16.9.1",
"ts-node": "10.2.1",
"typescript": "4.4.3"
"typescript": "4.9.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ user_questions:
- How to ensure security by combining Flux with the platform API permission model?
owner:
- https://github.com/orgs/giantswarm/teams/team-honeybadger
last_review_date: 2024-11-11
last_review_date: 2024-12-12
---

Below you will learn how to manage infrastructure and applications in the Giant Swarm `Flux` setup.
Expand Down Expand Up @@ -227,6 +227,21 @@ The command will create the folders and the files needed. If you already applied

Alternatively, you can add the flag `--cluster-user-config` with the values you want to add to the cluster and it will generate a `ConfigMap` with the values.

#### Upgrading workload clusters

To upgrade a workload cluster, you need to change the `release.version` field in the `cluster-user-config` file. After that, you commit and push the changes to the repository. The `Flux` controller will detect the changes and the cluster will be upgraded to the new version. The release version can be found by running `kubectl get releases` in the management cluster. You only need to set the version in the `release.version` field.

Example:

`kubectl get releases`:

```sh
NAME KUBERNETES VERSION FLATCAR VERSION AGE STATE
aws-29.4.0 1.29.10 3975.2.2 29d active
```

You set the `release.version` in the `cluster-user-config` file to `29.4.0` and commit and push the changes.

### Installing managed apps

Installing applications is easy now that you have the GitOps structure in place. In this tutorial you are going to install `Grafana` to understand the process.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-aws
description: A helm chart for creating Cluster API clusters with the AWS infrastructure provider (CAPA).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-aws
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-aws
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-aws?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-azure
description: A helm chart for creating Cluster API clusters with the Azure infrastructure provider (CAPZ).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-azure
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-azure
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-azure?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-cloud-director
description: A helm chart for creating Cluster API clusters with the VMware Cloud Director (VCD) infrastructure provider (CAPVCD).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-cloud-director
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-cloud-director
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-cloud-director?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-eks
description: A helm chart for creating Cluster API EKS clusters with the AWS infrastructure provider (CAPA).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-eks
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-eks
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-eks?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster-vsphere
description: A helm chart for creating Cluster API clusters with the vSphere provider (CAPV).; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster-vsphere
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster-vsphere
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster-vsphere?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: cluster
description: Giant Swarm cluster chart with provider-independent cluster resources; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: cluster
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-cluster
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for cluster?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-aws
description: A Helm chart for default-apps-aws; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-aws
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-aws
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-aws?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-azure
description: A Helm chart defining the preinstalled apps running in all Giant Swarm Azure clusters.; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-azure
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-azure
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-azure?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-cloud-director
description: A Helm chart which defines the pre-installed apps in all Giant Swarm Cloud Director (VCD) clusters; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-cloud-director
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-cloud-director
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-cloud-director?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-eks
description: A Helm chart for default-apps-eks; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-eks
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-eks
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-eks?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ linkTitle: default-apps-vsphere
description: A Helm chart which defines the pre-installed apps in all Giant Swarm vSphere clusters; Check here the different properties of the chart.
weight: 100
menu:
principal:
identifier: default-apps-vsphere
parent: reference-cluster-apps
main:
identifier: uiapi-cluster-apps-default-apps-vsphere
parent: uiapi-cluster-apps
layout: cluster-app
user_questions:
- What properties can I configure for default-apps-vsphere?
Expand Down

0 comments on commit 2367204

Please sign in to comment.