command
Version:
v0.0.0-...-4291316
Opens a new window with list of versions in this module.
Published: May 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
SiteConfig generator
The siteconfig-generator library makes cluster deployment easier by generating the following CRs based on a SiteConfig CR instance;
- AgentClusterInstall
- ClusterDeployment
- NMStateConfig
- KlusterletAddonConfig
- ManagedCluster
- InfraEnv
- BareMetalHost
- HostFirmwareSettings
- ConfigMap for extra-manifest configurations
The SiteConfig is a Custom Resource created to facilitate the creation of those CRs and avoid repeating the configuration names.
Build and execute
- Run the following command to build siteconfig-generator binary
$ make build
- Run the following command to execute the unit test
$ make test
- Run the following command to execute siteconfig-generator binary with a SiteConfig example
$ ./siteconfig-generator -manifestPath ../source-crs/extra-manifest ../siteconfig-generator-kustomize-plugin/testSiteConfig/site2-sno-du.yaml
Note: the manifestPath option is to set the predefined extra-manifest path exist under ../source-crs/extra-manifest
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.