portefaix-cel
by portefaix
A Helm chart for validating admission policies use the Common Expression Language
About this chart
portefaix-cel
A Helm chart for validating admission policies use the Common Expression Language
Homepage: https://charts.portefaix.xyz
Breaking change announcements
v1.0.0
This is the first release
Usage
Setup Portefaix chart repository
helm repo add portefaix-hub https://charts.portefaix.xyz/
helm repo update
Once the chart has been added, install one of the available charts:
helm upgrade -i <release_name> portefaix-hub/pyrra-service-levels
Installing from an OCI Registry
Charts are also available in OCI format. The list of available charts can be found here.
Install one of the available charts:
$ helm upgrade -i oci://ghcr.io/portefaix/portefaix-hub/pyrra-service-levels --version=<version>
Install chart
To install the chart with the release name my-release:
cat >> values.yaml << EOF
additionalLabels:
app: pyrra-service-levels
EOF
helm install pyrra-service-levels --atomic --timeout 300s portefaix-hub/portefaix-cel --values values.yaml
Maintainers
| Name | Url | |
|---|---|---|
| nlamirault | [email protected] |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| crds | 0.0.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalLabels | object | {} | Additional labels to add to all resources |
| fullnameOverride | string | "" | Provide a name to substitute for the full names of resources |
| policies.c0001 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container must not use latest image tag |
| policies.c0002 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container must set liveness probe |
| policies.c0003 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container must set readiness probe |
| policies.c0008 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container resource constraints must be specified |
| policies.m0001 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Metadata must set recommanded Kubernetes labels |
| policies.m0002 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Metadata should have a8r.io annotations |
| policies.m0003 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Metadata should have portefaix.xyz labels |
| policies.n0001 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Disallow default namespace for all resources |
| policies.p0001 | object | {"enabled":true,"params":{"publicRegistries":["ghcr.io","public.ecr.aws","docker.io"],"untrustedRegistries":["quay.io"]},"validationActions":["Warn","Audit"]} | Authorized registry |
Customizing the configuration
There are several options for customizing the configuration generated by this chart.
Service Levels
portefaix-cel
A Helm chart for validating admission policies use the Common Expression Language
Homepage: https://charts.portefaix.xyz
Maintainers
| Name | Url | |
|---|---|---|
| nlamirault | [email protected] |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| crds | 0.0.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| additionalLabels | object | {} | Additional labels to add to all resources |
| fullnameOverride | string | "" | Provide a name to substitute for the full names of resources |
| policies.c0001 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container must not use latest image tag |
| policies.c0002 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container must set liveness probe |
| policies.c0003 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container must set readiness probe |
| policies.c0008 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Container resource constraints must be specified |
| policies.m0001 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Metadata must set recommanded Kubernetes labels |
| policies.m0002 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Metadata should have a8r.io annotations |
| policies.m0003 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Metadata should have portefaix.xyz labels |
| policies.n0001 | object | {"enabled":true,"validationActions":["Warn","Audit"]} | Disallow default namespace for all resources |
| policies.p0001 | object | {"enabled":true,"params":{"publicRegistries":["ghcr.io","public.ecr.aws","docker.io"],"untrustedRegistries":["quay.io"]},"validationActions":["Warn","Audit"]} | Authorized registry |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy portefaix-cel with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has portefaix-cel 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 chartportefaix-cel is pinned at v2.1.1 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