mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-10 17:52:20 +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
|
## Unreleased
|
||||||
|
|
||||||
|
- [Improvement] Better Kubernetes object creation.
|
||||||
|
|
||||||
## v11.3.0 (2021-05-18)
|
## v11.3.0 (2021-05-18)
|
||||||
|
|
||||||
- 💥[Security] Disable python-evaluated input by default as we don't run codejail.
|
- 💥[Security] Disable python-evaluated input by default as we don't run codejail.
|
||||||
|
|
|
@ -239,8 +239,7 @@ def start(context: Context) -> None:
|
||||||
"--kustomize",
|
"--kustomize",
|
||||||
tutor_env.pathjoin(context.root),
|
tutor_env.pathjoin(context.root),
|
||||||
"--selector",
|
"--selector",
|
||||||
# Here use `notin (job, xxx)` when there are other components to ignore
|
"app.kubernetes.io/component notin (job,volume,namespace)",
|
||||||
"app.kubernetes.io/component!=job",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user