-
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 #2097 from wireapp/release_2022-02-02_19_37
# [2022-02-02] ## Release notes * Upgrade webapp version to 2022-01-27-production.0-v0.28.29-0-42c9a1e (#2078) ## Features * Allow brig's additionalWriteIndex to be on a different ElasticSearch cluster. This allows migrating to a new ElasticSearch cluster. (#2063) * The file sharing team feature now has a server wide configurable lock status. For more information please refer to [/docs/reference/config-options.md#file-sharing](https://github.com/wireapp/wire-server/blob/develop/docs/reference/config-options.md#file-sharing). (#2059) ## Internal changes * Remove non-existing functions from module export lists (#2095) * Rename Spar.Sem.IdP to Spar.Sem.IdPConfigStore (#2067) * Endpoints based on `MultiVerb` can now be made to return content types not listed in the `Accept` header (#2074) * The lock status of the file sharing team feature can be updated via the internal API (`PUT /i/teams/:tid/features/fileSharing/(un)?locked`). (#2059) * Servantify Galley Teams API (`GET /teams/:tid` and `DELETE /teams/:tid`). (#2092) * Add explicit export lists to all Spar.Sem modules (#2070) * Separate some Spar.Sem utility functions into their own module (#2069)
- Loading branch information
Showing
105 changed files
with
1,463 additions
and
664 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{{- define "cassandraGalleyHost" -}} | ||
{{ $cassandraGalley := default dict .Values.cassandraGalley }} | ||
{{- default (.Values.cassandra.host) $cassandraGalley.host }} | ||
{{- end -}} | ||
|
||
{{- define "cassandraBrigHost" -}} | ||
{{ $cassandraBrig := default dict .Values.cassandraBrig }} | ||
{{- default (.Values.cassandra.host) $cassandraBrig.host }} | ||
{{- end -}} | ||
|
||
{{- define "cassandraGundeckHost" -}} | ||
{{ $cassandraGundeck := default dict .Values.cassandraGundeck }} | ||
{{- default (.Values.cassandra.host) $cassandraGundeck.host }} | ||
{{- end -}} | ||
|
||
{{- define "cassandraSparHost" -}} | ||
{{ $cassandraSpar := default dict .Values.cassandraSpar }} | ||
{{- default (.Values.cassandra.host) $cassandraSpar.host }} | ||
{{- end -}} | ||
|
||
{{/* | ||
Note: in the past, 'replicaCount' was used, this fallback is only used | ||
for backwards-compatibility with already-installed charts to not break existing installations. | ||
Thus the order of priority is: | ||
1. cassandraGalley.replicationMap | ||
2. cassandra.replicationMap | ||
3. cassandraGalley.replicationFactor | ||
4. cassandra.replicationFactor | ||
5. cassandra.replicaCount | ||
*/}} | ||
|
||
{{- define "cassandraGalleyReplicationArg" -}} | ||
{{ $cassandraGalley := default dict .Values.cassandraGalley }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraGalley.replicationMap) -}} | ||
{{- default (.Values.cassandra.replicationMap) $cassandraGalley.replicationMap -}} | ||
{{- else -}} | ||
{{- default (default (.Values.cassandra.replicaCount) .Values.cassandra.replicationFactor) $cassandraGalley.replicationFactor -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "cassandraGalleyReplicationType" -}} | ||
{{ $cassandraGalley := default dict .Values.cassandraGalley }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraGalley.replicationMap) -}} | ||
{{- printf "--replication-map" -}} | ||
{{- else -}} | ||
{{- printf "--replication-factor" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
|
||
{{- define "cassandraGundeckReplicationArg" -}} | ||
{{ $cassandraGundeck := default dict .Values.cassandraGundeck }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraGundeck.replicationMap) -}} | ||
{{- default (.Values.cassandra.replicationMap) $cassandraGundeck.replicationMap -}} | ||
{{- else -}} | ||
{{- default (default (.Values.cassandra.replicaCount) .Values.cassandra.replicationFactor) $cassandraGundeck.replicationFactor -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "cassandraGundeckReplicationType" -}} | ||
{{ $cassandraGundeck := default dict .Values.cassandraGundeck }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraGundeck.replicationMap) -}} | ||
{{- printf "--replication-map" -}} | ||
{{- else -}} | ||
{{- printf "--replication-factor" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
|
||
{{- define "cassandraBrigReplicationArg" -}} | ||
{{ $cassandraBrig := default dict .Values.cassandraBrig }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraBrig.replicationMap) -}} | ||
{{- default (.Values.cassandra.replicationMap) $cassandraBrig.replicationMap -}} | ||
{{- else -}} | ||
{{- default (default (.Values.cassandra.replicaCount) .Values.cassandra.replicationFactor) $cassandraBrig.replicationFactor -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "cassandraBrigReplicationType" -}} | ||
{{ $cassandraBrig := default dict .Values.cassandraBrig }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraBrig.replicationMap) -}} | ||
{{- printf "--replication-map" -}} | ||
{{- else -}} | ||
{{- printf "--replication-factor" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
|
||
{{- define "cassandraSparReplicationArg" -}} | ||
{{ $cassandraSpar := default dict .Values.cassandraSpar }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraSpar.replicationMap) -}} | ||
{{- default (.Values.cassandra.replicationMap) $cassandraSpar.replicationMap -}} | ||
{{- else -}} | ||
{{- default (default (.Values.cassandra.replicaCount) .Values.cassandra.replicationFactor) $cassandraSpar.replicationFactor -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "cassandraSparReplicationType" -}} | ||
{{ $cassandraSpar := default dict .Values.cassandraSpar }} | ||
{{- if (or .Values.cassandra.replicationMap $cassandraSpar.replicationMap) -}} | ||
{{- printf "--replication-map" -}} | ||
{{- else -}} | ||
{{- printf "--replication-factor" -}} | ||
{{- 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 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
Oops, something went wrong.