Skip to content

Commit

Permalink
Merge pull request #509 from hectorj2f/change_err_msg_empty_keyless
Browse files Browse the repository at this point in the history
test: change error message for empty keyless/key
  • Loading branch information
vaikas committed Jan 17, 2023
2 parents def268b + 5682ab7 commit 5449c8b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
# ERROR:keyless.identities: Invalid value
# ERROR:expected exactly one, got neither: spec.authorities[0].key.data, spec.authorities[0].key.kms, spec.authorities[0].key.secretref
apiVersion: policy.sigstore.dev/v1beta1
kind: ClusterImagePolicy
metadata:
Expand All @@ -21,5 +21,5 @@ spec:
images:
- glob: image*
authorities:
- keyless: {}
key: {}
- key: {}
keyless:

0 comments on commit 5449c8b

Please sign in to comment.