Add command for creating notation configuration secrets
Signed-off-by: Jason <jagoodse@microsoft.com>
This commit is contained in:
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": [
|
||||
"*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user