You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: helm/oauth2-proxy/README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,24 @@ See the [v1.22 API deprecations guide](https://kubernetes.io/docs/reference/usin
60
60
61
61
For the same reason `service.port` was renamed to `service.portNumber`.
62
62
63
+
### To 5.0.0
64
+
65
+
Version 5.0.0 introduces support for custom labels and refactor [Kubernetes recommended labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/). This is a breaking change because many labels of all resources need to be updated to stay consistent.
66
+
67
+
In order to upgrade, delete the Deployment before upgrading:
68
+
69
+
```bash
70
+
kubectl delete deployment my-release-oauth2-proxy
71
+
```
72
+
73
+
This will introduce a slight downtime.
74
+
75
+
For users who don't want downtime, you can perform these actions:
76
+
77
+
- Perform a non-cascading removal of the deployment that keeps the pods running
78
+
- Add new labels to pods
79
+
- Perform `helm upgrade`
80
+
63
81
## Configuration
64
82
65
83
The following table lists the configurable parameters of the oauth2-proxy chart and their default values.
`config.configFile` | custom [oauth2_proxy.cfg](https://github.com/oauth2-proxy/oauth2-proxy/blob/master/contrib/oauth2-proxy.cfg.example) contents for settings not overridable via environment nor command line | `""`
81
99
`config.existingConfig` | existing Kubernetes configmap to use for the configuration file. See [config template](https://github.com/oauth2-proxy/manifests/blob/master/helm/oauth2-proxy/templates/configmap.yaml) for the required values | `nil`
82
100
`config.cookieName` | The name of the cookie that oauth2-proxy will create. | `""`
101
+
`customLabels` | Custom labels to add into metadata | `{}` |
83
102
`config.google.adminEmail` | user impersonated by the google service account | `""`
84
103
`config.google.serviceAccountJson` | google service account json contents | `""`
85
104
`config.google.existingConfig` | existing Kubernetes configmap to use for the service account file. See [google secret template](https://github.com/oauth2-proxy/manifests/blob/master/helm/oauth2-proxy/templates/google-secret.yaml) for the required values | `nil`
0 commit comments