portefaix-cel

by portefaix

Helm chartv2.1.1App v1.30.0Apache-2.0

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

NameEmailUrl
nlamirault[email protected]

Source Code

Requirements

RepositoryNameVersion
crds0.0.0

Values

KeyTypeDefaultDescription
additionalLabelsobject{}Additional labels to add to all resources
fullnameOverridestring""Provide a name to substitute for the full names of resources
policies.c0001object{"enabled":true,"validationActions":["Warn","Audit"]}Container must not use latest image tag
policies.c0002object{"enabled":true,"validationActions":["Warn","Audit"]}Container must set liveness probe
policies.c0003object{"enabled":true,"validationActions":["Warn","Audit"]}Container must set readiness probe
policies.c0008object{"enabled":true,"validationActions":["Warn","Audit"]}Container resource constraints must be specified
policies.m0001object{"enabled":true,"validationActions":["Warn","Audit"]}Metadata must set recommanded Kubernetes labels
policies.m0002object{"enabled":true,"validationActions":["Warn","Audit"]}Metadata should have a8r.io annotations
policies.m0003object{"enabled":true,"validationActions":["Warn","Audit"]}Metadata should have portefaix.xyz labels
policies.n0001object{"enabled":true,"validationActions":["Warn","Audit"]}Disallow default namespace for all resources
policies.p0001object{"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

NameEmailUrl
nlamirault[email protected]

Source Code

Requirements

RepositoryNameVersion
crds0.0.0

Values

KeyTypeDefaultDescription
additionalLabelsobject{}Additional labels to add to all resources
fullnameOverridestring""Provide a name to substitute for the full names of resources
policies.c0001object{"enabled":true,"validationActions":["Warn","Audit"]}Container must not use latest image tag
policies.c0002object{"enabled":true,"validationActions":["Warn","Audit"]}Container must set liveness probe
policies.c0003object{"enabled":true,"validationActions":["Warn","Audit"]}Container must set readiness probe
policies.c0008object{"enabled":true,"validationActions":["Warn","Audit"]}Container resource constraints must be specified
policies.m0001object{"enabled":true,"validationActions":["Warn","Audit"]}Metadata must set recommanded Kubernetes labels
policies.m0002object{"enabled":true,"validationActions":["Warn","Audit"]}Metadata should have a8r.io annotations
policies.m0003object{"enabled":true,"validationActions":["Warn","Audit"]}Metadata should have portefaix.xyz labels
policies.n0001object{"enabled":true,"validationActions":["Warn","Audit"]}Disallow default namespace for all resources
policies.p0001object{"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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartportefaix-cel is pinned at v2.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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