Skip to content

Conversation

joelanford
Copy link
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
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

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
trap_add 'rm -rf $TMPDIR' EXIT
pushd "$TMPDIR"

mkdir -p $tmp_sdk_root
Copy link
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
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
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

3 participants