-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4053 from wireapp/release_2024-05-21_12_44
Release 2024-05-21 - (expected chart version 5.3.0)
- Loading branch information
Showing
242 changed files
with
5,900 additions
and
2,698 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
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
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
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
59 changes: 59 additions & 0 deletions
59
charts/cassandra-migrations/templates/gundeck-migrate-data.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,59 @@ | ||
# This jobs runs migrations on the gundeck DB using the gundeck-migrate-data tool. | ||
# The source for the tool can be found at services/gundeck in the wire-server | ||
# repository. | ||
{{- if .Values.enableGundeckMigrations }} | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: gundeck-migrate-data | ||
labels: | ||
app: "cassandra-migrations" | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" | ||
release: "{{ .Release.Name }}" | ||
heritage: "{{ .Release.Service }}" | ||
annotations: | ||
"helm.sh/hook": post-install,post-upgrade | ||
"helm.sh/hook-weight": "10" | ||
"helm.sh/hook-delete-policy": "before-hook-creation" | ||
spec: | ||
template: | ||
metadata: | ||
name: "{{.Release.Name}}" | ||
labels: | ||
app: gundeck-migrate-data | ||
heritage: {{.Release.Service | quote }} | ||
release: {{.Release.Name | quote }} | ||
chart: "{{.Chart.Name}}-{{.Chart.Version}}" | ||
spec: | ||
restartPolicy: OnFailure | ||
containers: | ||
- name: gundeck-migrate-data | ||
image: "{{ .Values.images.gundeckMigrateData }}:{{ .Values.images.tag }}" | ||
imagePullPolicy: {{ default "" .Values.imagePullPolicy | quote }} | ||
{{- if eq (include "includeSecurityContext" .) "true" }} | ||
securityContext: | ||
{{- toYaml .Values.podSecurityContext | nindent 12 }} | ||
{{- end }} | ||
args: | ||
- --cassandra-host | ||
- "{{ template "cassandraGundeckHost" . }}" | ||
- --cassandra-port | ||
- "9042" | ||
- --cassandra-keyspace | ||
- gundeck | ||
{{- if eq (include "useTlsGundeck" .) "true" }} | ||
- --tls-ca-certificate-file | ||
- /certs/gundeck/{{- (include "tlsSecretRefGundeck" . | fromYaml).key }} | ||
{{- end }} | ||
{{- if eq (include "useTlsGundeck" .) "true" }} | ||
volumeMounts: | ||
- name: gundeck-cassandra-cert | ||
mountPath: "/certs/gundeck" | ||
{{- end }} | ||
{{- if eq (include "useTlsGundeck" .) "true" }} | ||
volumes: | ||
- name: gundeck-cassandra-cert | ||
secret: | ||
secretName: {{ (include "tlsSecretRefGundeck" . | fromYaml).name }} | ||
{{- end }} | ||
{{- 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.