Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SecretLabelKey is label key for SecretLabels. SecretLabelKey = "secret.h3poteto.dev" // SecretLabelValue is label value for SecretLabels. SecretLabelValue = "secret" )
View Source
const ( // ManagerName is container name of manager. ManagerName = "manager" // ManagerPodLabelKey is label key for ManagerPodLabels. ManagerPodLabelKey = "operator.h3poteto.dev" // ManagerPodLabelValue is label value for ManagerPodLabels. ManagerPodLabelValue = "control-plane" )
Variables ¶
View Source
var ManagerPodLabels = map[string]string{ ManagerPodLabelKey: ManagerPodLabelValue, }
ManagerPodLabels is label for generated manager Pods. This label is used in e2e tests when find generated Pods.
View Source
var SecretLabels = map[string]string{ SecretLabelKey: SecretLabelValue, }
SecretLabels is label for generated Secrets. This label is used in tests when find generated resources.
Functions ¶
func NewKMSSecret ¶
func NewKMSSecret(ns, name, region string, data map[string][]byte) *secretv1beta1.KMSSecret
NewKMSSecret generates KMSSecret resource.
func NewManagerManifests ¶
func NewManagerManifests(ns, sa, image, region, accessKey, secretKey string) (*corev1.ServiceAccount, *appsv1.Deployment)
NewManagerManifests generates ServiceAccount and Deployment manifests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.