Commit 97a1c71
Campbell Pool
feat(labels): add gateway.selectorLabels with component label
Add gateway.selectorLabels helper with app.kubernetes.io/component:
gateway, matching the existing dataservice.selectorLabels pattern.
Applied to pod labels and Service selectors (both mutable).
Deployment matchLabels left unchanged to avoid requiring recreation.
Users who want it in matchLabels can use .Values.selectorLabels.
Note: the Service selector now includes component: gateway. During
upgrade from a previous version, old pods lack this label and won't
receive traffic until new pods are ready. Use maxSurge: 100% or
blue-green deploy to avoid downtime on first upgrade.1 parent 4b9c3c0 commit 97a1c71
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
55 | 65 | | |
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
59 | 69 | | |
60 | | - | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
0 commit comments