Documentation
¶
Index ¶
- Constants
- func InstallStackstateCRD(client *rancher.Client) error
- func NewStackstateCRDConfiguration(namespace, name string, stackstateCRDConfig *StackStateConfig) *unstructured.Unstructured
- func WhitelistStackstateDomains(client *rancher.Client, whitelistDomains []string) error
- type StackStateConfig
Constants ¶
View Source
const ( // Public Constants StackstateName = "stackstate" ObservabilitySteveType = "configurations.observability.rancher.io" CrdGroup = "observability.rancher.io" ApiExtenisonsCRD = "apiextensions.k8s.io.customresourcedefinition" )
Variables ¶
This section is empty.
Functions ¶
func InstallStackstateCRD ¶
InstallStackstateCRD is a helper that utilizes the rancher client and installs the stackstate crds.
func NewStackstateCRDConfiguration ¶
func NewStackstateCRDConfiguration(namespace, name string, stackstateCRDConfig *StackStateConfig) *unstructured.Unstructured
NewStackstateCRDConfiguration is a constructor that takes in the configuration and creates an unstructured type to install the CRD
func WhitelistStackstateDomains ¶
WhitelistStackstateDomains is a helper that utilizes the rancher client and add the stackstate domains to whitelist them. This is a temporary solution from upstream and will need to be removed once this has been fixed.
Types ¶
Click to show internal directories.
Click to hide internal directories.