INFRA-1847 | Ashvin | Remove unwanted changes

This commit is contained in:
Ashvin Sharma
2023-05-24 13:49:05 +05:30
parent 78e4611382
commit 5a3ffc0c5e
2 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ rules=$(kubectl get prometheusRule -A |grep -v "Name" | grep -E 'dev|qa' | awk '
for i in $rules;do
rule=$(echo $i | cut -d '/' -f2)
namespace=$(echo $i | cut -d '/' -f1)
if `kubectl apply view-last-applied deploy navi-feeds-navi-service prometheusRule $rule -n $namespace -o yaml |grep -q "tag_Namespace,tag_Name"`;then
if `kubectl apply view-last-applied prometheusRule $rule -n $namespace -o yaml |grep -q "tag_Namespace,tag_Name"`;then
echo "found in $namespace/$rule"
kubectl apply view-last-applied prometheusRule $rule -n $namespace -o yaml | sed 's/tag_Namespace,tag_Name/tag_Namespace,tag_Ingress/g' | kubectl apply -f -
fi

View File

@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.common.hash.Hashing;
import com.navi.infra.portal.configuration.ApplicationStartupConfig;
import com.navi.infra.portal.domain.JsonEntity;
import com.navi.infra.portal.domain.notification.Notification;
import com.navi.infra.portal.dto.manifest.CloneManifestRequest;
@@ -80,7 +81,7 @@ public class Manifest extends JsonEntity {
private Deployment deployment;
@Transient
private String infraVertical = "lending";
private String infraVertical = ApplicationStartupConfig.infraVertical;
@Type(type = "jsonb")
@Column(columnDefinition = "jsonb")