Closed scoopex closed 2 years ago
Hi, @scoopex!
I understand your necessity. The PR is cool for me. Do you agree @sa-ChristianAnton?
By default specific tags is not defined, but with this PR is possible to use.
Hi @scoopex!
Sorry. I reviewed and approved quickly. Talking with @sa-ChristianAnton I saw that the parameters you are setting as follows.
image: "{{ .Values.zabbixserver.image.repository }}:{{ .Values.zabbixserver_image_tag }}" image: "{{ .Values.zabbixagent.image.repository }}:{{ .Values.zabbixagent_image_tag }}" image: "{{ .Values.zabbixweb.image.repository }}:{{ .Values.zabbixweb_image_tag }}" image: "{{ .Values.zabbixwebservice.image.repository }}:{{ .Values.zabbixwebservice_image_tag }}"
We think it would be more interesting to define it as follows.
image: "{{ .Values.zabbixserver.image.repository }}:{{ .Values.zabbixserver.image.tag }}" image: "{{ .Values.zabbixagent.image.repository }}:{{ .Values.zabbixagent.image.tag }}" image: "{{ .Values.zabbixweb.image.repository }}:{{ .Values.zabbixweb.image.tag }}" image: "{{ .Values.zabbixwebservice.image.repository }}:{{ .Values.zabbixwebservice.image.tag }}"
The same idea applies to snippets with the if statement. Example:
Before:
{{- if .Values.zabbixagent_image_tag }}
After:
{{- if .Values.zabbixagent.image.tag }}
Another question: could you put these specific parameters in the values.yaml file (even if commented) with the same value as the tag? This makes it more intuitive for other people to use.
Yes of course, i changed that.
Pushed "make gen-docs" update.
introduce specific image tags