-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ROX-24660: install Compliance Operator on integration (#1885)
- Loading branch information
1 parent
712ec5f
commit adde0be
Showing
9 changed files
with
78 additions
and
2 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
23 changes: 23 additions & 0 deletions
23
dp-terraform/helm/rhacs-terraform/charts/compliance-operator/.helmignore
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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
6 changes: 6 additions & 0 deletions
6
dp-terraform/helm/rhacs-terraform/charts/compliance-operator/Chart.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,6 @@ | ||
apiVersion: v2 | ||
name: compliance-operator | ||
description: "Chart to install compliance operator" | ||
type: application | ||
version: "0.1.0" | ||
appVersion: "0.1.0" |
13 changes: 13 additions & 0 deletions
13
dp-terraform/helm/rhacs-terraform/charts/compliance-operator/README.md
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,13 @@ | ||
# Compliance Operator | ||
|
||
Compliance Operator is used to run compliance checks, e.g. NIST or CIS we use it in ACSCS | ||
for testing purposes in our dogfooding instances. | ||
Starting at version 1.5.0 the operator is upgraded automatically. | ||
If the operator breaks it can easily be uninstalled / paused by disabling the flag without production impact. | ||
|
||
Value to disable the operator: | ||
|
||
``` | ||
complianceOperator: | ||
enabled: false | ||
``` |
4 changes: 4 additions & 0 deletions
4
dp-terraform/helm/rhacs-terraform/charts/compliance-operator/templates/01-namespace.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,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: openshift-compliance |
12 changes: 12 additions & 0 deletions
12
dp-terraform/helm/rhacs-terraform/charts/compliance-operator/templates/02-subscription.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,12 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: compliance-operator | ||
namespace: openshift-compliance | ||
spec: | ||
channel: stable | ||
installPlanApproval: Automatic | ||
name: compliance-operator | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace | ||
startingCSV: compliance-operator.v1.5.0 |
9 changes: 9 additions & 0 deletions
9
...erraform/helm/rhacs-terraform/charts/compliance-operator/templates/03-operator-group.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,9 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: compliance-operator | ||
namespace: openshift-compliance | ||
spec: | ||
targetNamespaces: | ||
- openshift-compliance | ||
upgradeStrategy: Default |
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