Cluster API IPAM Provider In Cluster - packaged as a Giant Swarm app.
This repository is primary used to import the upstream Cluster API IPAM Provider In Cluster manifests into Giant Swarm's own app catalog.
Content of the /helm
directory will be bundled, released and pushed to the app-catalog
via architect
. This happens automatically and is done by this circleCI
configuration.
To keep it quite easy to update the manifest from upstream, we don't change the fetched manifests directly. All Giant Swarm specific adjustments get applied via
kustomize
.
This app contains a helm chart for cluster-api-ipam-provider-in-cluster
.
The application itself assumes IpAddress
and IpAddressClaim
custom resource definitions to exist in the cluster.
These are installed together with common CAPI CRDs.
- if not already done, run
make fetch-upstream-manifest
(only has to be done once)upstream manifest will be stored in
config/kustomize/origin
- write your desired changes as kustomize patches in [config/kustomize]
- run
make apply-kustomize-patches
to apply the changes\nthis will generate a patched version under
config/kustomize/tmp
- once you're done, run
make release-manifests
to move all relevant files into thehelm/cluster-api-ipam-provider-in-cluster
folder
- edit the value of
TAG_TO_SYNC
in the Makefile to the desired commit to pin in the source repo. - run
make all
- also make sure the tag of the container image in the default values.yaml is updated if you want to use the newly released thing
k gs template app --catalog control-plane-test-catalog \
--name cluster-api-ipam-provider-in-cluster \
--target-namespace default \
--organization giantswarm \
--cluster-name foo \
--version <latest-released-version>-gitSHa | k apply -f -