Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the file integrity operator #284

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions file-integrity-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ This is to deploy the [File Integrity Operator](https://docs.openshift.com/conta

## Install Operator Only

Reference on of the `operator/overlay` directories. For example:
Reference on of the `operator/overlays` directories. For example:

```
oc apply -k file-integrity-operator/operator/overlays/release-0.1
oc apply -k file-integrity-operator/operator/overlays/stable
```

Or as part of your own `kustomization.yaml` file:
Expand All @@ -19,7 +19,7 @@ kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1

resources:
- github.com/redhat-cop/gitops-catalog/file-integrity-operator/operator/overlays/release-0.1?ref=main
- github.com/redhat-cop/gitops-catalog/file-integrity-operator/operator/overlays/stable?ref=main
```

## Configure File Integrity Scans
Expand Down
8 changes: 6 additions & 2 deletions file-integrity-operator/operator/overlays/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

## Which Channel to Use?

The channel naming is particularly confusing for this operator. To determine which version to use, please check the docs for the OpenShift release you are using (make sure you change the version in the drop down):
To determine which version to use, please check the docs for the OpenShift release you are using (make sure you change the version in the drop down):
* [OpenShift File Integrity Operator Docs](https://docs.openshift.com/container-platform/latest/security/file_integrity_operator/file-integrity-operator-installation.html)

Currently, the supported channel for OCP 4.6, 4.7 and 4.8 is `release-0.1`. The `4.7` channel is not included, as it is legacy. More channels will be added as they become available.
Formerly, the supported channel for OCP 4.6, 4.7 and 4.8 were `release-0.1`. The `4.7` channel is not included, as it is legacy.

Currently, the supported channel for OCP 4 are `stable` and `v1`.

Channels:
* [release-0.1](release-0.1)
* [stable](stable)
* [v1](v1)
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1

namespace: openshift-file-integrity

resources:
- ../../base

patches:
- patch: |-
- op: replace
path: /spec/channel
value: 'stable'
target:
kind: Subscription
name: file-integrity-operator
17 changes: 17 additions & 0 deletions file-integrity-operator/operator/overlays/v1/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1

namespace: openshift-file-integrity

resources:
- ../../base

patches:
- patch: |-
- op: replace
path: /spec/channel
value: 'v1'
target:
kind: Subscription
name: file-integrity-operator