-
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 #1421 from wireapp/release_2021_03_23
Release 2021-03-23
- Loading branch information
Showing
81 changed files
with
1,677 additions
and
341 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
19 changes: 19 additions & 0 deletions
19
charts/nginx-ingress-services/templates/federation-test-helper.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,19 @@ | ||
# Assumes that the controller is deployed in the same namespace. Only used for | ||
# enabling discovery by creating SRV records while running integration tests. | ||
{{- if (and .Values.federator.enabled .Values.federator.integrationTestHelper) }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: federation-test-helper | ||
namespace: {{ .Release.namespace }} | ||
spec: | ||
ports: | ||
- name: wire-server-federator | ||
port: 443 | ||
protocol: TCP | ||
targetPort: https | ||
selector: | ||
app: nginx-ingress | ||
component: controller | ||
type: ClusterIP | ||
{{- 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
27 changes: 27 additions & 0 deletions
27
charts/nginx-ingress-services/templates/ingress_federator.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,27 @@ | ||
{{- if .Values.federator.enabled }} | ||
# We use a separate ingress for federator/grpc since we can't forward | ||
# both normal http1 traffic and grpc traffic in the same kubernetes ingress it appears. | ||
# Setting backend-protocol annotation to "GRPC" for everything is likely incorrect. | ||
# see also example https://github.com/kubernetes/ingress-nginx/blob/master/docs/examples/grpc/ingress.yaml | ||
# and docs https://kubernetes.github.io/ingress-nginx/examples/grpc/ | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: federator-ingress | ||
annotations: | ||
kubernetes.io/ingress.class: "nginx" | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
nginx.ingress.kubernetes.io/backend-protocol: "GRPC" | ||
spec: | ||
tls: | ||
- hosts: | ||
- {{ .Values.config.dns.federator }} | ||
secretName: {{ include "nginx-ingress-services.getCertificateSecretName" . | quote }} | ||
rules: | ||
- host: {{ .Values.config.dns.federator }} | ||
http: | ||
paths: | ||
- backend: | ||
serviceName: federator | ||
servicePort: federator-ext # name must be below 15 chars | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpQIBAAKCAQEApwf/2d2YraQDpCipPVtYR+7BNu47AgkD7kFvGhoxJhDP7CsU | ||
VdpqU5gsVVo8kvhkh4k1tsJyuWWeKn6piNSXxUCFIc80KkUPgsYf5v+RBXr73Fdg | ||
ezHQNhNi0dRZCh+YG/hN7pOX46+B0PyKwUEMTeUqizkmFU5tILPMMyDAGx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Gh1gDpECBcRbxj1GLrOFVH6VUh | ||
1Hb/ulET+LmCKdM1E110Qy0CgYEAimbDHSUGxHPg2pq0XMMsSWyegq3RjcfMIQPN | ||
z0zTr0oSz1KUuCaoWo1pCvtJQS+4fvhMOTYS4rHreZw3T6CO3hs+rvJm1QGf6Iit | ||
HtknYZfaN/TXprAP7Ez87xgZcJAcGmG0syp1Iqc/ID5e7D/ZXpzQkiXg+ZpXAyAi | ||
OcjgOCkCgYEAmsCsqtPn5vgB+/vr0n28UsFS4Of9whlgEPYndNss3nAmVEohQJRg | ||
QlBlJd2iDa7R0TrJZCuAwuqK7TxB/RoHL8UkryUt2nag39GYAyE+lfPM558/AWyt | ||
9yyLQNfiJnqTC2Ne2j7EyicBLha4J9NoBeNE5UqLlzrH4LRJ3fRX9Ps= | ||
-----END RSA PRIVATE KEY----- |
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,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDAjCCAeqgAwIBAgIUJ+1IpVKexlyGhgZaOZi2Ka01Q2QwDQYJKoZIhvcNAQEL | ||
BQAwGTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5jb20wHhcNMjEwMzA5MjA0MDAwWhcN | ||
MjYwMzA4MjA0MDAwWjAZMRcwFQYDVQQDEw5jYS5leGFtcGxlLmNvbTCCASIwDQYJ | ||
KoZIhvcNAQEBBQADggEPADCCAQoCggEBAKcH/9ndmK2kA6QoqT1bWEfuwTbuOwIJ | ||
A+5BbxoaMSYQz+wrFFXaalOYLFVaPJL4ZIeJNbbCcrllnip+qYjUl8VAhSHPNCpF | ||
D4LGH+b/kQV6+9xXYHsx0DYTYtHUWQofmBv4Te6Tl+OvgdD8isFBDE3lKos5JhVO | ||
bSCzzDMgwBsdQadiwaCYuLvuPH80wzGlkl5wlRdOBvfgOCw88NHz3QzICixIlyfB | ||
j6D7NHDbOjCaBQ4KXoM8tZr+1+6LZkVU2mn2RneE06OpRgtlVUkubaY+EH8/z8cg | ||
iyu7X+dN9xzVhCcwMOos0V6fOPVX3qx7mBGz/tpXsTZPbZeOQbBYZK8CAwEAAaNC | ||
MEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFFLJ | ||
Dc8PpKsUGFi33sK+r5Xgi97XMA0GCSqGSIb3DQEBCwUAA4IBAQBtiav0b3r4k3CC | ||
N1DRNNpcvpHR8odPJkxR2r0kCLRqwu2YDxQYxCK5wCPNcpzGDd6nyg/nLWBzl4Vd | ||
UwBIUPSVavDAeQ8VL0YNCNhQlL4x6z5rT1aSRdp0VlRnnl4zjilWSN/IB5Y61i0Q | ||
Ww7Sd5T9hZUCOJm5bAeLo4+cxkOwN6jdT2wmLtgFkj4CFVvS/8nL8ZwC1qvt3mLs | ||
E8q7/KelKgddU5AET8Viim20m6ZxgGNWIX33LBiJ3Rg3QuJMnWyfBI6PCORRrdTb | ||
0AH/F3iUKQL8Zv6twr++S7VPeDllVgEXkq457ZBi2qJPikL5cUprV/0bWQxgf4+1 | ||
L70TaNMy | ||
-----END CERTIFICATE----- |
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,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpAIBAAKCAQEA7AcV1TSTJRGMOM+qB2F4wWbsV+M2C/4KWt0LKC6k3EeqYo+R | ||
n9utlcH42S3UgzjB9zVMXYItwtGSCNVbxQ4s/nCNsyZR2JB689gnR1hetnKCFJTY | ||
2ETBsqFgoyNHU1ZkoTIq0ZQVeOEkcn2qnM981xuPvptY1ChdFtD52ybJRhAcgrHX | ||
+P3aWns0N7Hn7EgFWinGDCZ27QXA/iiuSteV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AEYStxUCgYBj46Hs/1RgETqpxjuKE4hzDEqTEi8PhsT+36A5 | ||
NxoF2eRanUFTFR2fhY10iah6FxPFINjuysF/6owXUGRfB3Aqbm4ujkfhgd4uWjwE | ||
b5CupfQB5LMnCoRrHmg9a0ppXee8KNx+RgK3HDqs5tlgLZmRrLJBVtD7+vKx0fhr | ||
2uGDfQKBgQCVu/KGMBrS1M/05nrg6MS8vrDO0Wwyk3X9/mmGh651omQeW39IvFq+ | ||
5rI0w46f6mslksFYqCJhfxXIKHN0sB3cBw/290j6FY3+TxpD2sJLIOeTllr+ivvA | ||
4BBs0XcecrPF7Ykw+E9hOHTo+dBRoTz1yUPHJYsTN5vI8los9XIyBg== | ||
-----END RSA PRIVATE KEY----- |
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,20 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDXDCCAkSgAwIBAgIUcLcIBd4tb4neS1GuVAk3wGKOclQwDQYJKoZIhvcNAQEL | ||
BQAwGTEXMBUGA1UEAxMOY2EuZXhhbXBsZS5jb20wHhcNMjEwMzA5MjA0MDAwWhcN | ||
MjIwMzA5MjA0MDAwWjAAMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA | ||
7AcV1TSTJRGMOM+qB2F4wWbsV+M2C/4KWt0LKC6k3EeqYo+Rn9utlcH42S3UgzjB | ||
9zVMXYItwtGSCNVbxQ4s/nCNsyZR2JB689gnR1hetnKCFJTY2ETBsqFgoyNHU1Zk | ||
oTIq0ZQVeOEkcn2qnM981xuPvptY1ChdFtD52ybJRhAcgrHX+P3aWns0N7Hn7EgF | ||
WinGDCZ27QXA/iiuSteVr/3Fh39RF7+YYix4Y7TRqXQqRhK/sp7fZQjLeXB/oECh | ||
5tEm/WEFJoX4mDNf96GAVzHynjNysCSZd44iZxbMlgNynYv01Q/LLddI1KBz4Mqq | ||
tBvHgh61ddtcM6vi15iK8QIDAQABo4G0MIGxMA4GA1UdDwEB/wQEAwIFoDAdBgNV | ||
HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4E | ||
FgQU8Xe12Pp5uejfckcNvS4m6s/3aCgwHwYDVR0jBBgwFoAUUskNzw+kqxQYWLfe | ||
wr6vleCL3tcwMgYDVR0RAQH/BCgwJoIZKi5pbnRlZ3JhdGlvbi5leGFtcGxlLmNv | ||
bYIJbG9jYWxob3N0MA0GCSqGSIb3DQEBCwUAA4IBAQCcNy2uaVgh2aSxIwkbBJdk | ||
496vmzpdyvNZP5x3NHNVsUo3Ldb7llt72Rdwe0szGeZ0Df3s5y9F7jEmmM8efINF | ||
jTvh6R7zWJCQor64JHgeh0qFur8DV6hv7CH3j/RA3Cu+bmwxd6DDlOwroU97NOcf | ||
fKvRD3F5iH5wcz174NNq+E0lWX5QsscM8K4nQ/JfVbvmVmi5N4MCigTAxzsRF/Dr | ||
ZylL5ikwP/rcUyVySbm/5JT4bLFnhhLjHORPLDwM3l/AMKEJUzv9kt/HLoZAA9Im | ||
la+k91bt//8XMhmfP01IRkuMMfN9/nVkfhwmIk5b2MqTiWZzjDVqHulYMq4BNU54 | ||
-----END CERTIFICATE----- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Developer how-to's | ||
|
||
The following assume you have a working developer environment with all the dependencies listed in [./dependencies.md](./dependencies.md) available to you. | ||
|
||
## How to look at the swagger docs / UI locally | ||
|
||
Terminal 1: | ||
* Set up backing services: `./deploy/dockerephemeral/run.sh` | ||
|
||
Terminal 2: | ||
* Compile all services: `make services` | ||
* Run services including nginz: `export INTEGRATION_USE_NGINZ=1; ./services/start-services-only.sh` | ||
|
||
Open your browser at: | ||
|
||
- http://localhost:8080/api/swagger-ui for the swagger 2.0 endpoints (in development as of Feb 2021 - more endpoints will be added here as time goes on) | ||
- http://localhost:8080/swagger-ui/ for the old swagger 1.2 API (old swagger, endpoints will disappear from here (and become available in the previous link) as time progresses) | ||
|
||
Swagger json (for swagger 2.0 endpoints) is available under http://localhost:8080/api/swagger.json |
Oops, something went wrong.