Skip to content

Commit

Permalink
helm:add registry options
Browse files Browse the repository at this point in the history
  • Loading branch information
torsten-simon committed Nov 18, 2024
1 parent 76bd2a1 commit 4139883
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy/docker/helm/src/main/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ apiVersion: v2
name: edu-sharing-services-connector
description: Helm chart for edu-sharing connector app
type: application
version: 8.1.9998
appVersion: 0.1.0
version: 8.3.0-RC4
appVersion: 8.3.0
8 changes: 6 additions & 2 deletions deploy/docker/helm/src/main/chart/templates/statefulset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ spec:
spec:
containers:
- name: edu-sharing-connector
image: docker.edu-sharing.com/community/edu_sharing-community-services-edu-connector-service:{{ .Values.version }}
image: {{ .Values.global.image.registry }}/community/edu_sharing-community-services-edu-connector-service:{{ .Values.version }}
imagePullPolicy: {{ .Values.global.image.pullPolicy }}
{{- with .Values.securityContext }}
securityContext: {{ toYaml . | nindent 10 }}
{{- end }}
imagePullPolicy: Always
env:
- name: HOST_EXTERNAL
Expand Down Expand Up @@ -102,7 +106,7 @@ spec:
spec:
containers:
- name: edu-sharing-connector-db
image: docker.edu-sharing.com/community/edu_sharing-community-services-edu-connector-deploy-docker-build-postgresql:{{ .Values.version }}
image: {{ .Values.image.custom.postgresql }}
env:
- name: POSTGRESQL_DATABASE
value: connector
Expand Down
9 changes: 8 additions & 1 deletion deploy/docker/helm/src/main/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
baseUrl:
storageClassName:
clusterIssuer: letsencrypt
version: maven-fixes-8.1-SNAPSHOT
version: 8.3.0-RC1
global:
image:
registry: docker.edu-sharing.com
pullPolicy: Always
image:
custom:
postgresql: docker.edu-sharing.com/community/common/edu_sharing-community-common-docker-postgresql:13.15.0

0 comments on commit 4139883

Please sign in to comment.