resources

package
v0.0.0-...-47a937c Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildACConfigForIShield

func BuildACConfigForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.ConfigMap

request handler config

func BuildAPIServiceForIShield

func BuildAPIServiceForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.Service

api service

func BuildAPITlsSecretForIShield

func BuildAPITlsSecretForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.Secret

ishield-webhook-tls

func BuildClusterRoleBindingForIShield

func BuildClusterRoleBindingForIShield(cr *apiv1alpha1.IntegrityShield) *rbacv1.ClusterRoleBinding

cluster role-binding

func BuildClusterRoleBindingForObserver

func BuildClusterRoleBindingForObserver(cr *apiv1alpha1.IntegrityShield) *rbacv1.ClusterRoleBinding

func BuildClusterRoleForIShield

func BuildClusterRoleForIShield(cr *apiv1alpha1.IntegrityShield) *rbacv1.ClusterRole

cluster role - server

func BuildClusterRoleForObserver

func BuildClusterRoleForObserver(cr *apiv1alpha1.IntegrityShield) *rbacv1.ClusterRole

TODO: should be minimum privilege

func BuildConstraintConfigForIShield

func BuildConstraintConfigForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.ConfigMap

request handler config

func BuildConstraintTemplateForIShield

func BuildConstraintTemplateForIShield(cr *apiv1alpha1.IntegrityShield) *v1beta1.ConstraintTemplate

request handler config

func BuildDeploymentForAdmissionController

func BuildDeploymentForAdmissionController(cr *apiv1alpha1.IntegrityShield) *appsv1.Deployment

admission controller

func BuildDeploymentForIShieldServer

func BuildDeploymentForIShieldServer(cr *apiv1alpha1.IntegrityShield) *appsv1.Deployment

shield api

func BuildDeploymentForObserver

func BuildDeploymentForObserver(cr *apiv1alpha1.IntegrityShield) *appsv1.Deployment

Observer

func BuildManifestIntegrityProfileCRD

func BuildManifestIntegrityProfileCRD(cr *apiv1alpha1.IntegrityShield) *extv1.CustomResourceDefinition

shield config crd

func BuildPodSecurityPolicy

func BuildPodSecurityPolicy(cr *apiv1alpha1.IntegrityShield) *policyv1.PodSecurityPolicy

pod security policy

func BuildReqConfigForIShield

func BuildReqConfigForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.ConfigMap

request handler config

func BuildRoleBindingForIShield

func BuildRoleBindingForIShield(cr *apiv1alpha1.IntegrityShield) *rbacv1.RoleBinding

role-binding

func BuildRoleForIShield

func BuildRoleForIShield(cr *apiv1alpha1.IntegrityShield) *rbacv1.Role

role dry-run

func BuildServiceAccountForIShield

func BuildServiceAccountForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.ServiceAccount

sa

func BuildServiceAccountForObserver

func BuildServiceAccountForObserver(cr *apiv1alpha1.IntegrityShield) *corev1.ServiceAccount

func BuildServiceForIShield

func BuildServiceForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.Service

webhook service

func BuildTlsSecretForIShield

func BuildTlsSecretForIShield(cr *apiv1alpha1.IntegrityShield) *corev1.Secret

ishield-server-tls

func BuildValidatingWebhookConfigurationForIShield

func BuildValidatingWebhookConfigurationForIShield(cr *apiv1alpha1.IntegrityShield) *admregv1.ValidatingWebhookConfiguration

webhook configuration

func BuildVerifyResourceResultCRD

func BuildVerifyResourceResultCRD(cr *apiv1alpha1.IntegrityShield) *extv1.CustomResourceDefinition

shield config crd

func EmptyDirVolume

func EmptyDirVolume(name string) v1.Volume

func EqualAnnotations

func EqualAnnotations(found map[string]string, expected map[string]string) bool

func EqualContainers

func EqualContainers(expected v1.Container, found v1.Container) bool

EqualContainers returns a Boolean

func EqualDeployments

func EqualDeployments(expected *appsv1.Deployment, found *appsv1.Deployment) bool

EqualDeployments returns a Boolean

func EqualLabels

func EqualLabels(found map[string]string, expected map[string]string) bool

func EqualPods

func EqualPods(expected v1.PodTemplateSpec, found v1.PodTemplateSpec) bool

EqualPods returns a Boolean

func SecretVolume

func SecretVolume(name, secretName string) v1.Volume

Types

This section is empty.

Jump to

Keyboard shortcuts

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