features

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package features provides sample mutations for the serviceaccount primitive example.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableAutomountMutation

func DisableAutomountMutation(version string, disableAutomount bool) serviceaccount.Mutation

DisableAutomountMutation disables automatic mounting of the service account token. It is enabled when disableAutomount is true.

func ImagePullSecretMutation

func ImagePullSecretMutation(_ string) serviceaccount.Mutation

ImagePullSecretMutation ensures the default registry pull secret is attached to the ServiceAccount. It is always enabled.

func PrivateRegistryMutation

func PrivateRegistryMutation(version string, usePrivateRegistry bool) serviceaccount.Mutation

PrivateRegistryMutation adds a private registry pull secret to the ServiceAccount. It is enabled when usePrivateRegistry is true.

func VersionLabelMutation

func VersionLabelMutation(version string) serviceaccount.Mutation

VersionLabelMutation sets the app.kubernetes.io/version label on the ServiceAccount. It is always enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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