mirror of https://github.com/fluxcd/flux2.git
Add flags for issuer/subject OCI signature verification
This change introduces two new flags to `create source oci` for providing the values to the `OCIRepository.spec.verify.matchOIDCIdentity.(issuer,subject)` fields. Signed-off-by: Max Jonas Werner <mail@makk.es>pull/4727/head
parent
90f3c5a5cb
commit
1bb92548e4
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: OCIRepository
|
||||||
|
metadata:
|
||||||
|
name: podinfo
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 0s
|
||||||
|
ref:
|
||||||
|
tag: 6.3.5
|
||||||
|
url: oci://ghcr.io/stefanprodan/manifests/podinfo
|
||||||
|
verify:
|
||||||
|
matchOIDCIdentity:
|
||||||
|
- issuer: github
|
||||||
|
subject: stefanprodan
|
||||||
|
provider: cosign
|
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: OCIRepository
|
||||||
|
metadata:
|
||||||
|
name: podinfo
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 0s
|
||||||
|
ref:
|
||||||
|
tag: 6.3.5
|
||||||
|
url: oci://ghcr.io/stefanprodan/manifests/podinfo
|
||||||
|
verify:
|
||||||
|
matchOIDCIdentity:
|
||||||
|
- issuer: github
|
||||||
|
subject: ""
|
||||||
|
provider: cosign
|
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: OCIRepository
|
||||||
|
metadata:
|
||||||
|
name: podinfo
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 0s
|
||||||
|
ref:
|
||||||
|
tag: 6.3.5
|
||||||
|
url: oci://ghcr.io/stefanprodan/manifests/podinfo
|
||||||
|
verify:
|
||||||
|
matchOIDCIdentity:
|
||||||
|
- issuer: ""
|
||||||
|
subject: stefanprodan
|
||||||
|
provider: cosign
|
Loading…
Reference in New Issue