Skip to content

Commit

Permalink
remove helm image registry from global values
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Aug 7, 2024
1 parent 3b3da80 commit 0f227ae
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
restartPolicy: Never
containers:
- name: enrichment-db-migrations
# image.tag is set because you can't do helm upgrade and set the chart AppVersion manually
image: "{{ default "ghcr.io/ocurity/dracon" .Values.image.registry }}/draconctl:{{ default .Chart.AppVersion .Values.image.tag }}"
env:
- name: DRACONCTL_MIGRATIONS_PATH
Expand Down
9 changes: 5 additions & 4 deletions deploy/deduplication-db-migrations/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
# the database should use the Postgres dialect.

# image to use for applying the migrations
global:
image:
# registry to use for all
registry: ""
image:
# registry to use for all
registry: ""

serviceAccount:
create: false

enabled: true
14 changes: 11 additions & 3 deletions deploy/deduplication-db-migrations/values/dev.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

global:
image:
registry: kind-registry:5000
image:
registry: kind-registry:5000

database:
auth:
username: dracon
password: dracon
database: dracon
postgresPassword: dracon
querystringargs: "sslmode=disable"
host: dracon-postgresql:5432
2 changes: 2 additions & 0 deletions deploy/dracon/chart/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ dependencies:
- name: mongodb
repository: https://charts.bitnami.com/bitnami
version: 15.1.5
digest: sha256:f5b463f7862318ed8de9439769a72f14320f271c72c80ec7a2a1f1b209959d7a
generated: "2024-08-06T10:52:12.01515499+01:00"
5 changes: 2 additions & 3 deletions deploy/dracon/values/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ arangodb:
className: nginx
host: arangodb.dracon.localhost

global:
image:
registry: kind-registry:5000/ocurity/dracon
image:
registry: kind-registry:5000/ocurity/dracon

postgresql:
enabled: true
Expand Down

0 comments on commit 0f227ae

Please sign in to comment.