Skip to content

Commit d9c3ad4

Browse files
Merge pull request #4022 from marcoaraujo54/patch-1
[rollout-operator] Add hostNetwork option, defaulted off
2 parents 6217e0c + 7ea3660 commit d9c3ad4

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

charts/rollout-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: rollout-operator
33
description: "Grafana rollout-operator"
44
type: application
5-
version: 0.38.2
5+
version: 0.39.0
66
appVersion: v0.32.0
77
home: https://github.com/grafana/rollout-operator
88
kubeVersion: ^1.10.0-0

charts/rollout-operator/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/r
44

55
# rollout-operator
66

7-
![Version: 0.38.2](https://img.shields.io/badge/Version-0.38.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.32.0](https://img.shields.io/badge/AppVersion-v0.32.0-informational?style=flat-square)
7+
![Version: 0.39.0](https://img.shields.io/badge/Version-0.39.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.32.0](https://img.shields.io/badge/AppVersion-v0.32.0-informational?style=flat-square)
88

99
Grafana rollout-operator
1010

@@ -54,6 +54,7 @@ Manually applying these CRDs is only required if upgrading from a chart <= v0.32
5454
| fullnameOverride | string | `""` | |
5555
| global.commonLabels | object | `{}` | Common labels for all object directly managed by this chart. |
5656
| hostAliases | list | `[]` | hostAliases to add |
57+
| hostNetwork | bool | `false` | Enable or disable the use of host networking for the pod. When true, the pod will use the node's network namespace |
5758
| image.pullPolicy | string | `"IfNotPresent"` | |
5859
| image.registry | string | `"docker.io"` | |
5960
| image.repository | string | `"grafana/rollout-operator"` | |

charts/rollout-operator/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ spec:
3636
imagePullSecrets:
3737
{{- toYaml . | nindent 8 }}
3838
{{- end }}
39+
{{- with .Values.hostNetwork }}
40+
hostNetwork: {{ . }}
41+
{{- end }}
3942
{{- with .Values.hostAliases }}
4043
hostAliases:
4144
{{- toYaml . | nindent 8 }}

charts/rollout-operator/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ hostAliases: []
2525
# hostnames:
2626
# - domain.tld
2727

28+
# -- Enable or disable the use of host networking for the pod.
29+
# When true, the pod will use the node's network namespace
30+
hostNetwork: false
31+
2832
nameOverride: ""
2933
fullnameOverride: ""
3034

0 commit comments

Comments
 (0)