k8ssidecar

package
v0.75.0-devel Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentClusterRole

func NewAgentClusterRole(ctx *pulumi.Context, name string, opts ...pulumi.ResourceOption) (*rbacv1.ClusterRole, error)

NewAgentClusterRole creates a cluster role for a sidecar agent

func NewClusterRoleBinding

func NewClusterRoleBinding(ctx *pulumi.Context, name string, clusterRole *rbacv1.ClusterRole,
	serviceAccount *corev1.ServiceAccount, opts ...pulumi.ResourceOption) (*rbacv1.ClusterRoleBinding, error)

NewClusterRoleBinding creates a cluster role binding

func NewDatadogSecret

func NewDatadogSecret(ctx *pulumi.Context, namespace string, apiKey pulumi.StringInput,
	token pulumi.StringInput, opts ...pulumi.ResourceOption) (*corev1.Secret, error)

NewDatadogSecret creates a Secret named datadog-secret with two fields: 1) api-key 2)token

func NewServiceAccount

func NewServiceAccount(ctx *pulumi.Context, namespace string, name string, opts ...pulumi.ResourceOption) (*corev1.ServiceAccount, error)

NewServiceAccount creates a ServiceAccount

func NewServiceAccountWithClusterPermissions

func NewServiceAccountWithClusterPermissions(ctx *pulumi.Context, namespace string, apiKey pulumi.StringInput,
	clusterAgentToken pulumi.StringInput, opts ...pulumi.ResourceOption) (*corev1.ServiceAccount, error)

NewServiceAccountWithClusterPermissions creates a cluster role with default permissions, and returns a service account with those permissions attached

Types

This section is empty.

Jump to

Keyboard shortcuts

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