-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPAR: Added Postgres init. Fixed nested dependencies
- Loading branch information
1 parent
7298ced
commit c74b403
Showing
13 changed files
with
99 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
dependencies: | ||
- name: postgresql | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 13.2.24 | ||
version: 13.4.4 | ||
- name: redis | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 18.5.0 | ||
digest: sha256:f7a78c28904bfb08c2c1b1daf44c8ffa57faeb9a5df4ae82274e68e54b7cc31b | ||
generated: "2023-12-11T21:54:58.092231288+05:30" | ||
version: 18.12.0 | ||
- name: spar-g2pconnect-id-mapper | ||
repository: "" | ||
version: 0.1.0 | ||
- name: sunbird-rc-g2p-mapper-registry | ||
repository: "" | ||
version: 0.1.0 | ||
digest: sha256:1e9deadb92614547a6635a0a81e152362d46ceb9d9dd8f7e6cac6eb208c7dd7c | ||
generated: "2024-02-02T02:08:46.452615943+05:30" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-61.8 KB
charts/social-payments-account-registry/charts/postgresql-13.2.24.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
charts/social-payments-account-registry/templates/postgres-init/job.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{- if .Values.postgresInit.enabled }} | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: {{ include "spar.fullname" . }}-postgres-init | ||
labels: | ||
{{- include "spar.labels" . | nindent 4 }} | ||
annotations: | ||
"helm.sh/hook": post-install,post-upgrade | ||
spec: | ||
backoffLimit: {{ .Values.postgresInit.backoffLimit }} | ||
template: | ||
spec: | ||
restartPolicy: {{ .Values.postgresInit.restartPolicy }} | ||
serviceAccountName: {{ include "spar.serviceAccountName" . }} | ||
containers: | ||
- name: postgres-init | ||
image: {{ .Values.postgresInit.image }} | ||
imagePullPolicy: {{ .Values.postgresInit.imagePullPolicy }} | ||
env: | ||
{{ include "spar.envVars" . | nindent 10 }} | ||
{{ include "spar.postgresInitEnvVars" . | nindent 10 }} | ||
command: {{ toYaml .Values.postgresInit.command | nindent 10 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: sunbird-rc-core | ||
repository: "" | ||
version: 0.1.0 | ||
digest: sha256:24f4549722655b1465bab18e796ed8431b8d7fbd10d2068ff672eff3ece06f67 | ||
generated: "2024-02-02T02:10:39.540261102+05:30" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters