This repository was archived by the owner on Feb 28, 2023. It is now read-only.
Commit 94460c9
committed
Add prefix to generated names for cluster-scoped configurations
Previously, resource names generated by the component library for
cluster-scoped configurations only used the target object name. This can
easily lead to name collisions. For example, OpenShift 4 has many CRs
named `cluster`.
This commit adds code to use `<target.kind>-<target.apigroup>` as the
prefix when generating names for cluster-scoped configurations to reduce
the potential for collisions.1 parent 04af716 commit 94460c9
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
172 | 185 | | |
173 | 186 | | |
174 | 187 | | |
| |||
0 commit comments