Skip to content

Commit

Permalink
spotless:apply
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Jan 27, 2025
1 parent 7cc15cb commit 3efe6e6
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,27 +236,24 @@ public Ingress getDefaultStudioUIIngress(ApicurioRegistry3 primary) {
public PodDisruptionBudget getDefaultAppPodDisruptionBudget(ApicurioRegistry3 primary) {
var pdb = getDefaultResource(primary, PodDisruptionBudget.class, RESOURCE_TYPE_POD_DISRUPTION_BUDGET,
COMPONENT_APP);
pdb.getSpec().getSelector().getMatchLabels().put(
"app.kubernetes.io/instance", primary.getMetadata().getName()
);
pdb.getSpec().getSelector().getMatchLabels().put("app.kubernetes.io/instance",
primary.getMetadata().getName());
return pdb;
}

public PodDisruptionBudget getDefaultUIPodDisruptionBudget(ApicurioRegistry3 primary) {
var pdb = getDefaultResource(primary, PodDisruptionBudget.class, RESOURCE_TYPE_POD_DISRUPTION_BUDGET,
COMPONENT_UI);
pdb.getSpec().getSelector().getMatchLabels().put(
"app.kubernetes.io/instance", primary.getMetadata().getName()
);
pdb.getSpec().getSelector().getMatchLabels().put("app.kubernetes.io/instance",
primary.getMetadata().getName());
return pdb;
}

public PodDisruptionBudget getDefaultStudioUIPodDisruptionBudget(ApicurioRegistry3 primary) {
var pdb = getDefaultResource(primary, PodDisruptionBudget.class, RESOURCE_TYPE_POD_DISRUPTION_BUDGET,
COMPONENT_STUDIO_UI);
pdb.getSpec().getSelector().getMatchLabels().put(
"app.kubernetes.io/instance", primary.getMetadata().getName()
);
pdb.getSpec().getSelector().getMatchLabels().put("app.kubernetes.io/instance",
primary.getMetadata().getName());
return pdb;
}

Expand Down

0 comments on commit 3efe6e6

Please sign in to comment.