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 Image Cleaner #343

Closed
wants to merge 3 commits into from

Conversation

skolobov
Copy link
Contributor

@skolobov skolobov commented Apr 4, 2023

Describe your changes

Add support for optional Image Cleaner feature in AKS.

Issue number

Fixes #342

Checklist before requesting a review

  • The pr title can be used to describe what this pr did in CHANGELOG.md file
  • I have executed pre-commit on my machine
  • I have passed pr-check on my machine

@skolobov skolobov changed the title Adddd support for image cleaner Add support for Image Cleaner Apr 4, 2023
@skolobov
Copy link
Contributor Author

skolobov commented Apr 4, 2023

@microsoft-github-policy-service agree

@lonegunmanb lonegunmanb added this to the 7.1.0 milestone Apr 23, 2023
@lonegunmanb lonegunmanb removed this from the 7.1.0 milestone May 23, 2023
@skolobov skolobov force-pushed the feature/image-cleaner branch from 4f3d07c to 1c22fa4 Compare June 15, 2023 00:26
@skolobov skolobov force-pushed the feature/image-cleaner branch from 1c22fa4 to 23f1d29 Compare October 29, 2023 23:56
@skolobov skolobov force-pushed the feature/image-cleaner branch from 23f1d29 to f14ea2f Compare October 29, 2023 23:58
Copy link
Member

@lonegunmanb lonegunmanb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @skolobov for contributing this pr to us and apology for this crazy late response. I'd like to merge this pr as part of v7.5.0, but only one review comment to solve.

@@ -23,6 +23,8 @@ resource "azurerm_kubernetes_cluster" "main" {
disk_encryption_set_id = var.disk_encryption_set_id
dns_prefix = var.prefix
http_application_routing_enabled = var.http_application_routing_enabled
image_cleaner_enabled = var.image_cleaner_enabled
image_cleaner_interval_hours = var.image_cleaner_enabled && var.image_cleaner_interval_hours != null ? var.image_cleaner_interval_hours : null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use image_cleaner_interval_hours = var.image_cleaner_interval_hours here?

@github-actions
Copy link
Contributor

Potential Breaking Changes in 86e038e:
[delete] "Variables.run_command_enabled.Name" from 'run_command_enabled' to ''

@lonegunmanb lonegunmanb mentioned this pull request Nov 2, 2023
3 tasks
@lonegunmanb
Copy link
Member

I'm closing this pr since #466 has been merged. Thanks @skolobov for contributing this pr to us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for image_cleaner & image_cleaner_interval_hours
2 participants