Skip to content

Commit 4ca2a82

Browse files
authored
chore: rebase (#325)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent d5fff17 commit 4ca2a82

File tree

3 files changed

+12
-35
lines changed

3 files changed

+12
-35
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Chainloop is an open source software supply chain control plane, a
44

55
type: application
66
# Bump the patch (not minor, not major) version on each change in the Chart Source code
7-
version: 1.15.0
7+
version: 1.15.1
88
# Do not update appVersion, this is handled automatically by the release process
99
appVersion: v0.17.1
1010

deployment/chainloop/templates/controlplane/deployment.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ spec:
2828
serviceAccountName: {{ include "controlplane.serviceAccountName" . }}
2929
securityContext:
3030
{{- toYaml .Values.controlplane.podSecurityContext | nindent 8 }}
31+
initContainers:
32+
- name: migrate
33+
image: "{{ .Values.controlplane.migration.image.repository }}:{{ .Values.controlplane.migration.image.tag | default .Chart.AppVersion }}"
34+
imagePullPolicy: {{ .Values.controlplane.image.pullPolicy }}
35+
args:
36+
- migrate
37+
- apply
38+
- --url
39+
- "{{include "controlplane.database.atlas_connection_string" . }}"
40+
- --dir
41+
- file:///migrations
3142
containers:
3243
- name: {{ .Chart.Name }}
3344
securityContext:

deployment/chainloop/templates/controlplane/migrate-job.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)