-
Notifications
You must be signed in to change notification settings - Fork 788
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
feat: update tf versions in dockerfiles #8615
feat: update tf versions in dockerfiles #8615
Conversation
mentlak0
commented
Sep 14, 2023
- upgrade TF versions in docker images
/ cc @tomhobson |
Hi @mentlak0. Thanks for your PR. I'm waiting for a jenkins-x member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
/cc @msvticket |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this PR? As far as I can see these Dockerfiles are not in use any more.
@msvticket Hi, I am upgrading terraform-jx-azure to be up to date with the azurerm provider and terraform version since the k8s 1.27+ upgrades (there are a few resource behaviour changes). The image being changed in the PR gets pulled in to the terraform pipelineRun https://github.com/jenkins-x/jx3-pipeline-catalog/blob/master/tasks/terraform/pullrequest.yaml The version is set at 1.12.0, therefore when trying to upgrade it fails. |
But the image is not built anymore. As you can see here no image has been pushed in over a year. First it was commented out from jenkins-x-release.yaml with an initial comment saying:
Later the block was removed entirely. |
@msvticket Thanks for that. I see, this may be a problem then with trying to upgrade terraform versions for the cluster terraform repos and trying to avoid drift etc. Do you have any suggestions? |
Good question. One option would be to upgrade the terraform operator. New versions seem to have a design where adding custom plugins (actually jobs) with custom images is easy, so we should be able to use the default image for the terraform stuff and then use for example the jx-boot image for the equivalent of the postrunScript (which isn't supported anymore). See http://tf.galleybytes.com/ There is supposed to be a migration guide, but I can't find it. I created an issue regarding that: GalleyBytes/terraform-operator#163 |
@msvticket Thanks for the reply. Especially with k8s default version being set (and upgrades made) on the reports. It is important to maintain changes in the Terrform to reflect work that was completed. Will look into the suggestions you have made in due time. |