You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: helm/flowfuse/README.md
+43-3Lines changed: 43 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,9 @@ For other values please refer to the documentation below.
35
35
-`forge.projectSelector` a collection of labels and values to filter nodes that Project Pods will run on (default `role: projects`)
36
36
-`forge.projectNamespace` namespace Project Pods will run in (default `flowforge`)
37
37
-`forge.projectDeploymentTolerations` tolerations settings for Project instances. Default is `[]`.
38
-
-`forge.projectNetworkPolicy.enabled` specified if [Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) should be created for project pods ( default `false`)
39
-
-`forge.projectNetworkPolicy.ingress` a list of ingress rules for the [Network Policy](https://kubernetes.io/docs/concepts/services-networking/network-policies/) applied on project pods ( default `[]`)
40
-
-`forge.projectNetworkPolicy.egress` a list of egress rules for the [Network Policy](https://kubernetes.io/docs/concepts/services-networking/network-policies/) applied in project pods ( default `[]`)
38
+
-`forge.projectNetworkPolicy.enabled`**DEPRECATED** (use the top-level [`networkPolicies`](#network-policies) value instead) specified if [Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) should be created for project pods ( default `false`)
39
+
-`forge.projectNetworkPolicy.ingress`**DEPRECATED** (use the top-level [`networkPolicies`](#network-policies) value instead) a list of ingress rules for the [Network Policy](https://kubernetes.io/docs/concepts/services-networking/network-policies/) applied on project pods ( default `[]`)
40
+
-`forge.projectNetworkPolicy.egress`**DEPRECATED** (use the top-level [`networkPolicies`](#network-policies) value instead) a list of egress rules for the [Network Policy](https://kubernetes.io/docs/concepts/services-networking/network-policies/) applied in project pods ( default `[]`)
41
41
-`forge.projectIngressClassName` ingress class name for project instances (default is `ingress.className` value if set, otherwise `"""`)
42
42
-`forge.projectIngressAnnotations` ingress annotations for project instances (default is `{}`)
43
43
-`forge.projectServiceType` service type for project instances (allowed `ClusterIP` or `NodePort`, default is `ClusterIP`)
@@ -391,6 +391,46 @@ readinessProbe:
391
391
failureThreshold: 3
392
392
```
393
393
394
+
### Network Policies
395
+
396
+
The chart can deploy arbitrary [NetworkPolicies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) via the top-level `networkPolicies` value. It is a map keyed by policy name; each entry renders one `NetworkPolicy`. The chart owns `apiVersion`, `kind`, `metadata.name` (the map key), labels and namespace, while `spec` is rendered as-is. Full Helm templating is supported in both keys and values (`.Release.*`, `.Values.*`, helper functions), so policies can target any namespace and any pods.
397
+
398
+
- `networkPolicies`map of custom NetworkPolicies to deploy as part of this release. Helm templating is supported. (default `{}`)
399
+
- `<name>.namespace`namespace the policy is created in (default is the release namespace)
400
+
- `<name>.labels`extra labels merged onto the chart labels (default `{}`)
401
+
- `<name>.annotations`annotations applied to the policy (default `{}`)
> **Note:** `forge.projectNetworkPolicy` is deprecated in favour of this value. To reproduce it, target the project namespace and the `nodered: "true"` pods (see the example below).
405
+
406
+
Example:
407
+
408
+
```yaml
409
+
networkPolicies:
410
+
# Equivalent of the deprecated forge.projectNetworkPolicy
411
+
flowfuse-projects-policy:
412
+
namespace: "{{ .Values.forge.projectNamespace }}"
413
+
spec:
414
+
podSelector:
415
+
matchLabels:
416
+
nodered: "true"
417
+
policyTypes:
418
+
- Ingress
419
+
- Egress
420
+
ingress:
421
+
- from:
422
+
- podSelector: {}
423
+
egress:
424
+
- to:
425
+
- namespaceSelector: {}
426
+
# Deny all ingress to the release namespace by default
427
+
default-deny-ingress:
428
+
spec:
429
+
podSelector: {}
430
+
policyTypes:
431
+
- Ingress
432
+
```
433
+
394
434
### Extra Objects
395
435
396
436
The chart supports deploying arbitrary Kubernetes manifests alongside the main release via `extraObjects`. Each item is rendered as-is, with full Helm templating support (`.Release.*`, `.Values.*`, helper functions).
Thank you for installing {{ .Chart.Name }} v{{ .Chart.AppVersion }}
2
2
3
-
You can complete the setup wizard at {{ if .Values.forge.entryPoint }}http{{- if .Values.forge.https -}}s{{- end -}}://{{ .Values.forge.entryPoint }}{{- else }}http{{- if .Values.forge.https -}}s{{- end -}}://forge.{{ .Values.forge.domain }}{{- end }}
3
+
You can complete the setup wizard at {{ if .Values.forge.entryPoint }}http{{- if .Values.forge.https -}}s{{- end -}}://{{ .Values.forge.entryPoint }}{{- else }}http{{- if .Values.forge.https -}}s{{- end -}}://forge.{{ .Values.forge.domain }}{{- end }}
4
+
{{ if (((.Values.forge).projectNetworkPolicy).enabled) }}
5
+
[DEPRECATION WARNING] `forge.projectNetworkPolicy` is deprecated and will be
6
+
removed in a future release. Please migrate to the top-level `networkPolicies`
0 commit comments