mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-06 01:54:43 +00:00
Add command for creating notation configuration secrets
Signed-off-by: Jason <jagoodse@microsoft.com>
This commit is contained in:
parent
0cb24f9c6a
commit
c49ba9d310
14 changed files with 478 additions and 3 deletions
28
cmd/flux/testdata/create_secret/notation/secret-ca-crt.yaml
vendored
Normal file
28
cmd/flux/testdata/create_secret/notation/secret-ca-crt.yaml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: notation-config
|
||||
namespace: my-namespace
|
||||
stringData:
|
||||
ca.crt: ca-data-crt
|
||||
trustpolicy.json: |
|
||||
{
|
||||
"version": "1.0",
|
||||
"trustPolicies": [
|
||||
{
|
||||
"name": "fluxcd.io",
|
||||
"registryScopes": [
|
||||
"*"
|
||||
],
|
||||
"signatureVerification": {
|
||||
"level" : "strict"
|
||||
},
|
||||
"trustStores": [ "ca:fluxcd.io" ],
|
||||
"trustedIdentities": [
|
||||
"*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue