Skip to content

Commit 2af0cd0

Browse files
committed
Update to be breaking change with tests for escaping
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
1 parent ecdb6fd commit 2af0cd0

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

helm/oauth2-proxy/Chart.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 10.5.0
2+
version: 11.0.0
33
apiVersion: v2
44
appVersion: 7.15.2
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -30,12 +30,12 @@ maintainers:
3030
kubeVersion: ">=1.16.0-0"
3131
annotations:
3232
artifacthub.io/changes: |
33-
- kind: added
33+
- kind: changed
3434
description: >
35+
BREAKING: ingress.labels, ingress.extraPaths, and nodeSelector are now
36+
evaluated as Go templates via tpl(). Values containing literal {{ }}
37+
sequences must be escaped (e.g., use {{ "{{" }} or quote the value).
3538
Add deploymentLabels to allow setting deployment specific labels.
36-
Add tpl support for ingress.labels, ingress.extraPaths and nodeSelector. This is a
37-
behavior change: any values containing `{{ ... }}` will now be evaluated as templates.
38-
To keep literal `{{` sequences, escape them (for example, use `{{"{{"}}`).
3939
links:
4040
- name: GitHub PR
4141
url: https://github.com/oauth2-proxy/manifests/pull/400
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
ingress:
3+
enabled: true
4+
labels:
5+
test-literal: '{{ "{{" }} not-a-function {{ "}}" }}'
6+
hosts:
7+
- example.local
8+
paths:
9+
- /

0 commit comments

Comments
 (0)