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

Add helm chart for Kube and HyperShift #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions config/helm/generic-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Values defined in this file are specific to running the compliance-operator
# on a Generic Kubernetes Cluster. All other values use the defaults defined in values.yaml.
platform: generic
nodeSelector:
tolerations: null
6 changes: 6 additions & 0 deletions config/helm/hypershift-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Values defined in this file are specific to running the compliance-operator
# on HyperShift Hosted Cluster. All other values use the defaults defined in values.yaml.
platform: hypershift
nodeSelector:
node-role.kubernetes.io/worker: ""
tolerations: null
2 changes: 1 addition & 1 deletion config/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace: openshift-compliance

# The default platform for the compliance-operator. Available platforms are
# 'openshift', 'eks', 'generic', and 'unknown'.
# 'openshift', 'eks', 'generic', 'hypershift' and 'unknown'.
platform: openshift

# By default, the compliance-operator will deploy to nodes tagged with the
Expand Down
12 changes: 12 additions & 0 deletions doc/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@ you can run the compliance-operator on EKS using the EKS-specific overrides in
$ helm install . --namespace openshift-compliance --generate-name -f eks-values.yaml
```

To install on Generic Kubernetes, use the `generic-values.yaml` file:

```
$ helm install . --namespace openshift-compliance --generate-name -f generic-values.yaml
```

To install on HyperShfit Hosted Cluster, use the `hypershift-values.yaml` file:

```
$ helm install . --namespace openshift-compliance --generate-name -f hypershift-values.yaml
```

You can use Helm to uninstall, or delete a release, but Helm does not cleanup
[custom resource
definitions](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#helm).
Expand Down