Documentation
¶
Overview ¶
Package features provides sample mutations for the serviceaccount primitive example.
Index ¶
- func DisableAutomountMutation(version string, disableAutomount bool) serviceaccount.Mutation
- func ImagePullSecretMutation(_ string) serviceaccount.Mutation
- func PrivateRegistryMutation(version string, usePrivateRegistry bool) serviceaccount.Mutation
- func VersionLabelMutation(version string) serviceaccount.Mutation
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.
Click to show internal directories.
Click to hide internal directories.