Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
PratikMahajan committed Nov 27, 2023
1 parent 627fc08 commit d0409a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/v1/stable.clusterversion.testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,26 +421,30 @@ tests:
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores:
- https://osus.ocp.com
expected: |
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores:
- https://osus.ocp.com
- name: Should be able to set multiple custom signature store
initial: |
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores:
- https://osus1.ocp.com
- https://osus2.ocp.com
expected: |
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores:
- https://osus1.ocp.com
- https://osus2.ocp.com
Expand All @@ -449,6 +453,7 @@ tests:
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores:
- osus1.ocp.com
expectedError: "signatureStores must contain only valid absolute URLs per the Go net/url standard"
Expand All @@ -457,9 +462,11 @@ tests:
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores: []
expected: |
apiVersion: config.openshift.io/v1
kind: ClusterVersion
spec:
clusterID: foo
signatureStores: []

0 comments on commit d0409a1

Please sign in to comment.