Skip to content

run packagemanifests: change default install mode to AllNamespaces#3663

Merged
joelanford merged 1 commit intooperator-framework:masterfrom
joelanford:run-pkgman-allnamespaces
Aug 7, 2020
Merged

run packagemanifests: change default install mode to AllNamespaces#3663
joelanford merged 1 commit intooperator-framework:masterfrom
joelanford:run-pkgman-allnamespaces

Conversation

@joelanford
Copy link
Copy Markdown
Member

Description of the change:
The default install mode for the run packagemanifests command changed from OwnNamespace to AllNamespaces

Motivation for the change:
In 1.0, operators are scaffolded to have cluster-scoped permissions and watch all namespaces, so it makes sense to align run packagemanifests with this default.

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@joelanford joelanford requested a review from estroz August 6, 2020 15:52
Copy link
Copy Markdown
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2020
@joelanford joelanford force-pushed the run-pkgman-allnamespaces branch from ff55509 to 056eaa7 Compare August 6, 2020 16:31
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2020
@openshift-ci-robot
Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@joelanford joelanford force-pushed the run-pkgman-allnamespaces branch from 056eaa7 to 5abf473 Compare August 6, 2020 16:52
Comment thread hack/tests/integration.sh Outdated
trap_add 'rm -rf $TMPDIR' EXIT
pushd "$TMPDIR"

mkdir -p $tmp_sdk_root
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
mkdir -p $tmp_sdk_root
prepare_staging_dir $tmp_sdk_root

@estroz
Copy link
Copy Markdown
Member

estroz commented Aug 6, 2020

The integration tests are failing because the service accounts in the scaffolded CSV are wrong (unrelated to how the SDK actually scaffolds them). See #3668.

@joelanford joelanford force-pushed the run-pkgman-allnamespaces branch from 560c81b to bf28cf1 Compare August 7, 2020 00:19
@joelanford
Copy link
Copy Markdown
Member Author

Rebased to get the fixes from #3668. Bumped the timeout to three minutes because past tests seem to be timing out. Tests are passing locally for me without the timeout change so hopefully its just that Travis needs more time now that AllNamespaces is the default.

@joelanford joelanford added this to the v1.0.0 milestone Aug 7, 2020
@joelanford joelanford force-pushed the run-pkgman-allnamespaces branch 2 times, most recently from 5c31c4c to 21b391c Compare August 7, 2020 18:05
@joelanford joelanford force-pushed the run-pkgman-allnamespaces branch from 6ae811a to eb7e5b5 Compare August 7, 2020 19:07
@joelanford joelanford merged commit 2a654eb into operator-framework:master Aug 7, 2020
@joelanford joelanford deleted the run-pkgman-allnamespaces branch August 7, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants