Skip to content

Conversation

@metajiji
Copy link

@metajiji metajiji commented Dec 25, 2025

Problem

The current Helm chart for operator-for-redis does not specify an appVersion field in Chart.yaml.

Also .Values.image.tag is empty in values.yaml:

image:
  repository: cinple/operator-for-redis-cluster-operator
  # Overrides the image tag whose default is the chart appVersion
  tag: ""
  pullPolicy: IfNotPresent

As a result, the image tag in deployment.yaml defaults to an empty value:

image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

This leads to an invalid image reference causing deployment failures.

image: cinple/operator-for-redis-cluster-operator:

According to the Helm documentation on the appVersion field, the appVersion is used to track the application version being packaged, and it serves as the default image tag if not overridden.

Solution

Add the --app-version=$OPERATOR_VERSION flag to the helm package command to fix this.
This change ensures the chart's appVersion is populated, preventing empty image tags and deployment issues.

Add missing appVersion to Chart.yaml for redis operator chart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant