@pulumi-packs/kubernetes-cluster-api
v0.3.4
Published
Pulumi Kubernetes Cluster API Integrations
Downloads
4
Readme
Cluster API for Pulumi
Installation
yarn add @pulumi-packs/cluster-api
# or
npm install --save @pulumi-packs/cluster-api
Getting Started
This package provides a helper function to bootstrap your management cluster with Cluster API.
import { init, ClusterApiConfig, FeatureGate } from "@pulumi-packs/cluster-api";
const capiConfig: ClusterApiConfig = {
installCertManager: false,
certManagerVersion: "",
enableFeatureGates: [FeatureGate.ClusterResourceSet],
kubernetesProvider: provider,
}
const capiManifests = init(capiConfig);
Cert Manager
Cluster API requires cert-manager within your management cluster.
You can provide installCertManager: true
in your ClusterApiConfig
to have the init
function install this for you.
This will also require certManagerVersion
to be set also. 1.0.4
is the latest, and tested, version.
Feature Gates
Currently, Cluster API supports two feature gates:
- ClusterResourceSet
- MachinePool
These can be enabled via the enum type, FeatureGate
, when providing your config to the init
function.
An empty array will not enable any feature gates.