Documentation ¶
Index ¶
- Constants
- func LegacyPullSecretsPresent(pullBindings msiacrpullv1beta1.AcrPullBindingList, secrets corev1.SecretList) bool
- type AcrPullBindingReconciler
- type CoreOpts
- type LegacyTokenCleanupController
- type PullBindingReconciler
- type ServiceAccountTokenMinter
- type V1beta1ReconcilerOpts
- type V1beta2ReconcilerOpts
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 {
// contains filtered or unexported fields
}
AcrPullBindingReconciler reconciles a AcrPullBinding object
func NewV1beta1Reconciler ¶ added in v0.1.5
func NewV1beta1Reconciler(opts *V1beta1ReconcilerOpts) *AcrPullBindingReconciler
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
type PullBindingReconciler ¶ added in v0.1.5
type PullBindingReconciler struct {
// contains filtered or unexported fields
}
PullBindingReconciler reconciles AcrPullBindings
func NewV1beta2Reconciler ¶ added in v0.1.5
func NewV1beta2Reconciler(opts *V1beta2ReconcilerOpts) *PullBindingReconciler
func (*PullBindingReconciler) SetupWithManager ¶ added in v0.1.5
type ServiceAccountTokenMinter ¶ added in v0.1.5
type ServiceAccountTokenMinter func(ctx context.Context, serviceAccountNamespace, serviceAccountName string) (*authenticationv1.TokenRequest, error)
type V1beta1ReconcilerOpts ¶ added in v0.1.5
type V1beta1ReconcilerOpts struct { CoreOpts Auth authorizer.Interface DefaultManagedIdentityResourceID string DefaultManagedIdentityClientID string DefaultACRServer string }
V1beta1ReconcilerOpts configures the inputs for reconciling v1beta2 pull bindings
type V1beta2ReconcilerOpts ¶ added in v0.1.5
type V1beta2ReconcilerOpts struct { CoreOpts TTLRotationFraction float64 ServiceAccountClient corev1client.ServiceAccountsGetter ServiceAccountTokenAudience string // contains filtered or unexported fields }
V1beta2ReconcilerOpts configures the inputs for reconciling v1beta2 pull bindings
Click to show internal directories.
Click to hide internal directories.