Skip to content

Commit

Permalink
Bump dekorate from 3.5.0 to 3.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sgitario committed Mar 22, 2023
1 parent d2742ff commit 36d8466
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
<kotlin.version>1.8.10</kotlin.version>
<kotlin.coroutine.version>1.6.4</kotlin.coroutine.version>
<kotlin-serialization.version>1.5.0</kotlin-serialization.version>
<dekorate.version>3.5.0</dekorate.version> <!-- Please check with Java Operator SDK team before updating -->
<dekorate.version>3.5.2</dekorate.version> <!-- Please check with Java Operator SDK team before updating -->
<maven-invoker.version>3.2.0</maven-invoker.version>
<awaitility.version>4.2.0</awaitility.version>
<jboss-logmanager.version>1.1.1</jboss-logmanager.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@
import io.dekorate.kubernetes.decorator.AddInitContainerDecorator;
import io.dekorate.kubernetes.decorator.AddLabelDecorator;
import io.dekorate.kubernetes.decorator.AddLivenessProbeDecorator;
import io.dekorate.kubernetes.decorator.AddMetadataToTemplateDecorator;
import io.dekorate.kubernetes.decorator.AddMountDecorator;
import io.dekorate.kubernetes.decorator.AddPvcVolumeDecorator;
import io.dekorate.kubernetes.decorator.AddReadinessProbeDecorator;
import io.dekorate.kubernetes.decorator.AddSecretVolumeDecorator;
import io.dekorate.kubernetes.decorator.AddSelectorToDeploymentSpecDecorator;
import io.dekorate.kubernetes.decorator.AddStartupProbeDecorator;
import io.dekorate.kubernetes.decorator.ApplicationContainerDecorator;
import io.dekorate.kubernetes.decorator.ApplyArgsDecorator;
Expand Down Expand Up @@ -433,6 +435,10 @@ private static Collection<DecoratorBuildItem> createLabelDecorators(Optional<Pro
PlatformConfiguration config, List<KubernetesLabelBuildItem> labels) {

List<DecoratorBuildItem> result = new ArrayList<>();

result.add(new DecoratorBuildItem(target, new AddMetadataToTemplateDecorator()));
result.add(new DecoratorBuildItem(target, new AddSelectorToDeploymentSpecDecorator()));

labels.forEach(l -> {
result.add(new DecoratorBuildItem(l.getTarget(),
new AddLabelDecorator(name, l.getKey(), l.getValue())));
Expand Down

0 comments on commit 36d8466

Please sign in to comment.