Skip to content

Commit

Permalink
Feature: revice chart value and rise chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangpeng committed Mar 7, 2024
1 parent d4c4299 commit ab40f01
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/rabbitmq/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.3
version: 1.0.4


# This is the version number of the application being deployed. This version number should be
Expand Down
8 changes: 6 additions & 2 deletions charts/rabbitmq/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ spec:
- name: OPERATOR_SCOPE_NAMESPACE
value: "{{ .Values.manager.watchNamespace }}"
- name: LOCAL_REGISTRY
value: {{ .Values.localRegistry | default "docker.io" }}
value: {{ .Values.global.imageRegistry | default "docker.io" }}
- name: NAMESPACE_OVERRIDE
value: {{ .Values.namespaceOverride | default "radondb" }}
- name: RABBITMQ_IMAGE
value: {{ .Values.cluster.rabbitmq.image | default "rabbitmq" }}
- name: RABBITMQ_VERSION
value: {{ .Values.cluster.rabbitmq.tag | default "3.11.13-management" }}
image: "{{ .Values.localRegistry | default "docker.io" }}{{"/"}}{{ .Values.namespaceOverride | default "radondb" }}{{"/"}}{{ .Values.manager.image }}:{{ .Values.manager.tag | default .Chart.AppVersion }}"
{{- if .Values.global.imagePullSecrets }}
- name: DEFAULT_IMAGE_PULL_SECRETS
value: {{ .Values.global.imagePullSecrets }}
{{- end }}
image: "{{ .Values.global.imageRegistry | default "docker.io" }}{{"/"}}{{ .Values.namespaceOverride | default "radondb" }}{{"/"}}{{ .Values.manager.image }}:{{ .Values.manager.tag | default .Chart.AppVersion }}"
name: rabbitmq-cluster-operator
ports:
- containerPort: 9782
Expand Down
4 changes: 4 additions & 0 deletions charts/rabbitmq/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
global:
imageRegistry: docker.io
imagePullSecrets: []

nodeSelector: {}
tolerations: []
manager:
Expand Down

0 comments on commit ab40f01

Please sign in to comment.