Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Conversation

@soumyadeep-paul-ibm
Copy link

@soumyadeep-paul-ibm soumyadeep-paul-ibm commented May 25, 2023

Description

This pull request enables patch_version update for the cluster
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/container_vpc_cluster#patch_version

Types of changes in this PR

Changes that affect the core Terraform module or submodules

  • Bug fix
  • [* ] New feature
  • Dependency update

Changes that don't affect the core Terraform module or submodules

  • Examples or tests (addition or updates of examples or tests)
  • Documentation update
  • CI-related update (pipeline, etc.)
  • Other

Release required?

Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

  • No release
  • [* ] Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content
  • Enable worker node patch update through an optional argument

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

  • Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
  • Merge by using "Squash and merge".

@soumyadeep-paul-ibm soumyadeep-paul-ibm marked this pull request as ready for review May 25, 2023 07:04
}

variable "patch_version" {
description = "Updates the worker nodes with the required patch version, patch_version_fixpack_version ."
Copy link
Contributor

Choose a reason for hiding this comment

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

Description should be

Updates the worker nodes with the required patch version. The patch_version should be in the format: patch_version_fixpack_version.

tags = var.tags
cos_instance_crn = var.cos_instance_crn
force_delete_storage = var.force_delete_storage
kms_config = var.kms_config
Copy link
Contributor

Choose a reason for hiding this comment

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

Update the vpc-openshift example (directory: examples/vpc-openshift) as well with patch_version ( showing how to pass patch_version from example template)

Changed description of patch_version variable
Added variable in example
Updated patch_version in example
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants