Skip to content
KEP Brain

KEP-2535keps/sig-node/2535-ensure-secret-pulled-images

Ensure Secret Pulled Images

implementablebetasig-nodelatest v1.37
Give the admin the ability to ensure pods that use an image are authorized to access that image. This will culminate in changes to the IfNotPresent and Never pull policies, as the Always policy will go through an authentication check each time. When this feature is enabled, and an image in a pod request has not been successfully pulled with the given creden… Full summary

Give the admin the ability to ensure pods that use an image are authorized to access that image. This will culminate in changes to the IfNotPresent and Never pull policies, as the Always policy will go through an authentication check each time. When this feature is enabled, and an image in a pod request has not been successfully pulled with the given credentials (or successfully pulled in the past with no credentials), then the kubelet will consider the credentials unauthenticated. Thus even if the image is present, it may still be reauthenticated. - For IfNotPresent images, the kubelet will re-pull the image - For Never images, the image creation will fail This behavior mirrors what would happen if an image was not present on the node (as opposed to present, but yet to be authorized with the credentials present). This will be enforced for both IfNotPresent and Never policies. Kubelet configuration will give the administrator the ability to choose how images should be verified: 1. Do not allow access to any images without verification. 2. Only allow access to a specific list of pre-loaded images without verification. 3. Allow access to all pre-loaded images without verification (default behavior). 4. Allow access to all images without having to reverify credentials (previous behavior). During development, this feature will be guarded by a feature gate. * The issue and these changes improving the security posture without requiring the forcing of pull always, will be documented in the kubernetes image pull policy documentation. *

Facts

PRR approvers
@jpbetzalpha@jpbetzbeta
Tracking issue
#2535(opens GitHub in a new tab) openreopenedsig/authsig/nodestage/betatracked/nolead-opted-in
Milestones
alpha v1.33beta v1.35
Participating SIGs
sig-auth
Feature gates
KubeletEnsureSecretPulledImages
Created / last updated
2021-03-10 / none
Loading decisions and status history

Keyboard shortcuts

Everywhere

?
Show or hide this list
/
Focus the question box on Ask, otherwise the page search
Ctrl Kor⌘ K
Focus the KEP search in the top bar
t
Switch the theme (system, light, dark)
Esc
Close a dialog, a search list or a menu

Go to a page

Press g, then the letter

g h
Home
g a
Ask
g e
Explore
g u
Audit
g m
Memory
g b
About

Ask

Enter
Send the question
Shift Enter
New line in the question
Esc
Cancel the running question

Search lists

KEP search and Explore search

↓or↑
Move through the results
HomeorEnd
First or last result (Explore)
Enter
Open the highlighted result, or KEP-n when the query is a number

KEP page

o
Open the KEP on GitHub
y
Open kep.yaml on GitHub
a
Ask about this KEP
←or→
Previous or next tab, when a tab is focused

Findings table

With a finding row focused (Tab into the table or click a row)

jork
Next or previous finding
EnterorSpace
Expand or collapse the finding
o
Open the finding's KEP page
d
Draft the fix as an issue text (nothing is posted)
]or[
Next or previous page of findings

Shortcuts pause while you type in a field. Press ? or Esc to close.