Documentation
¶
Overview ¶
Package features provides sample mutations for the rolebinding primitive example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseSubjectsMutation ¶
func BaseSubjectsMutation(version, saName, saNamespace string) rolebinding.Mutation
BaseSubjectsMutation adds the application's primary service account as a subject. It is always enabled.
func MonitoringSubjectMutation ¶
func MonitoringSubjectMutation(version string, enableMonitoring bool) rolebinding.Mutation
MonitoringSubjectMutation adds a monitoring service account as a subject. It is enabled when enableMonitoring is true.
func VersionLabelMutation ¶
func VersionLabelMutation(version string) rolebinding.Mutation
VersionLabelMutation sets the app.kubernetes.io/version label on the RoleBinding. It is always enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.