Commit 6d17824
committed
openstack: Sync CA cert to new key
cloud-credential-operator now supports syncing CA certs from the root
credential secret to the generated credentials secrets. If necessary,
CCO expects the CA cert to be provided in the `cacert` key and will
place it in the same location in the generated secrets. Start doing the
same in control-plane-operator, which allows us to significantly
simplify the assets used in cluster-storage-operator and csi-operator.
Note that we are intentionally *not* changing how CA certs are managed
for cluster-cloud-controller-manager-operator. There's a good reason for
this, and a note is left inline to that effect.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>1 parent 1f7a67f commit 6d17824
3 files changed
Lines changed: 18 additions & 2 deletions
File tree
- control-plane-operator
- controllers/hostedcontrolplane
- cloud/openstack
- v2/cloud_controller_manager/openstack
- hostedclusterconfigoperator/controllers/resources
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1541 | 1541 | | |
1542 | 1542 | | |
1543 | 1543 | | |
| 1544 | + | |
1544 | 1545 | | |
1545 | 1546 | | |
1546 | | - | |
1547 | 1547 | | |
1548 | 1548 | | |
1549 | 1549 | | |
| |||
1619 | 1619 | | |
1620 | 1620 | | |
1621 | 1621 | | |
1622 | | - | |
| 1622 | + | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | 1625 | | |
| |||
0 commit comments