Files
homelab/components/compliance-operator/overlays/cis-compliance/kustomization.yaml
rblundon fe564d7227 Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config
git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
2025-03-30 15:46:16 -05:00

28 lines
718 B
YAML

# Assumes the cluster admin had pre-created the sealed-secrets project and secret.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openshift-compliance
resources:
- github.com/redhat-cop/gitops-catalog/compliance-operator/operator/overlays/release-0.1
- ocp-cis-tailored-profile.yaml
- ocp-cis-node-tailored-profile.yaml
- cis-compliance-scan-setting-binding.yaml
- cis-compliance-scansetting.yaml
patches:
- patch: |-
- op: add
path: /metadata/labels
value: {"openshift.io/cluster-monitoring": "true"}
target:
kind: Namespace
- patch: |-
- op: replace
path: /spec/channel
value: stable
target:
kind: Subscription
name: compliance-operator