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

Use Deployment instead of Pod (intermediate PR) #379

Merged
merged 1 commit into from
May 15, 2020

Conversation

waveywaves
Copy link
Member

@waveywaves waveywaves commented May 12, 2020

Changes

Part of refactor for #195

Allows for using the annotation jenkins.io/use-deployment
and setting the value to true makes the operator use a
Deployment instead of Pod for serving Jenkins.

  • Refactor from base/resources/pod.go to base/resources/deployment.go
  • Added conditional creation and reconciliation for Deployement resource if jenkins.io/use-deployment annotation is set to true

IMPORTANT NOTE:
The dependency on annotation is only temporary and the logic from reconciling with the Pod will be moved completely in the upcoming PRs for refactoring.

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.

Reviewer Notes

If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS.

Release Notes

Describe any user facing changes here, or delete this block.

Examples of user facing changes:
- API changes
- Bug fixes
- Any changes in behavior

@waveywaves waveywaves force-pushed the refactor/deployment branch 3 times, most recently from c67aab1 to 55bf615 Compare May 12, 2020 18:32
@waveywaves
Copy link
Member Author

/retest

@waveywaves waveywaves force-pushed the refactor/deployment branch 2 times, most recently from 095b3e9 to e96993f Compare May 13, 2020 06:08
@waveywaves waveywaves force-pushed the refactor/deployment branch 3 times, most recently from bfee8c3 to 4e52eb3 Compare May 14, 2020 09:54
…ns Controller

Allows for using the annotation jenkins.io/use-deployment
and setting the value to true makes the operator use a
Deployment instead of Pod for serving Jenkins.

This is part of a temporary feature and has to be committed to avoid bigger PRs.
@waveywaves waveywaves force-pushed the refactor/deployment branch from 4e52eb3 to b77592e Compare May 15, 2020 07:16
@tomaszsek tomaszsek merged commit ee7feb5 into jenkinsci:master May 15, 2020
@saranchand
Copy link

May I know when this will be updated. Any thoughts on Timing or ETA here ? Thank you.

@tomaszsek tomaszsek added the enhancement New feature or request label Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants