cidr-allocator

by joaquinito2051

Helm chartv1.0.2App v0.4.2

A Helm chart to deploy the STATCAN CIDR-Allocator Controller and CRDs to a Kubernetes Cluster

About this chart

cidr-allocator

A Helm chart to deploy the STATCAN CIDR-Allocator Controller and CRDs to a Kubernetes Cluster

Homepage: https://statcan.gc.ca

Requirements

Kubernetes: >= 1.16.0-0

Values

KeyTypeDefaultDescription
affinityobject{}any particular affinities to apply to the created deployment
envVarslist[]any additional environment vars to pass to container (manager)
fullnameOverridestring""override full name
image.pullPolicystring"IfNotPresent"can be one of "Always", "IfNotPresent", "Never"
image.repositorystring"statcan/cidr-allocator"the source image repository
image.tagstring"v0.4.1"Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]specifies credentials for a private registry to pull source image
nameOverridestring""override name
nodeSelectorobject{}node selector to apply to scheduling of pods
podAnnotationsobject{}
podLabelsobject{}
priorityClassNamestring""
prometheusobject{"enabled":false,"interval":"60s","path":"/metrics","port":9003,"scheme":"https","scrapeTimeout":"30s"}specifies configuration for prometheus integration
prometheus.enabledboolfalsespecifies whether to enable prometheus metrics export via a ServiceMonitor
prometheus.intervalstring"60s"Scrape interval. If not set, the Prometheus default scrape interval is used.
prometheus.pathstring"/metrics"path used to get metrics from operator
prometheus.portint9003used for both port and target for metrics-related services
prometheus.schemestring"https"the metrics endpoint scheme
prometheus.scrapeTimeoutstring"30s"the metrics scaping timeout
rbac.createbooltrueSpecifies whether RBAC resources should be created (recommended)
replicaCountint1number of replicas to create for the controller
resourcesobject{}resource limits/requests for created resources
securityContextobject{"runAsNonRoot":true}the pod security context which defines privilege and access control settings for the controller Pod
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
tolerationslist[{"operator":"Exists"}]a list of node tolerations to apply to the deployment
webhooksEnabledboolfalseif not set, will be 'false'

Deploy cidr-allocator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cidr-allocator 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 chartcidr-allocator is pinned at v1.0.2 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