|
| 1 | +diff --git a/charts/flux-operator/README.md b/charts/flux-operator/README.md |
| 2 | +index 071e024..2fccc5f 100644 |
| 3 | +--- a/charts/flux-operator/README.md |
| 4 | ++++ b/charts/flux-operator/README.md |
| 5 | +@@ -36,6 +36,7 @@ see the Flux Operator [documentation](https://fluxcd.control-plane.io/operator/) |
| 6 | + | commonAnnotations | object | `{}` | Common annotations to add to all deployed objects including pods. | |
| 7 | + | commonLabels | object | `{}` | Common labels to add to all deployed objects including pods. | |
| 8 | + | fullnameOverride | string | `""` | | |
| 9 | ++| hostNetwork | bool | `false` | If `true`, start flux-operator in hostNetwork mode. | |
| 10 | + | image | object | `{"pullSecrets":[],"repository":"ghcr.io/controlplaneio-fluxcd/flux-operator","tag":""}` | Container image settings. The image tag defaults to the chart appVersion. | |
| 11 | + | installCRDs | bool | `true` | Install and upgrade the custom resource definitions. | |
| 12 | + | livenessProbe | object | `{"httpGet":{"path":"/healthz","port":8081},"initialDelaySeconds":15,"periodSeconds":20}` | Container liveness probe settings. | |
| 13 | +diff --git a/charts/flux-operator/templates/deployment.yaml b/charts/flux-operator/templates/deployment.yaml |
| 14 | +index 2d75821..8ffd8d8 100644 |
| 15 | +--- a/charts/flux-operator/templates/deployment.yaml |
| 16 | ++++ b/charts/flux-operator/templates/deployment.yaml |
| 17 | +@@ -40,6 +40,9 @@ spec: |
| 18 | + securityContext: |
| 19 | + {{- toYaml . | nindent 8 }} |
| 20 | + {{- end }} |
| 21 | ++ {{- if .Values.hostNetwork }} |
| 22 | ++ hostNetwork: true |
| 23 | ++ {{- end }} |
| 24 | + containers: |
| 25 | + - name: manager |
| 26 | + env: |
| 27 | +diff --git a/charts/flux-operator/values.schema.json b/charts/flux-operator/values.schema.json |
| 28 | +index 85e4d02..64270a7 100644 |
| 29 | +--- a/charts/flux-operator/values.schema.json |
| 30 | ++++ b/charts/flux-operator/values.schema.json |
| 31 | +@@ -74,6 +74,10 @@ |
| 32 | + "fullnameOverride": { |
| 33 | + "type": "string" |
| 34 | + }, |
| 35 | ++ "hostNetwork": { |
| 36 | ++ "default": false, |
| 37 | ++ "type": "boolean" |
| 38 | ++ }, |
| 39 | + "image": { |
| 40 | + "properties": { |
| 41 | + "pullSecrets": { |
| 42 | +diff --git a/charts/flux-operator/values.yaml b/charts/flux-operator/values.yaml |
| 43 | +index 59b8a23..7ecefc0 100644 |
| 44 | +--- a/charts/flux-operator/values.yaml |
| 45 | ++++ b/charts/flux-operator/values.yaml |
| 46 | +@@ -87,3 +87,6 @@ tolerations: [ ] # @schema item: object ; uniqueItems: true |
| 47 | + marketplace: |
| 48 | + license: "" |
| 49 | + account: "" |
| 50 | ++ |
| 51 | ++# -- If `true`, start flux-operator in hostNetwork mode. |
| 52 | ++hostNetwork: false |
0 commit comments