siteconfig-generator

command
v0.0.0-...-4291316 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL