Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ImageCleaner on AKS #19916

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6039,6 +6039,10 @@
"$ref": "#/definitions/ManagedClusterSecurityProfileWorkloadIdentity",
"description": "[Workload Identity](https://azure.github.io/azure-workload-identity/docs/) settings for the security profile."
},
"imageCleaner": {
"$ref": "#/definitions/ManagedClusterSecurityProfileImageCleaner",
"description": "ImageCleaner settings for the security profile."
},
"nodeRestriction": {
"$ref": "#/definitions/ManagedClusterSecurityProfileNodeRestriction",
"description": "[Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings for the security profile."
Expand Down Expand Up @@ -6158,6 +6162,21 @@
},
"description": "Workload Identity settings for the security profile."
},
"ManagedClusterSecurityProfileImageCleaner": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to enable ImageCleaner on AKS cluster."
},
"intervalHours": {
"type": "integer",
"format": "int32",
"description": "ImageCleaner scanning interval."
}
},
"description": "ImageCleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile."
},
"ManagedClusterSecurityProfileNodeRestriction": {
"type": "object",
"properties": {
Expand Down