Documentation ¶
Index ¶
- Constants
- Variables
- func GenerateClusterRole(resource *installerv1alpha1.EKSPodIdentityWebhook) *rbacv1.ClusterRole
- func GenerateClusterRoleBinding(resource *installerv1alpha1.EKSPodIdentityWebhook, ...) *rbacv1.ClusterRoleBinding
- func GenerateDaemonset(resource *installerv1alpha1.EKSPodIdentityWebhook) *appsv1.DaemonSet
- func GenerateMutatingWebhookConfiguration(resource *installerv1alpha1.EKSPodIdentityWebhook, service *corev1.Service, ...) *admissionregistrationv1.MutatingWebhookConfiguration
- func GenerateRole(resource *installerv1alpha1.EKSPodIdentityWebhook) *rbacv1.Role
- func GenerateRoleBinding(resource *installerv1alpha1.EKSPodIdentityWebhook, role *rbacv1.Role, ...) *rbacv1.RoleBinding
- func GenerateService(resource *installerv1alpha1.EKSPodIdentityWebhook) *corev1.Service
- func GenerateServiceAccount(resource *installerv1alpha1.EKSPodIdentityWebhook) *corev1.ServiceAccount
Constants ¶
View Source
const ( ServiceAccountName = baseName ServiceName = baseName SecretName = baseName DaemonsetName = baseName MutatingWebhookconfigurationName = baseName WebhookServerLabelKey = "ekspodidentitywebhooks.installer.h3poteto.dev" WebhookServerLabelValuePod = "pod" )
Variables ¶
View Source
var Namespace string = ""
Functions ¶
func GenerateClusterRole ¶
func GenerateClusterRole(resource *installerv1alpha1.EKSPodIdentityWebhook) *rbacv1.ClusterRole
func GenerateClusterRoleBinding ¶
func GenerateClusterRoleBinding(resource *installerv1alpha1.EKSPodIdentityWebhook, clusterRole *rbacv1.ClusterRole, sa *corev1.ServiceAccount) *rbacv1.ClusterRoleBinding
func GenerateDaemonset ¶
func GenerateDaemonset(resource *installerv1alpha1.EKSPodIdentityWebhook) *appsv1.DaemonSet
func GenerateMutatingWebhookConfiguration ¶
func GenerateMutatingWebhookConfiguration(resource *installerv1alpha1.EKSPodIdentityWebhook, service *corev1.Service, serverCertificate []byte) *admissionregistrationv1.MutatingWebhookConfiguration
func GenerateRole ¶
func GenerateRole(resource *installerv1alpha1.EKSPodIdentityWebhook) *rbacv1.Role
func GenerateRoleBinding ¶
func GenerateRoleBinding(resource *installerv1alpha1.EKSPodIdentityWebhook, role *rbacv1.Role, sa *corev1.ServiceAccount) *rbacv1.RoleBinding
func GenerateService ¶
func GenerateService(resource *installerv1alpha1.EKSPodIdentityWebhook) *corev1.Service
func GenerateServiceAccount ¶
func GenerateServiceAccount(resource *installerv1alpha1.EKSPodIdentityWebhook) *corev1.ServiceAccount
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.