Skip to main content
Version: 1.71.x

The 23KE config git repository

As already introduced in the architecture diagram, values for the helm charts deployed for the Gardener installation are configured and maintained in a GitOps workflow. Assuming that the initial state of your configuration git repository was set up by 23kectl, your repository tree looks like this:

.
├── config
│   ├── cloudprofiles-values.yaml
│   ├── dashboard-values.yaml
│   ├── extensions-values.yaml
│   ├── gardener-values.yaml
│   ├── gardenlet-values.yaml
│   ├── identity-values.yaml
│   └── kustomization.yaml
├── flux
│   ├── 23ke-env-config.yaml
│   └── 23ke-env-garden-content.yaml
├── garden-content
│   ├── admin-clusterrolebinding.yaml
│   ├── kustomization.yaml
│   ├── project-dev.yaml
│   └── rbac.yaml
└── kustomization.yaml

The top-level kustomization.yaml file contains Kustomization pointing to the files in the flux directory. Inside the flux directory two flux Kustomizations Kustomizations reside which point to the config directory and the garden-content directory.

caution

The top-level kustomization.yaml is of type kustomize.config.k8s.io/v1beta1, whereas the Kustomizations in the flux directory are of type kustomize.toolkit.fluxcd.io/v1beta2. Therefore, you will only find the Kustomizations defined in the flux directory in your base cluster, when watching Kustomization resources.

The config Directory

In the config directory, you find configuration files defining values for the deployed helm charts. All files entail the same "header", and are constructed like in the following example for cloudprofiles-values.yaml

apiVersion: v1
kind: Secret
metadata:
name: cloudprofiles-values
namespace: flux-system
type: Opaque
stringData:
values.yaml: |

Below of the key stringData.values.yaml you can extend the configuration already generated by 23kectl or insert your own configuration.

tip

As the upstream helm charts are distributed over several repositories, there is no single documentation page for possible helm chart values. You can get information on the default values by e.g.

helm repo add gardener-charts https://gardener-community.github.io/gardener-charts
helm repo update
helm show values gardener-charts/<CHART_NAME>

The garden-content Directory

In the garden-content Directory, resources to be deployed to the virtual garden are defined. You can easily add some resources, if you need more than the very basic configuration generated by 23kectl does not fit your needs. For instance, you can create Projects or further Cloudprofiles here.

note

The garden-content folder also contains a kustomization.yaml file which just lists the resources to be deployed to the virtual garden. You can just comment our resources you do not want to deploy for a moment but still keep in you git repository for documentation purposes.