Skip to content

Commit

Permalink
Fix reinit issues
Browse files Browse the repository at this point in the history
Fix leftover reinit daemonset, when multiple reinit happened at the same time
  • Loading branch information
Vincent056 committed Jun 29, 2023
1 parent a35521c commit 1d6c094
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
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

0 comments on commit 1d6c094

Please sign in to comment.