Update or create config maps when install gitlab managed apps
Problem to solve
When Apps fail to install a lot and the user tries to re-install the application, they still get an error because the configmap is now available
Fix this Kubernetes issue configmaps "values-content-configuration-knative" already exists
(hidden from users currently)
Further details
We only create the config map on application install, and re-tries of application install so it should be safe clobber any existing configmaps (including the configmap for prometheus)
Before we removed the detail, users used to see :
Kubernetes error: configmaps "values-content-configuration-helm" already exists
Now users only see
Kubernetes error
Proposal
If config map already exists, override it
What does success look like, and how can we measure that?
User can re-install without having to manually delete the configmap. Less occurrences of Kubernetes error
Links / references
Edited by Thong Kuah