Skip to content

Commit

Permalink
Merge pull request #54 from stfc/Fix_chart_not_getting_version
Browse files Browse the repository at this point in the history
Fix chart not getting version
  • Loading branch information
meoflynn authored Mar 23, 2023
2 parents c12da2a + 26c7058 commit 4b01a22
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rabbit_consumer_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
paths:
- ".github/workflows/rabbit_consumer_chart.yaml"
- "OpenStack-Rabbit-Consumer-Chart/**"
- "charts/rabbit-consumer/**"

jobs:
helm-lint:
Expand Down
2 changes: 1 addition & 1 deletion charts/rabbit-consumer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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.1
version: 1.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 0 additions & 1 deletion charts/rabbit-consumer/staging-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ consumer:

image:
repository: harbor.stfc.ac.uk/stfc-cloud-staging/openstack-rabbit-consumer
tag: "latest"
pullPolicy: Always

aquilon:
Expand Down
2 changes: 1 addition & 1 deletion charts/rabbit-consumer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
containers:
- name: consumer

image: "{{ .Values.consumer.image.repository }}:{{ .Values.consumer.image.tag }}"
image: "{{ .Values.consumer.image.repository }}:{{ default .Chart.AppVersion .Values.consumer.image.tag }}"
imagePullPolicy: {{ .Values.consumer.image.pullPolicy }}

envFrom:
Expand Down

0 comments on commit 4b01a22

Please sign in to comment.