-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a newer quay version for operatorpolicy tests
From some test runs, it seems like some of the 3.8.x releases do not always have the quayecosystems CRD, which makes the tests inconsistent. From what I can tell, *none* of the 3.10.x releases will have that CRD, so it should be consistent. Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
- Loading branch information
1 parent
b080562
commit cf5224b
Showing
10 changed files
with
73 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
test/resources/case38_operator_install/operator-policy-no-group-enforce-one-version.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: policy.open-cluster-management.io/v1beta1 | ||
kind: OperatorPolicy | ||
metadata: | ||
name: oppol-no-group-enforce-one-version | ||
annotations: | ||
policy.open-cluster-management.io/parent-policy-compliance-db-id: "124" | ||
policy.open-cluster-management.io/policy-compliance-db-id: "64" | ||
ownerReferences: | ||
- apiVersion: policy.open-cluster-management.io/v1 | ||
kind: Policy | ||
name: parent-policy | ||
uid: 12345678-90ab-cdef-1234-567890abcdef # must be replaced before creation | ||
spec: | ||
remediationAction: enforce | ||
severity: medium | ||
complianceType: musthave | ||
subscription: | ||
channel: stable-3.10 | ||
name: project-quay | ||
namespace: operator-policy-testns | ||
installPlanApproval: Automatic | ||
source: operatorhubio-catalog | ||
sourceNamespace: olm | ||
startingCSV: quay-operator.v3.10.0 | ||
versions: | ||
- quay-operator.v3.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters