Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(options Options, manifestsBase string) (*manifestgen.Manifest, error)
Generate returns the install manifests as a multi-doc YAML. The manifests are built from a GitHub release or from a Kustomize overlay if the supplied Options.BaseURL is a local path. The manifestsBase should be set to an empty string when Generate is called by consumers that don't embed the manifests.
func GetGenWarning ¶
GetGenWarning generates a consistent generation warning in the install case in the following format: # This manifest was generated by kjournal. DO NOT EDIT. # kjournal version: v0.0.1
func GetLatestVersion ¶
GetLatestVersion calls the GitHub API and returns the latest released version.
Types ¶
type Options ¶
type Options struct { AsKustomization bool Base string Version string Namespace string Registry string ImagePullSecret string NetworkPolicy bool CertManager bool ServiceMonitor bool ConfigTemplate string LogLevel string ManifestFile string Timeout time.Duration TargetPath string ClusterDomain string }
func MakeDefaultOptions ¶
func MakeDefaultOptions() Options
Click to show internal directories.
Click to hide internal directories.