Skip to content

Fixes operator pod restart on changing addon params#779

Merged
tekton-robot merged 3 commits intotektoncd:release-v0.50.xfrom
sm43:cp-163
May 10, 2022
Merged

Fixes operator pod restart on changing addon params#779
tekton-robot merged 3 commits intotektoncd:release-v0.50.xfrom
sm43:cp-163

Conversation

@sm43
Copy link
Member

@sm43 sm43 commented May 10, 2022

after successfull installation, changing addon params is breaking
the code and pods keep restarting.
this fixes it.

#631 with some additional changes

Signed-off-by: Shivam Mukhade smukhade@redhat.com

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

after successfull installation, changing addon params is breaking
the code and pods keep restarting.
this fixes it.

Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label May 10, 2022
@tekton-robot tekton-robot requested a review from piyush-garg May 10, 2022 07:05
@sm43 sm43 requested a review from nikhil-thomas May 10, 2022 07:05
@tekton-robot tekton-robot requested a review from pradeepitm12 May 10, 2022 07:05
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 10, 2022
With this pr ko-build/ko#628 getting merged
operator Make apply is gives below error

```cat building github.com/google/ko/cmd/ko…
cannot find package "github.com/google/ko/cmd/ko" in any of:
	/usr/local/go/src/github.com/google/ko/cmd/ko (from $GOROOT)
	/tmp/tmp.rXMejzqfMj/src/github.com/google/ko/cmd/ko (from $GOPATH)
make: *** [Makefile:26: /home/pradeepkumar/go/src/github.com/tektoncd/operator/.bin/ko] Error 1
```

Signed-off-by: Pradeep Kumar <pradkuma@redhat.com>
@nikhil-thomas
Copy link
Member

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 10, 2022
@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 10, 2022
Freeze ko version to v0.9.3 as latest version fails to build on
go 1.16.13

Use `GO111MODULE=on` as `@version` syntax in go get will not work in
non GO mod

`go: can only use path@version syntax with 'go get' and 'go install' in
module-aware mode`

Signed-off-by: Nikhil Thomas <nikthoma@redhat.com>
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 10, 2022
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nikhil-thomas, vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [nikhil-thomas,vdemeester]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot merged commit 0f049c4 into tektoncd:release-v0.50.x May 10, 2022
@sm43 sm43 deleted the cp-163 branch May 10, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants