Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/oidc/entraid.md
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ To enable the supply chain pipelines to authenticate to HashiCorp Vault using SP
vault_jwt_roles:
- name: supply-chain
audience: supply-chain
subject: "spiffe://apps.{{ $.Values.global.clusterDomain }}/ns/{{ $.Values.global.pattern }}-hub/sa/pipeline"
subject: "spiffe://apps.{{ $.Values.global.clusterDomain }}/ns/vp-gitops/sa/pipeline"
policies:
- hub-supply-chain-jwt-secret
```
Expand Down
2 changes: 1 addition & 1 deletion docs/spire.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ node runs its own SPIRE agent. The Tekton Chains controller uses this approach
| --- | --- | --- | --- |
| qtodo | `spiffe://apps.<domain>/ns/qtodo/sa/qtodo` | ClusterSPIFFEID | `qtodo` |
| RHTPA | `spiffe://apps.<domain>/ns/trusted-profile-analyzer/sa/rhtpa` | ClusterSPIFFEID | `rhtpa` |
| Supply chain pipeline | `spiffe://apps.<domain>/ns/<pattern>-hub/sa/pipeline` | ClusterSPIFFEID | `supply-chain` |
| Supply chain pipeline | `spiffe://apps.<domain>/ns/vp-gitops/sa/pipeline` | ClusterSPIFFEID | `supply-chain` |
| Tekton Chains controller | `spiffe://apps.<domain>/ns/openshift-pipelines/sa/tekton-chains-controller` | ClusterStaticEntry | (used with Fulcio) |

## OIDC Discovery Provider
Expand Down
2 changes: 1 addition & 1 deletion docs/vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ binds a specific SPIFFE ID to a set of policies:
| --- | --- | --- | --- |
| `qtodo` | `spiffe://apps.<domain>/ns/qtodo/sa/qtodo` | `https://keycloak.apps.<domain>/realms/ztvp` | `apps-qtodo-jwt-secret` |
| `rhtpa` | `spiffe://apps.<domain>/ns/trusted-profile-analyzer/sa/rhtpa` | `rhtpa` | `hub-infra-rhtpa-jwt-secret` |
| `supply-chain` | `spiffe://apps.<domain>/ns/<pattern>-hub/sa/pipeline` | `supply-chain` | `hub-supply-chain-jwt-secret` |
| `supply-chain` | `spiffe://apps.<domain>/ns/vp-gitops/sa/pipeline` | `supply-chain` | `hub-supply-chain-jwt-secret` |

The `qtodo` role is active by default. The `rhtpa` and `supply-chain` roles are
activated when their respective features are enabled.
Expand Down
2 changes: 1 addition & 1 deletion overrides/values-vault-jwt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ vault_jwt_roles:
# Supply chain vault role (for Tekton pipelines; enable with supply-chain app / Option 3 or BYO registry)
# - name: supply-chain
# audience: supply-chain
# subject: spiffe://apps.{{ $.Values.global.clusterDomain }}/ns/{{ $.Values.global.pattern }}-hub/sa/pipeline
# subject: spiffe://apps.{{ $.Values.global.clusterDomain }}/ns/vp-gitops/sa/pipeline
# policies:
# - hub-supply-chain-jwt-secret
oidc_discovery_url: https://spire-spiffe-oidc-discovery-provider.zero-trust-workload-identity-manager.svc.cluster.local
Expand Down
4 changes: 2 additions & 2 deletions scripts/features/supply-chain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ clusterGroup:
- name: "distribution.targetNamespaces[0]"
value: "qtodo"
- name: "distribution.targetNamespaces[1]"
value: "{{ $.Values.global.pattern }}-hub"
value: "vp-gitops"
vault:
jwt:
roles:
- name: supply-chain
audience: supply-chain
subject: "spiffe://apps.{{ $.Values.global.clusterDomain }}/ns/{{ $.Values.global.pattern }}-hub/sa/pipeline"
subject: "spiffe://apps.{{ $.Values.global.clusterDomain }}/ns/vp-gitops/sa/pipeline"
policies:
- hub-supply-chain-jwt-secret
supply-chain: {}
Expand Down
Loading