Commit bde4f4e
committed
(fix): update PSA versions to match Kubernetes API version
derive Kubernetes minor version from client-go for PSA updates
- Introduce `KUBE_MINOR`, derived from the `k8s.io/client-go` version, to determine the minor Kubernetes version to build against.
- Add `update-k8s-values` Make target to update PSA (Pod Security Admission) labels in YAML manifests with the correct Kubernetes version.
- Ensure PSA version aligns with the supported Kubernetes version, not the latest, to prevent potential breaking changes.1 parent 97b1337 commit bde4f4e
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
149 | 158 | | |
150 | 159 | | |
151 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
0 commit comments