mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
feat: better object creation in "k8s start"
When running "tutor k8s start", it's unnecessary to attempt to create volumes and namespace multiple times.
This commit is contained in:
parent
900572fdae
commit
9b6b770dd7
@ -4,6 +4,8 @@ Note: Breaking changes between versions are indicated by "💥".
|
||||
|
||||
## Unreleased
|
||||
|
||||
- [Improvement] Better Kubernetes object creation.
|
||||
|
||||
## v11.3.0 (2021-05-18)
|
||||
|
||||
- 💥[Security] Disable python-evaluated input by default as we don't run codejail.
|
||||
|
@ -239,8 +239,7 @@ def start(context: Context) -> None:
|
||||
"--kustomize",
|
||||
tutor_env.pathjoin(context.root),
|
||||
"--selector",
|
||||
# Here use `notin (job, xxx)` when there are other components to ignore
|
||||
"app.kubernetes.io/component!=job",
|
||||
"app.kubernetes.io/component notin (job,volume,namespace)",
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user