common

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package common contains utility functions used by different components

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace added in v2.1.0

func CreateNamespace(cli client.Client, namespace string) error

CreateNamespace creates namespace required by workbenches component in downstream.

func CreateSecret added in v2.1.0

func CreateSecret(cli client.Client, name, namespace string) error

CreateSecret creates secrets required by dashboard component in downstream.

func ReplaceStringsInFile added in v2.1.0

func ReplaceStringsInFile(fileName string, replacements map[string]string) error

ReplaceStringsInFile replaces variable with value in manifests during runtime.

func UpdatePodSecurityRolebinding

func UpdatePodSecurityRolebinding(cli client.Client, serviceAccountsList []string, namespace string) error

UpdatePodSecurityRolebinding update default rolebinding which is created in applications namespace by manifests being used by different components.

Types

This section is empty.

Jump to

Keyboard shortcuts

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