keptn-lifecycle-operator

by Keptn

Helm chartv0.6.0App v2.0.0Apache-2.0Verified publisher

A Helm chart for Keptn Lifecycle Operator, a subproject of Keptn

About this chart

Keptn

Keptn provides a cloud-native approach for pre- and post-deployment, and application health checks

Parameters

Keptn Lifecycle Operator common

Global parameters

NameDescriptionValue
global.certManagerEnabledEnable this value to install Keptn Certificate Managertrue
global.imageRegistryGlobal container image registryghcr.io
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.imagePullPolicyselect global image pull policy""
global.commonLabelsCommon labels to add to all Keptn resources. Evaluated as a template{}
global.commonAnnotationsCommon annotations to add to all Keptn resources. Evaluated as a template{}
global.caInjectionAnnotationsCA injection annotations for cert-manager.io configuration{}
global.openShift.enabledEnable this value to install on Openshiftfalse
config.health.healthProbeBindAddresssetup on what address to start the default health handler:8081
config.leaderElection.leaderElectenable leader election for multiple replicas of the lifecycle operatortrue
config.leaderElection.resourceNamedefine LeaderElectionID6b866dd9.keptn.sh
config.metrics.bindAddressMetricsBindAddress is the TCP address that the controller should bind to for serving prometheus metrics. It can be set to "0" to disable the metrics serving.127.0.0.1:8080
config.webhook.portsetup port for the lifecycle operator admission webhook9443
webhookServiceMutating Webhook Configurations for lifecycle Operator
webhookService.ports[0].port443
webhookService.ports[0].protocolTCP
webhookService.ports[0].targetPort9443
webhookService.typeClusterIP
containerSecurityContextSets security context privileges
containerSecurityContext.allowPrivilegeEscalationfalse
containerSecurityContext.capabilities.drop["ALL"]
containerSecurityContext.privilegedfalse
containerSecurityContext.runAsGroup65532
containerSecurityContext.runAsNonRoottrue
containerSecurityContext.runAsUser65532
containerSecurityContext.seccompProfile.typeRuntimeDefault
env.functionRunnerImagespecify image for deno task runtimeghcr.io/keptn/deno-runtime:v3.0.1
env.keptnAppControllerLogLevelsets the log level of Keptn App Controller0
env.keptnAppCreationRequestControllerLogLevelsets the log level of Keptn App Creation Request Controller0
env.keptnAppVersionControllerLogLevelsets the log level of Keptn AppVersion Controller0
env.keptnEvaluationControllerLogLevelsets the log level of Keptn Evaluation Controller0
env.keptnTaskControllerLogLevelsets the log level of Keptn Task Controller0
env.keptnTaskDefinitionControllerLogLevelsets the log level of Keptn TaskDefinition Controller0
env.keptnWorkloadControllerLogLevelsets the log level of Keptn Workload Controller0
env.keptnWorkloadVersionControllerLogLevelsets the log level of Keptn WorkloadVersion Controller0
env.keptnDoraMetricsPortsets the port for accessing lifecycle metrics in prometheus format2222
env.optionsControllerLogLevelsets the log level of Keptn Options Controller0
env.pythonRunnerImagespecify image for python task runtimeghcr.io/keptn/python-runtime:v1.0.8
image.registryspecify the container registry for the lifecycle-operator image""
image.repositoryspecify registry for manager imagekeptn/lifecycle-operator
image.tagselect tag for manager imagev2.0.0
image.imagePullPolicyspecify pull policy for the manager image. This overrides global values""
livenessProbecustom liveness probe for manager container
readinessProbecustom readinessprobe for manager container
resourcesspecify limits and requests for manager container
nodeSelectoradd custom nodes selector to lifecycle operator{}
replicascustomize number of installed lifecycle operator replicas1
tolerationsadd custom tolerations to lifecycle operator[]
topologySpreadConstraintsadd custom topology constraints to lifecycle operator[]
hostNetworkSets hostNetwork option for lifecycle operatorfalse
operatorMetricsServiceAdjust settings here to change the k8s service for scraping Prometheus metrics

Global

| Name | Description | Value

Deploy keptn-lifecycle-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keptn-lifecycle-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkeptn-lifecycle-operator is pinned at v0.6.0 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