Repository navigation
Commit 0d0840a
committed
Enable TLS for glanceAPI Edge instances
When a glanceAPI Edge instance is deployed, the glance-operator creates
an internal SVC, but the public one is skipped (because these instances
are not exposed outside).
However, we're currently not able to enable TLS because the EnsureEndpoint
function is skipped due to the different size of the generated Overrides
that is compared with the service list (svcs.Items).
This patch fixes the current behavior and generates an internal override
only for an Edge API instance type: by doing this we're able to properly
execute the EnsureEndpoint function and generate both key and cert,
referenced by the Edge API.
Signed-off-by: Francesco Pantano <fpantano@redhat.com>1 parent d9a3921 commit 0d0840a
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | | - | |
126 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
0 commit comments