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 allow_preview parameter to azure_rm_aksversion_info #1454

Closed
mkirkeng-leukeleu opened this issue Feb 20, 2024 · 1 comment · Fixed by #1456
Closed

Add allow_preview parameter to azure_rm_aksversion_info #1454

mkirkeng-leukeleu opened this issue Feb 20, 2024 · 1 comment · Fixed by #1456
Labels
has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments

Comments

@mkirkeng-leukeleu
Copy link

mkirkeng-leukeleu commented Feb 20, 2024

SUMMARY

Add boolean allow_preview parameter to azure_rm_aksversion_info to allow users get only versions which are not in preview.

When set to true all orchestrator versions, in preview or not, are returned. When set to false only orchestrator versions with a missing or False value for is_preview are returned.

The default for allow_preview should be set to true to maintain current behavior.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

azure_rm_aksversion_info

ADDITIONAL INFORMATION

We currently use azure_rm_aksversion_info to use the newest currently supported versions when creating kubernetes services, but when preview versions are released we don't yet want to use those.

  - name: Get versions of Kubernetes supported by Azure in the specified region
    azure.azcollection.azure_rm_aksversion_info:
      location: "SOME LOCATION"
      allow_preview: false
    register: kubernetes_versions
@Fred-sun Fred-sun added has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments labels Feb 21, 2024
@Fred-sun
Copy link
Collaborator

Added in #1456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants