Skip to content

Commit

Permalink
Merge pull request #2547 from YuleZ/hostAliases_for_rollout-operator
Browse files Browse the repository at this point in the history
[rollout-operator] Add host aliases
  • Loading branch information
zanhsieh authored Aug 1, 2023
2 parents 0509796 + c33ee1b commit 4981f70
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/rollout-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: rollout-operator
description: "Grafana rollout-operator"
type: application
version: 0.6.1
version: 0.7.0
appVersion: v0.6.0
home: https://github.com/grafana/rollout-operator
kubeVersion: ^1.10.0-0
3 changes: 2 additions & 1 deletion charts/rollout-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/r

# rollout-operator

![Version: 0.6.1](https://img.shields.io/badge/Version-0.6.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.6.0](https://img.shields.io/badge/AppVersion-v0.6.0-informational?style=flat-square)
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.6.0](https://img.shields.io/badge/AppVersion-v0.6.0-informational?style=flat-square)

Grafana rollout-operator

Expand Down Expand Up @@ -41,6 +41,7 @@ It is not a highly available application and runs as a single pod.
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| hostAliases | list | `[]` | hostAliases to add |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"grafana/rollout-operator"` | |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
Expand Down
4 changes: 4 additions & 0 deletions charts/rollout-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "rollout-operator.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down
7 changes: 7 additions & 0 deletions charts/rollout-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ image:
tag: ""

imagePullSecrets: []

# -- hostAliases to add
hostAliases: []
# - ip: 1.2.3.4
# hostnames:
# - domain.tld

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit 4981f70

Please sign in to comment.