Repository: quarkusio/quarkus
Issue: OpenShift plugin not deploying the Quarkus App (Regression Issue)

**Describe the bug**
This is a regression issue caused by this commit: https://github.com/quarkusio/quarkus/commit/588db63138715a4e1e2a112676ab9ece2fab36ca

When using the OpenShift Quarkus extension to deploy our Quarkus app:

```
mvn package -Dquarkus.kubernetes.deploy=true
```

Then, the BuildConfig and the Build are triggered in OpenShift and when the Build instance finished, It's deleted (see the commit changes). Then, the DeploymentConfig does not trigger the application startup spite of the image stream is there. For some reason, the DeploymentConfig depends on the build instance to not be deleted. 

After reverting the changes in https://github.com/quarkusio/quarkus/commit/588db63138715a4e1e2a112676ab9ece2fab36ca, the Build instance is not deleted and hence everything works fine.

**To Reproduce**
For your Quarkus application:

```
mvn package -Dquarkus.kubernetes.deploy=true
```

The application will not be deployed into OpenShift. The same works for 1.12.0.Final and also by reverting the commit: https://github.com/quarkusio/quarkus/commit/588db63138715a4e1e2a112676ab9ece2fab36ca

**Environment (please complete the following information):**
 - OpenShift: 4.6
 - Quarkus version or git rev: 1.12.1.Final, 999-SNAPSHOT

**Additional context**
(Add any other context about the problem here.)


Changed files:
extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployer.java

diff --git a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployer.java b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployer.java
index 00515e0b537..59f0bc43ac1 100644
--- a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployer.java
+++ b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployer.java
@@ -1,6 +1,7 @@
 
 package io.quarkus.kubernetes.deployment;
 
+import static io.quarkus.kubernetes.deployment.Constants.KNATIVE;
 import static io.quarkus.kubernetes.deployment.Constants.KUBERNETES;
 import static io.quarkus.kubernetes.deployment.Constants.MINIKUBE;
 import static io.quarkus.kubernetes.deployment.Constants.OPENSHIFT;
@@ -174,7 +175,11 @@ private DeploymentResultBuildItem deploy(DeploymentTargetEntry deploymentTarget,
         try (FileInputStream fis = new FileInputStream(manifest)) {
             KubernetesList list = Serialization.unmarshalAsList(fis);
             distinct(list.getItems()).forEach(i -> {
-                client.resource(i).inNamespace(namespace).deletingExisting().createOrReplace();
+                if (KNATIVE.equals(deploymentTarget.getName().toLowerCase())) {
+                    client.resource(i).inNamespace(namespace).deletingExisting().createOrReplace();
+                } else {
+                    client.resource(i).inNamespace(namespace).createOrReplace();
+                }
                 log.info("Applied: " + i.getKind() + " " + i.getMetadata().getName() + ".");
             });