Skip to content

Commit

Permalink
docs(changelog): maxExpressionLength to set maximum expression length…
Browse files Browse the repository at this point in the history
… for SpEL evaluation (#441)
  • Loading branch information
j-sandy authored Jul 3, 2024
1 parent f9513c6 commit ed260b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions content/en/docs/releases/next-release-preview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,19 @@ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ an
Note that `kubectl replace` doesn't support label selectors, so KubernetesDeployManifestOperation throws an exception if a deploy manifest stage that specifies (non-empty) label selectors has a manifest with a `strategy.spinnaker.io/replace: "true"` annotation.

It's possible that none of the manifests may satisfy the label selectors. In that case, a new pipeline configuration property named `allowNothingSelected` determines the behavior. If false (the default), KubernetesDeployManifestOperation throws an exception. If true, the operation succeeds even though nothing was deployed.

## maxExpressionLength to set maximum expression length for SpEL evaluation

Spring Expression Lanuage (SpEL) has a default limit of 10,000 characters. Springframework provides the feature to configure the limit. This feature allows to configure the limit of characters for SpEL expressions.

Use this feature as given below:

```
# orca-local.yml
# echo-local.yml
expression:
max-expression-length: <required limit>
```

0 comments on commit ed260b0

Please sign in to comment.