Stop adding trial labels
The Kustomize commonLabel overwrites a missing selector and does not merge in what would have been there implicitly resulting in an ambiguous selector.
@@ -86,10 +86,11 @@ if [ -n "$CHART" ] ; then
fi
+## We can't do this, it sets the selector and overwrites the implicit selectors to something ambiguous
# Add trial labels to the resulting manifests so they can be more easily located for removal
-if [ -n "$TRIAL" ]; then
- kustomize edit add label redskyops.dev/trial:$TRIAL,redskyops.dev/trial-role:trialResource
-fi
+#if [ -n "$TRIAL" ]; then
+# kustomize edit add label redskyops.dev/trial:$TRIAL,redskyops.dev/trial-role:trialResource
+#fi
# Run Kustomize and pipe it into the handler
