This project manages the Kyma cluster infrastructure. It's built using the kubebuilder framework.
It's currently responsible for generating and rotating Secrets containing dynamic kubeconfigs.
git clone https://github.com/kyma-project/infrastructure-manager.git && cd infrastructure-manager/
infrastructure-manager
image name.export IMG=custom-infrastructure-manager:0.0.1
export K3D_CLUSTER_NAME=infrastructure-manager-demo
make build
make docker-build
make deploy
export GARDENER_KUBECONFIG_PATH=<kubeconfig file for Gardener project>
make gardener-secret-deploy
Infrastructure Manager is responsible for creating and rotating Secrets of clusters defined in the GardenerCluster
custom resources (CRs). The sample CR is available here.
Secrets are rotated based on kubeconfig-expiration-time
. See Configuration for more details.
It's possible to force the Secret rotation before the time-based rotation kicks in. To do that, add the operator.kyma-project.io/force-kubeconfig-rotation: "true"
annotation to the GardenCluster
CR.
See CONTRIBUTING.md
See the LICENSE file