InstallationApplier configuration
Configure the StormForge Applier component
2 minute read
StormForge and Flux are fully compatible:
spec.metrics. driftDetection.ignore is required, otherwise Flux overwrites those changes on each reconciliation.Set the live.stormforge.io/apply.method annotation to a webhook-based value:
live.stormforge.io/apply.method: WebhookImmediateRollout
See Apply method for the full list of webhook rollout options and how to enable the webhook on the Applier.
driftDetection.ignore for HPAsConfigure a patch in your root Flux Kustomization to propagate the setting to every HelmRelease:
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
patches:
- target:
kind: HelmRelease
patch: |
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: not-used
spec:
driftDetection:
ignore:
- paths: ["/spec/metrics"]
target:
kind: HorizontalPodAutoscaler
The patch reaches every HelmRelease managed by the root Kustomization, including ones added later.
If you prefer to configure this per HelmRelease, or if your cluster does not use a root Kustomization, add the driftDetection.ignore block directly to each HelmRelease that manages HPAs:
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: <your-helm-release>
namespace: <your-namespace>
spec:
driftDetection:
ignore:
- paths: ["/spec/metrics"]
target:
kind: HorizontalPodAutoscaler
For more on the underlying mechanism, see: