Skip to content

Commit

Permalink
helm chart: fix broken default values after 3166d43 (#1316)
Browse files Browse the repository at this point in the history
Fixes #1315.
  • Loading branch information
tamcore authored Nov 23, 2023
1 parent d601df9 commit a9cc7fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion deploy/helm/grafana-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ It's easier to just manage this configuration outside of the operator.
| additionalLabels | object | `{}` | additional labels to add to all resources |
| affinity | object | `{}` | pod affinity |
| env | list | `[]` | Additional environment variables |
| env.grafanaImage | string | `""` | grafana image, e.g. docker.io/grafana/grafana:9.1.6, overwrites the default grafana image defined in the operator |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | The image pull policy to use in grafana operator container |
| image.repository | string | `"ghcr.io/grafana-operator/grafana-operator"` | grafana operator image repository |
Expand Down
4 changes: 0 additions & 4 deletions deploy/helm/grafana-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{- if .Values.env.grafanaImage }}
- name: RELATED_IMAGE_GRAFANA
value: {{ .Values.env.grafanaImage }}
{{- end }}
- name: WATCH_NAMESPACE
{{- if and .Values.namespaceScope (eq .Values.watchNamespaces "") }}
value: {{ .Release.Namespace }}
Expand Down
7 changes: 3 additions & 4 deletions deploy/helm/grafana-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ watchNamespaces: ""

# -- Additional environment variables
env: []
# -- grafana image, e.g. docker.io/grafana/grafana:9.1.6, overwrites the default grafana image defined in the operator
# - name: RELATED_IMAGE_GRAFANA
# value: "docker.io/grafana/grafana:9.1.6"
# - name: MY_VAR
# value: "myvalue"

Expand All @@ -26,10 +29,6 @@ image:
# -- image pull secrets
imagePullSecrets: []

env:
# -- grafana image, e.g. docker.io/grafana/grafana:9.1.6, overwrites the default grafana image defined in the operator
grafanaImage: ""

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit a9cc7fc

Please sign in to comment.