Repository navigation
Commit 6b8433a
Watch ConfigMap with global defaults produced by openstack-operator
As part of the TLSProfile inheritance effort, this patch implements the
"consumer" side of the feature in watcher-operator. The
openstack-operator reads the cluster TLSSecurityProfile and publishes it
in a well-known ConfigMap that lib-common merges into the ConfigOptions
of every rendered Template through ApplyTemplateDefaults. A watcher on
that ConfigMap is registered through the generic interface lib-common
provides, so watcher re-renders its configuration whenever the
cluster-wide TLS defaults change.
The reconciler lacked read access to ConfigMaps, so the rbac marker and
the generated role are extended with get/list/watch.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Francesco Pantano <fpantano@redhat.com>1 parent 7c1361b commit 6b8433a
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
997 | 998 | | |
998 | 999 | | |
999 | 1000 | | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
1000 | 1006 | | |
1001 | 1007 | | |
1002 | 1008 | | |
| |||
0 commit comments