-
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 #1298 from wireapp/release/2020-12-21
Release 2020/12/21
- Loading branch information
Showing
385 changed files
with
14,653 additions
and
574 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# helm generated files | ||
*.tgz | ||
requirements.lock |
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,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
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,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for the Wire account pages in Kubernetes | ||
name: account-pages | ||
version: 0.0.42 |
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 @@ | ||
Basic web application that provides a frontend with functionality for account activation and password reset |
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,16 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "account-pages.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
*/}} | ||
{{- define "account-pages.fullname" -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: account-pages | ||
labels: | ||
wireService: account-pages | ||
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
spec: | ||
replicas: {{ .Values.replicaCount }} | ||
strategy: | ||
type: RollingUpdate | ||
rollingUpdate: | ||
maxUnavailable: 0 | ||
maxSurge: {{ .Values.replicaCount | mul 2 }} | ||
selector: | ||
matchLabels: | ||
wireService: account-pages | ||
app: account-pages | ||
template: | ||
metadata: | ||
labels: | ||
wireService: account-pages | ||
app: account-pages | ||
release: {{ .Release.Name }} | ||
spec: | ||
containers: | ||
- name: account-pages | ||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" | ||
env: | ||
- name: BACKEND_REST | ||
value: https://{{ .Values.config.externalUrls.backendRest }} | ||
- name: APP_BASE | ||
value: https://{{ .Values.config.externalUrls.appHost }} | ||
{{- range $key, $val := .Values.envVars }} | ||
- name: {{ $key }} | ||
value: {{ $val | quote }} | ||
{{- end }} | ||
ports: | ||
- name: http | ||
containerPort: {{ .Values.service.http.internalPort }} | ||
readinessProbe: | ||
httpGet: | ||
path: /_health/ | ||
port: {{ .Values.service.http.internalPort }} | ||
scheme: HTTP | ||
livenessProbe: | ||
initialDelaySeconds: 30 | ||
timeoutSeconds: 3 | ||
httpGet: | ||
path: /_health/ | ||
port: {{ .Values.service.http.internalPort }} | ||
scheme: HTTP | ||
resources: | ||
{{ toYaml .Values.resources | indent 12 }} | ||
dnsPolicy: ClusterFirst | ||
restartPolicy: Always |
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,49 @@ | ||
# Default values for the account-pages. | ||
replicaCount: 1 | ||
resources: | ||
requests: | ||
memory: "128Mi" | ||
cpu: "100m" | ||
limits: | ||
memory: "512Mi" | ||
cpu: "1" | ||
image: | ||
repository: quay.io/wire/account | ||
tag: 2.1.4-5f9c54-v0.26.5-production | ||
service: | ||
https: | ||
externalPort: 443 | ||
http: | ||
internalPort: 8080 | ||
|
||
## The following has to be provided to deploy this chart | ||
|
||
#config: | ||
# externalUrls: | ||
# backendRest: nginz-https.example.com | ||
# backendWebsocket: nginz-ssl.example.com | ||
# appHost: account.example.com | ||
# | ||
# Some relevant environment options, have a look at | ||
# https://github.com/wireapp/wire-account/wiki/Self-hosting | ||
# NOTE: Without an empty dictionary, you will see warnings | ||
# when overriding envVars | ||
envVars: {} | ||
# E.g. | ||
# envVars: | ||
# FEATURE_ENABLE_DEBUG: "true" | ||
# You are likely to need at least following CSP headers | ||
# due to the fact that you are likely to do cross sub-domain requests | ||
# i.e., from account.example.com to nginz-https.example.com | ||
# CSP_EXTRA_CONNECT_SRC: "https://*.example.com, wss://*.example.com" | ||
# CSP_EXTRA_IMG_SRC: "https://*.example.com" | ||
# CSP_EXTRA_SCRIPT_SRC: "https://*.example.com" | ||
# CSP_EXTRA_DEFAULT_SRC: "https://*.example.com" | ||
# CSP_EXTRA_FONT_SRC: "https://*.example.com" | ||
# CSP_EXTRA_FRAME_SRC: "https://*.example.com" | ||
# CSP_EXTRA_MANIFEST_SRC: "https://*.example.com" | ||
# CSP_EXTRA_OBJECT_SRC: "https://*.example.com" | ||
# CSP_EXTRA_MEDIA_SRC: "https://*.example.com" | ||
# CSP_EXTRA_PREFETCH_SRC: "https://*.example.com" | ||
# CSP_EXTRA_STYLE_SRC: "https://*.example.com" | ||
# CSP_EXTRA_WORKER_SRC: "https://*.example.com" |
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,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
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,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for ingresses (AWS specific) on Kubernetes | ||
name: aws-ingress | ||
version: 0.0.42 |
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.ingress.accountPages.enabled }} | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
name: account-pages-elb-https | ||
annotations: | ||
# annotations are documented under https://kubernetes.io/docs/concepts/services-networking/service/ | ||
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "{{ .Values.ingress.accountPages.https.externalPort }}" | ||
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http" | ||
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "{{ .Values.ingress.accountPages.https.sslCert }}" | ||
service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy: "{{ .Values.ingress.accountPages.https.sslPolicy }}" | ||
external-dns.alpha.kubernetes.io/hostname: "{{ .Values.ingress.accountPages.https.hostname }}" | ||
external-dns.alpha.kubernetes.io/ttl: "{{ .Values.ingress.accountPages.https.ttl }}" | ||
spec: | ||
type: LoadBalancer | ||
selector: | ||
wireService: account-pages | ||
ports: | ||
- name: https | ||
protocol: TCP | ||
port: {{ .Values.ingress.accountPages.https.externalPort }} | ||
# NOTE: This value should match team settings http listening port | ||
targetPort: {{ .Values.ingress.accountPages.http.accountPagesPort }} | ||
{{- end }} |
Oops, something went wrong.