Commit f80026a
Merge pull request #690 from rebtoor/olm-default
fix(olm-subscriptions): Use kustomize create option for conditional `startingCSV`
Remove hardcoded startingCSV placeholder from base subscription and use kustomize's options.create: true feature. This allows startingCSV to be dynamically set only when a specific version is provided via ConfigMap.
When openstack-operator-version is empty (or "latest"), kustomize renders startingCSV as null, which OLM interprets as "use channel head".
Changes:
Remove startingCSV from base openstack-subscription.yaml
Add create:true option to startingCSV replacement in kustomization.yaml
Assisted-By: Cursor (claude-4.5-opus)
Reviewed-by: Enrique Vallespi Gil
Reviewed-by: Andrew Bays <andrew.bays@gmail.com>File tree
2 files changed
+2
-1
lines changed- lib/olm-openstack-subscriptions/overlays/default
2 files changed
+2
-1
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
0 commit comments