Skip to content

Commit f71a4ab

Browse files
authored
Upgrade to Pomerium v0.4.0
2 parents bd29c04 + c4c67de commit f71a4ab

6 files changed

Lines changed: 28 additions & 12 deletions

File tree

Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: pomerium
3-
version: 3.0.1
4-
appVersion: 0.3.1
3+
version: 4.0.0
4+
appVersion: 0.4.0
55
home: http://www.pomerium.io/
66
icon: https://www.pomerium.io/logo.svg
77
description: Pomerium is an identity-aware access proxy.

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
- [Self Provisioned](#self-provisioned)
1212
- [Configuration](#configuration)
1313
- [Changelog](#changelog)
14+
- [4.0.0](#400)
1415
- [3.0.0](#300)
1516
- [2.0.0](#200)
1617
- [Upgrading](#upgrading)
18+
- [4.0.0](#400-1)
1719
- [3.0.0](#300-1)
1820
- [2.0.0](#200-1)
1921
- [Metrics Discovery Configuration](#metrics-discovery-configuration)
@@ -141,6 +143,10 @@ A full listing of Pomerium's configuration variables can be found on the [config
141143

142144
## Changelog
143145

146+
### 4.0.0
147+
- Upgrade to Pomerium v0.4.0
148+
- Handle breaking changes from Pomerium
149+
144150
### 3.0.0
145151
- Refactor TLS certificates to use Kubernetes TLS secrets
146152
- Generate TLS certificates in a hook to prevent certificate churn
@@ -153,6 +159,10 @@ A full listing of Pomerium's configuration variables can be found on the [config
153159

154160
## Upgrading
155161

162+
### 4.0.0
163+
- There are no user facing changes in this chart release
164+
- See [Pomerium Changelog](https://www.pomerium.io/docs/upgrading.html#since-0-3-0) for internal details
165+
156166
### 3.0.0
157167

158168
- This version moves all certificates to TLS secrets.

templates/authenticate-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ spec:
110110
name: {{ template "pomerium.caSecret.name" . }}
111111
key: {{ template "pomerium.caSecret.certName" . }}
112112
{{- else }}
113+
- name: CERTIFICATE_FILE
114+
value: "/pomerium/cert.pem"
115+
- name: CERTIFICATE_KEY_FILE
116+
value: "/pomerium/privkey.pem"
113117
- name: CERTIFICATE_AUTHORITY_FILE
114118
value: "/pomerium/ca.pem"
115119
{{- end }}

templates/authorize-deployment.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ spec:
8282
name: {{ template "pomerium.caSecret.name" . }}
8383
key: {{ template "pomerium.caSecret.certName" . }}
8484
{{- else }}
85+
- name: CERTIFICATE_FILE
86+
value: "/pomerium/cert.pem"
87+
- name: CERTIFICATE_KEY_FILE
88+
value: "/pomerium/privkey.pem"
8589
- name: CERTIFICATE_AUTHORITY_FILE
8690
value: "/pomerium/ca.pem"
8791
{{- end }}
@@ -97,15 +101,12 @@ spec:
97101
name: metrics
98102
protocol: TCP
99103
livenessProbe:
100-
httpGet:
101-
path: /ping
104+
tcpSocket:
102105
port: https
103-
scheme: HTTPS
106+
initialDelaySeconds: 15
104107
readinessProbe:
105-
httpGet:
106-
path: /ping
108+
tcpSocket:
107109
port: https
108-
scheme: HTTPS
109110
resources:
110111
{{ toYaml .Values.resources | indent 10 }}
111112
volumeMounts:

templates/proxy-deployment.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ spec:
7373
value: {{ default (printf "https://authenticate.%s" .Values.config.rootDomain ) .Values.proxy.authenticateServiceUrl }}
7474
- name: AUTHORIZE_SERVICE_URL
7575
value: {{ default (printf "https://%s.%s.svc.cluster.local" (include "pomerium.authorize.fullname" .) .Release.Namespace ) .Values.proxy.authorizeInternalUrl}}
76-
- name: AUTHENTICATE_INTERNAL_URL
77-
value: {{ default (printf "https://%s.%s.svc.cluster.local" (include "pomerium.authenticate.fullname" .) .Release.Namespace ) .Values.proxy.authenticateInternalUrl}}
7876
{{- /* TODO in future: Remove legacy logic */ -}}
7977
{{- if .Values.config.existingLegacyTLSSecret }}
8078
- name: CERTIFICATE
@@ -93,6 +91,10 @@ spec:
9391
name: {{ template "pomerium.caSecret.name" . }}
9492
key: {{ template "pomerium.caSecret.certName" . }}
9593
{{- else }}
94+
- name: CERTIFICATE_FILE
95+
value: "/pomerium/cert.pem"
96+
- name: CERTIFICATE_KEY_FILE
97+
value: "/pomerium/privkey.pem"
9698
- name: CERTIFICATE_AUTHORITY_FILE
9799
value: "/pomerium/ca.pem"
98100
{{- end }}

values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ proxy:
6161
authenticateServiceUrl: ""
6262
authorizeServiceUrl: ""
6363
authorizeInternalUrl: ""
64-
authenticateInternalUrl: ""
6564

6665
service:
6766
# Service type can be set to ClusterIP, NodePort or LoadBalancer.
@@ -127,7 +126,7 @@ extraVolumes: {}
127126

128127
image:
129128
repository: "pomerium/pomerium"
130-
tag: "v0.3.1"
129+
tag: "v0.4.0"
131130
pullPolicy: "IfNotPresent"
132131

133132
metrics:

0 commit comments

Comments
 (0)