Skip to content
Snippets Groups Projects
Commit 97411bb2 authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

create JupyterHub Outpost 1.0.7

parent 8f32e58e
Branches
Tags
No related merge requests found
Pipeline #249704 passed
...@@ -17,7 +17,7 @@ type: application ...@@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.6 version: 1.0.7
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to
......
...@@ -116,6 +116,23 @@ extraEnvVarsSecrets: ...@@ -116,6 +116,23 @@ extraEnvVarsSecrets:
``` ```
### CHANGELOG ### CHANGELOG
#### 1.0.7
- Add permission to delete events. Allows for cleaner spawning events when using KubeSpawner.
Example Configuration:
```
def delete_previous_events(spawner):
config.load_incluster_config()
v1 = client.CoreV1Api()
events = v1.list_namespaced_event(namespace=spawner.namespace, field_selector=f"involvedObject.name={spawner.pod_name}")
for event in events.items:
name = event.metadata.name
if name:
v1.delete_namespaced_event(name=name, namespace=spawner.namespace)
async def pre_spawn_hook(spawner):
delete_previous_events(spawner)
```
#### 1.0.6 #### 1.0.6
- using `jupyterjsc/jupyterhub-outpost:1.0.5` as default image, fixes async calls - using `jupyterjsc/jupyterhub-outpost:1.0.5` as default image, fixes async calls
......
...@@ -37,7 +37,7 @@ rules: ...@@ -37,7 +37,7 @@ rules:
verbs: ["get", "watch", "list", "create", "delete"] verbs: ["get", "watch", "list", "create", "delete"]
- apiGroups: [""] # "" indicates the core API group - apiGroups: [""] # "" indicates the core API group
resources: ["events"] resources: ["events"]
verbs: ["get", "watch", "list"] verbs: ["get", "watch", "list", "delete"]
--- ---
kind: RoleBinding kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment