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

Explicitly set the image pull policy to IfNotPresent #545

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

carbonin
Copy link
Member

@miq-bot
Copy link
Member

miq-bot commented Jun 16, 2020

Checked commit carbonin@2080ae5 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
2 files checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Yaml - missing config files

@bdunne bdunne merged commit 938a7cd into ManageIQ:master Jun 16, 2020
simaishi pushed a commit that referenced this pull request Jun 18, 2020
Explicitly set the image pull policy to IfNotPresent

(cherry picked from commit 938a7cd)
@simaishi
Copy link
Contributor

Backported without changes to manageiq-operator/deploy/olm-catalog/manageiq-operator/0.0.1/manageiq-operator.v0.0.1.clusterserviceversion.yaml as #549 changed the values for jansa branch.

Jansa backport details:

$ git log -1
commit e17540ffa3afc30ef2f1ceaf69a6b6d572ab90ef
Author: Brandon Dunne <[email protected]>
Date:   Tue Jun 16 12:04:22 2020 -0400

    Merge pull request #545 from carbonin/explicitly_set_pull_policy

    Explicitly set the image pull policy to IfNotPresent

    (cherry picked from commit 938a7cde01483cf4a11fde1fd28dc73df2f20358)

@carbonin
Copy link
Member Author

So for this I feel like we're in a weird state. This PR used IfNotPresent because at this time the file was pinned to a released version (granted, one that didn't exist).

But when we moved to jansa-latest I feel like it might make more sense to use Always as that's an intentionally moving tag.

That all said, should we be pinning the operator deploy to a particular release? For example, when jansa-1 is tagged, should we use that? Then we would go back to IfNotPresent.

I think we need to make a decision on what tag should be in this file for each of our branches before we can really call this resolved. @Fryguy @bdunne ?

@carbonin carbonin deleted the explicitly_set_pull_policy branch June 19, 2020 20:24
@bdunne
Copy link
Member

bdunne commented Jun 19, 2020

Totally agree, we should either pull "always" if using the "latest" tag or pull "ifNotPresent" with a release tag. I don't think anything else makes sense.

I think it's fine for a release branch to point to a release tag and the tip of the branch can be ahead of the release, README.md already has instructions for changing it for development purposes.

@simaishi
Copy link
Contributor

So the jansa branch is good as is for now, right? "latest-jansa" with "Always" is what it currently has.

I did discuss with @Fryguy about possibly changing to an actual release tag only for tags, which is what we do with Gemfile.

@bdunne
Copy link
Member

bdunne commented Jun 22, 2020

So the jansa branch is good as is for now, right? "latest-jansa" with "Always" is what it currently has.

I think it's wrong now, but I think we need to make a decision about the tags first.

Also, it's not consistent within the branch. I marked #539 as jansa/yes? to ensure tests verify consistency.

@simaishi
Copy link
Contributor

simaishi commented Jun 22, 2020

#549 is a direct PR to jansa branch and that was merged later than this PR. So when I backported this PR, I made sure I don't override #549.

I'm confused and not sure what the right values are at this point, so please create a PR to jansa branch as needed.

EDIT: never mind... I thought we were talking about a different yaml file, not operator.yaml...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants