vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 14 forks source link

Prevent deploy platform from CLI when platform already installed via App (and viceversa) #484

Open jorgemoralespou opened 4 days ago

jorgemoralespou commented 4 days ago

Describe the bug

When Educates Platform is deployed via CLI, it uses a kapp label to identify generated resources. When Educates Platform is deployed via kapp-controller App, it uses the kapp App annotation on resources. Both applications will not be seen as the same and there will be errors if one deploys with one mechanism but then tries to use the other mechanism.

What should we do?

@GrahamDumpleton thoughts?

Additional information

No response