Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ACRPullBindingLabel is a label on Secrets that holds the name of the ACRPullBinding for which the Secret holds a pull credential
ACRPullBindingLabel = "acr.microsoft.com/binding"
)
Variables ¶
This section is empty.
Functions ¶
func LegacyPullSecretsPresent ¶ added in v0.1.4
func LegacyPullSecretsPresent(pullBindings msiacrpullv1beta1.AcrPullBindingList, secrets corev1.SecretList) bool
LegacyPullSecretsPresent determines if any legacy pull secrets still exist on the cluster.
Types ¶
type AcrPullBindingReconciler ¶
type AcrPullBindingReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Auth authorizer.Interface
DefaultManagedIdentityResourceID string
DefaultManagedIdentityClientID string
DefaultACRServer string
// contains filtered or unexported fields
}
AcrPullBindingReconciler reconciles a AcrPullBinding object
func (*AcrPullBindingReconciler) SetupWithManager ¶
type LegacyTokenCleanupController ¶ added in v0.1.4
func (*LegacyTokenCleanupController) Reconcile ¶ added in v0.1.4
func (c *LegacyTokenCleanupController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile cleans up legacy ACR pull token secrets and references to them from the cluster if new tokens have been generated.
func (*LegacyTokenCleanupController) SetupWithManager ¶ added in v0.1.4
Click to show internal directories.
Click to hide internal directories.