setup-container-security-operator
by tjungbauer
Setup the Quay Container Security Operator.
About this chart
setup-container-security-operator
Description
Setup the Quay Container Security Operator.
Install Sealed Secrets
This chart will install Quay Container Security Operator. It is just the deployment of the Operator, which does not have any CRDs or further configuration, thus the usage of helper-status-checker could be skipped.
Dependencies
This chart has the following dependencies:
| Repository | Name | Version |
|---|---|---|
| https://charts.stderr.at/ | helper-operator | ~1.0.36 |
| https://charts.stderr.at/ | helper-status-checker | ~4.0.0 |
It is best used with a full GitOps approach such as Argo CD does. For example, https://github.com/tjungbauer/openshift-clusterconfig-gitops
Maintainers
| Name | Url | |
|---|---|---|
| tjungbauer | [email protected] | https://blog.stderr.at/ |
Sources
Source:
- https://github.com/tjungbauer/helm-charts
- https://charts.stderr.at/
- https://github.com/tjungbauer/openshift-clusterconfig-gitops
Source code: https://github.com/tjungbauer/helm-charts/tree/main/charts/setup-container-security-operator
Parameters
Verify the subcharts for additional settings:
Values
| Key | Type | Default | Description |
|---|---|---|---|
| helper-operator.operators.security-operator.enabled | bool | false | |
| helper-operator.operators.security-operator.namespace.create | bool | false | |
| helper-operator.operators.security-operator.namespace.name | string | "openshift-operators" | |
| helper-operator.operators.security-operator.operatorgroup.create | bool | false | |
| helper-operator.operators.security-operator.operatorgroup.notownnamespace | bool | true | |
| helper-operator.operators.security-operator.subscription.approval | string | "Automatic" | |
| helper-operator.operators.security-operator.subscription.channel | string | "stable-3.10" | |
| helper-operator.operators.security-operator.subscription.operatorName | string | "container-security-operator" | |
| helper-operator.operators.security-operator.subscription.source | string | "redhat-operators" | |
| helper-operator.operators.security-operator.subscription.sourceNamespace | string | "openshift-marketplace" | |
| helper-operator.operators.security-operator.syncwave | string | "0" | |
| helper-status-checker.checks[0].namespace.name | string | "openshift-operators" | |
| helper-status-checker.checks[0].operatorName | string | "container-security-operator" | |
| helper-status-checker.checks[0].serviceAccount.name | string | "status-security-operator" | |
| helper-status-checker.checks[0].syncwave | int | 3 | |
| helper-status-checker.enabled | bool | false |
Example
---
version: &version 3.10
helper-operator:
operators:
security-operator:
enabled: true
syncwave: '0'
namespace:
name: openshift-operators
create: false
subscription:
channel: *version
approval: Automatic
operatorName: container-security-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
operatorgroup:
create: false
notownnamespace: true
helper-status-checker:
enabled: true
checks:
- operatorName: container-security-operator
namespace:
name: openshift-operators
syncwave: 3
serviceAccount:
name: "status-security-operator"
Installing the Chart
To install the chart with the release name my-release:
helm install my-release tjungbauer/<chart-name>>
The command deploys the chart on the Kubernetes cluster in the default configuration.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy setup-container-security-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has setup-container-security-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsetup-container-security-operator is pinned at v1.0.13 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply