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

add default access to pipelines from notebook #24

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

ca-scribner
Copy link
Contributor

@ca-scribner ca-scribner commented Jan 28, 2022

This is part of the fix for canonical/bundle-kubeflow#423.

This change automatically selects the "Allow access to Kubeflow Pipelines" PodDefault configuration for new notebooks, provided it has been already been added to the user's namespace. Adding the PodDefault is handled separately.

image

Test instructions

See the updated README.md file

@ca-scribner ca-scribner requested a review from a team as a code owner January 28, 2022 15:19
@DomFleischmann
Copy link
Contributor

The integration tests are failing because they are deploying the new istio charms, we should default to the 1.5 track for now.

DomFleischmann
DomFleischmann previously approved these changes Feb 18, 2022
Copy link
Contributor

@DomFleischmann DomFleischmann left a comment

Choose a reason for hiding this comment

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

Generally looks good just not sure on those lines I pointed out.

Comment on lines 110 to 111
this_namespace = ops_test.model_name
env['JUJU_MODEL'] = this_namespace
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed at all anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No I don't think so. Pulling it out then I'll merge when CI passes

DomFleischmann
DomFleischmann previously approved these changes Feb 22, 2022
This is part of the fix for canonical/bundle-kubeflow#423.

This change automatically selects the "Allow access to Kubeflow Pipelines" PodDefault configuration for new notebooks, provided it has been already been added to the user's namespace.  Adding the PodDefault is handled separately.

Also changed:

* remove unused environment variable from tests
* fix integration testing by
  * pinning istio to 1.5 for tests
  * revert integration tests to use istio 1.5
  * add test instructions in README.md
  * convert `kubectl` calls in tests to `lightkube` calls.
  * add patch to istio-ingressgateway role to fix bug with istio 1.5 charm
  * add automatic cleanup of non-juju created objects required for testing
  * deduplicating test runs
@ca-scribner ca-scribner force-pushed the add-kfp-to-spawner-config branch from 45d18cc to dec4eb9 Compare February 22, 2022 18:50
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.

2 participants