Documentation
¶
Overview ¶
Package common contains utility functions used by different components
Index ¶
- func CreateNamespace(cli client.Client, namespace string) error
- func CreateSecret(cli client.Client, name, namespace string) error
- func ReplaceStringsInFile(fileName string, replacements map[string]string) error
- func UpdatePodSecurityRolebinding(cli client.Client, serviceAccountsList []string, namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNamespace ¶ added in v2.1.0
CreateNamespace creates namespace required by workbenches component in downstream.
func CreateSecret ¶ added in v2.1.0
CreateSecret creates secrets required by dashboard component in downstream.
func ReplaceStringsInFile ¶ added in v2.1.0
ReplaceStringsInFile replaces variable with value in manifests during runtime.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.