Documentation ¶
Index ¶
- Variables
- func EnsureForIamRole(ctx context.Context, client controllerruntimeclient.Client, namespace string, ...) error
- func SetIamRoleConfigDefaults(iamRoleConfig *IamRoleConfig)
- func UpdatePodTemplateSpecForIamRole(podTemplateSpec *corev1.PodTemplateSpec, iamRoleConfig *IamRoleConfig, ...)
- type IamRoleConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFsGroup int64 = 65534
Functions ¶
func EnsureForIamRole ¶
func EnsureForIamRole(ctx context.Context, client controllerruntimeclient.Client, namespace string, iamRoleConfig *IamRoleConfig, defaultIamRole string) error
EnsureForIamRole: prepare AWS IAM role for use
func SetIamRoleConfigDefaults ¶
func SetIamRoleConfigDefaults(iamRoleConfig *IamRoleConfig)
SetIamRoleConfigDefaults: sets the default values for the AWS IAM role config
func UpdatePodTemplateSpecForIamRole ¶
func UpdatePodTemplateSpecForIamRole(podTemplateSpec *corev1.PodTemplateSpec, iamRoleConfig *IamRoleConfig, defaultIamRole string, defaultFsGroup int64)
UpdatePodTemplateSpecForIamRole: updates provided pod template specs for kiam or AWS pod identity
Types ¶
type IamRoleConfig ¶
type IamRoleConfig struct { // +optional IamRoleProvider *string `json:"iam_role_provider,omitempty"` // +optional IamRole *string `json:"iam_role,omitempty"` // PAASTA-16919: remove everything related to fs_group when // https://github.com/aws/amazon-eks-pod-identity-webhook/issues/8 will be // fixed. // +optional FsGroup *int64 `json:"fs_group,omitempty"` }
IamRoleConfig : config for AWS IAM role settings for a paasta container
func (*IamRoleConfig) DeepCopy ¶ added in v0.0.14
func (in *IamRoleConfig) DeepCopy() *IamRoleConfig
func (*IamRoleConfig) DeepCopyInto ¶ added in v0.0.14
func (in *IamRoleConfig) DeepCopyInto(out *IamRoleConfig)
Click to show internal directories.
Click to hide internal directories.