File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
core/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/helm Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1+ package io .quarkiverse .operatorsdk .deployment .helm ;
2+
3+ import org .jboss .logging .Logger ;
4+
5+ import io .quarkus .deployment .annotations .BuildStep ;
6+ import io .quarkus .deployment .annotations .Produce ;
7+ import io .quarkus .deployment .pkg .builditem .ArtifactResultBuildItem ;
8+
9+ // Note that steps of this processor won't be run in dev mode because ArtifactResultBuildItems are only considered in NORMAL mode
10+ public class HelmChartDisabledLogger {
11+ private static final Logger log = Logger .getLogger (HelmChartDisabledLogger .class );
12+
13+ @ BuildStep (onlyIfNot = HelmGenerationEnabled .class )
14+ @ Produce (ArtifactResultBuildItem .class )
15+ void outputHelmGenerationDisabled () {
16+ log .debug ("Generating Helm chart is disabled" );
17+ }
18+ }
Original file line number Diff line number Diff line change @@ -58,12 +58,6 @@ public class HelmChartProcessor {
5858 public static final String CRD_DIR = "crds" ;
5959 public static final String CRD_ROLE_BINDING_TEMPLATE_PATH = "/helm/crd-role-binding-template.yaml" ;
6060
61- @ BuildStep (onlyIfNot = HelmGenerationEnabled .class )
62- @ Produce (ArtifactResultBuildItem .class )
63- void outputHelmGenerationDisabled () {
64- log .debug ("Generating Helm chart is disabled" );
65- }
66-
6761 @ BuildStep
6862 HelmTargetDirectoryBuildItem createRelatedDirectories (OutputTargetBuildItem outputTarget ) {
6963 final var helmDir = outputTarget .getOutputDirectory ().resolve ("helm" ).toFile ();
You can’t perform that action at this time.
0 commit comments