Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/pomerium] Scale out improvements #16338

Merged
merged 1 commit into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/pomerium/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: pomerium
version: 1.3.2
version: 2.0.0
appVersion: 0.3.0
home: http://www.pomerium.io/
icon: https://www.pomerium.io/logo.svg
Expand Down
114 changes: 72 additions & 42 deletions stable/pomerium/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion stable/pomerium/templates/authenticate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.authenticate.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "pomerium.authenticate.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion stable/pomerium/templates/authorize-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.authorize.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "pomerium.authorize.name" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/pomerium/templates/authorize-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
clusterIP: None
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.externalPort }}
Expand Down
2 changes: 1 addition & 1 deletion stable/pomerium/templates/proxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.proxy.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "pomerium.proxy.name" . }}
Expand Down
5 changes: 5 additions & 0 deletions stable/pomerium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ authenticate:
key: ""
defaultSANList: []
defaultIPList: []
# replicaCount: 1


authorize:
# fullnameOverride: authorize
Expand All @@ -39,6 +41,8 @@ authorize:
key: ""
defaultSANList: []
defaultIPList: []
# replicaCount: 1


proxy:
# fullnameOverride: proxy
Expand All @@ -48,6 +52,7 @@ proxy:
key: ""
defaultSANList: []
defaultIPList: []
# replicaCount: 1
authenticateServiceUrl: ""
authorizeServiceUrl: ""
authorizeInternalUrl: ""
Expand Down