You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ loading local secrets files into VP secrets stores.
11
11
12
12
## SS CSI workload auth notes
13
13
14
+
SS CSI task files live in **`roles/vault_utils/tasks/ss_csi/`**; paths below match **`include_tasks`** from the role (**`ss_csi/<file>`** relative to **`tasks/`**).
15
+
14
16
`vault_utils` can read `ssCsiWorkloadAuth` entries from clustergroup values and
15
17
create Vault Kubernetes auth roles for hub and spoke workloads.
16
18
@@ -46,11 +48,11 @@ and a merged **`clusterGroup.managedClusterGroups`**. It collects:
46
48
47
49
Rows are appended to **`_ss_csi_all_entries`**, split into hub vs spoke using
48
50
the computed **`cluster`** field (from stem or managed group when omitted in YAML), then **hub** identities get Vault Kubernetes
49
-
auth roles via **`vault_ss_csi_apply_one_hub_sscsi_role.yaml`**. Spoke rows are
50
-
normalized to **`vault_path`** later in the play (**`vault_ss_csi_normalize_spoke_entries_to_vault_path.yaml`**
51
+
auth roles via **`ss_csi/vault_ss_csi_apply_one_hub_sscsi_role.yaml`**. Spoke rows are
52
+
normalized to **`vault_path`** later in the play (**`ss_csi/vault_ss_csi_normalize_spoke_entries_to_vault_path.yaml`**
51
53
during **`vault_spokes_init`**) and roles are written on each spoke mount
52
-
(**`vault_ss_csi_apply_one_spoke_sscsi_role.yaml`**). Role names use
53
-
**`<mount>-sscsi-<slug>`**; slugs come from **`vault_ss_csi_compute_role_slug.yaml`**.
54
+
(**`ss_csi/vault_ss_csi_apply_one_spoke_sscsi_role.yaml`**). Role names use
55
+
**`<mount>-sscsi-<slug>`**; slugs come from **`ss_csi/vault_ss_csi_compute_role_slug.yaml`**.
54
56
55
57
To **inspect** stems and files locally, run **`playbooks/list_clustergroups.yml`**
56
58
or **`playbooks/parse_clustergroup_values.yml`** (see **`roles/clustergroup_discovery/README.md`**).
**Defaults:** ConfigMaps live in **`openshift-gitops`** unless
133
133
**`vault_ss_csi_clustergroup_configmap_namespace`** is changed; YAML is read from
@@ -136,10 +136,10 @@ data keys in **`vault_ss_csi_clustergroup_configmap_key_candidates`** unless
136
136
**`clusterGroup`**. Set **`vault_ss_csi_clustergroup_values_from_configmap`** to
137
137
false to force file-only reads. When **`vault_ss_csi_fallback_local_clustergroup_file`**
138
138
is true, missing or unusable cluster data falls back to local files as implemented
139
-
in **`vault_ss_csi_load_one_clustergroup_values_fragment.yaml`** / legacy tasks.
139
+
in **`ss_csi/vault_ss_csi_load_one_clustergroup_values_fragment.yaml`** / legacy tasks.
140
140
141
141
**Spoke cluster ID and charts:** Omit **`cluster`** in pattern `ssCsiWorkloadAuth` lists; Ansible derives it from stem or managed group. Before applying SS CSI roles on spokes,
142
-
`**vault_ss_csi_normalize_spoke_entries_to_vault_path.yaml`** rewrites each spoke row so **`cluster` equals `vault_path`**
142
+
**`ss_csi/vault_ss_csi_normalize_spoke_entries_to_vault_path.yaml`** rewrites each spoke row so **`cluster` equals `vault_path`**
143
143
(spoke FQDN) for every cluster that has External Secrets token data (`esoToken`).
144
144
That matches Vault Kubernetes auth mounts and ESO.
145
145
Pattern charts that render **`SecretProviderClass`** via **vp-sscsi-spc** should keep **`global.clusterDomain`** set to that same FQDN on the spoke; the library builds **`spec.parameters.roleName`** as **`<vaultKubernetesMountPath>-sscsi-<roleSlug>`**, using the FQDN mount path (not a short clustergroup label).
0 commit comments