Skip to content

Commit

Permalink
Merge pull request #57 from bci-oss/feature/making-imageversion-confi…
Browse files Browse the repository at this point in the history
…gurable

Making image version configurable and introduce appVersion as default
  • Loading branch information
LuLeRoemer authored Mar 29, 2023
2 parents 036c3d1 + b1c0b41 commit 2c01904
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/semantic-hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: semantic-hub
description: Helm Chart for the Catena-X Semantic Hub Application

type: application
version: 0.1.7
appVersion: 0.1.0-M3
version: 0.1.8
appVersion: 0.2.0-M1
2 changes: 1 addition & 1 deletion charts/semantic-hub/templates/hub/hub-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
spec:
containers:
- name: {{ $deployment_name }}
image: {{ .Values.hub.image }}
image: {{ .Values.hub.image.registry }}/{{ .Values.hub.image.repository }}:{{ .Values.hub.image.version | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.hub.imagePullPolicy }}
{{- if not .Values.hub.authentication }}
args: ["--spring.profiles.active=local"]
Expand Down
6 changes: 5 additions & 1 deletion charts/semantic-hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
###############################################################

hub:
image: ghcr.io/catenax-ng/semantic-hub:0.1.0-M3
image:
registry: ghcr.io/catenax-ng
repository: sldt-semantic-hub
# This version property overwrites the default image version. The default image version is the appVersion of the Chart.yaml.
version: ""
imagePullPolicy: IfNotPresent
replicaCount: 1
containerPort: 4242
Expand Down

0 comments on commit 2c01904

Please sign in to comment.