Skip to content

Commit

Permalink
feat: update charm 1.8.0-rc.0 (#163)
Browse files Browse the repository at this point in the history
* feat: bump image to 1.8.0-rc.0
* fix: remove unused profiles resource from auth_manifests
* fix: increase timeout to deploy profiles
* feat: set POD_NAMESPACE env var
  • Loading branch information
NohaIhab authored Sep 14, 2023
1 parent 7ea87c4 commit b3e7e84
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resources:
type: oci-image
description: 'Backing OCI image'
auto-fetch: true
upstream-source: docker.io/kubeflownotebookswg/centraldashboard:v1.7.0
upstream-source: docker.io/kubeflownotebookswg/centraldashboard:v1.8.0-rc.0
provides:
links:
interface: kubeflow_dashboard_links
Expand Down
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def _kubeflow_dashboard_operator_layer(self) -> Layer:
"REGISTRATION_FLOW": self._registration_flow,
"DASHBOARD_CONFIGMAP": self._configmap_name,
"LOGOUT_URL": "/authservice/logout",
"POD_NAMESPACE": self.model.name, # Added due to https://github.com/canonical/bundle-kubeflow/issues/698 # noqa E501
},
}
},
Expand Down
1 change: 0 additions & 1 deletion src/templates/auth_manifests.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ rules:
- app.k8s.io
- kubeflow.org
resources:
- profiles
- applications
- pods
- pods/exec
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def test_add_profile_relation(ops_test: OpsTest):
[PROFILES_CHARM_NAME, CHARM_NAME],
status="active",
raise_on_error=True,
timeout=300,
timeout=600,
)


Expand Down

0 comments on commit b3e7e84

Please sign in to comment.