2023-03-28 14:02:53 +00:00
# Global parameters.
# Global values are in generated_values.yaml. Run `codefresh runner init --generate-helm-values-file`!
# @default -- See below
2022-12-01 22:20:33 +00:00
global :
2023-03-28 14:02:53 +00:00
namespace : "codefresh"
2022-12-01 22:20:33 +00:00
codefreshHost : ""
agentToken : ""
2023-03-28 14:02:53 +00:00
# -- Existing secret (name-of-existing-secret) with API token from Codefresh (supersedes value for global.agentToken; secret must contain `codefresh.token` key)
2022-12-01 22:20:33 +00:00
existingAgentToken : ""
agentId : ""
agentName : ""
accountId : ""
runtimeName : ""
2023-03-28 14:02:53 +00:00
# -- Existing secret (name has to be `codefresh-certs-server`) (supersedes value for global.keys; secret must contain `server-cert.pem` `server-key.pem` and `ca.pem`` keys)
2022-12-01 22:20:33 +00:00
existingDindCertsSecret : ""
keys :
key : ""
ca : ""
serverCert : ""
2023-03-28 14:02:53 +00:00
# -- Set docker registry prefix for the runtime images
dockerRegistry : "quay.io"
2023-03-30 17:39:15 +00:00
# E.g.
2023-03-28 14:02:53 +00:00
# dockerRegistry: "myreqistry.local"
2022-12-01 22:20:33 +00:00
2023-03-28 14:02:53 +00:00
# Runner parameters
# @default -- See below
runner :
# -- Set runner image
2023-03-30 17:39:15 +00:00
image : "codefresh/venona:1.9.14"
2023-03-28 14:02:53 +00:00
# -- Add additional env vars
2022-12-01 22:20:33 +00:00
env : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# env:
# HTTP_PROXY: 10.20.0.35:8080
# HTTPS_PROXY: 10.20.0.35:8080
# NO_PROXY: 10.20.0.*
2023-03-28 14:02:53 +00:00
# -- Set runner requests and limits
2022-12-01 22:20:33 +00:00
resources : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# resources:
# limits:
# cpu: 400m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
2023-03-28 14:02:53 +00:00
# -- Set runner node selector
2022-12-01 22:20:33 +00:00
nodeSelector : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# nodeSelector:
# foo: bar
2023-03-28 14:02:53 +00:00
# -- Set runner tolerations
2022-12-01 22:20:33 +00:00
tolerations : [ ]
2023-03-30 17:39:15 +00:00
## E.g.
2022-12-01 22:20:33 +00:00
# tolerations:
# - key: codefresh
# operator: Equal
# value: dind
# effect: NoSchedule
2023-03-28 14:02:53 +00:00
# Volume Provisioner parameters
# @default -- See below
volumeProvisioner :
# -- Set volume-provisioner image
2023-03-30 17:39:15 +00:00
image : "codefresh/dind-volume-provisioner:1.33.3"
2023-03-28 14:02:53 +00:00
# -- Set annotation on volume-provisioner Service Account
serviceAccount : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# serviceAccount:
# annotations:
# eks.amazonaws.com/role-arn: "arn:aws:iam::<ACCOUNT_ID>:role/<IAM_ROLE_NAME>"
2023-03-28 14:02:53 +00:00
# -- Set volume-provisioner node selector
2022-12-01 22:20:33 +00:00
nodeSelector : {}
2023-03-28 14:02:53 +00:00
# -- Set volume-provisioner requests and limits
2022-12-01 22:20:33 +00:00
resources : {}
2023-03-28 14:02:53 +00:00
# -- Set volume-provisioner tolerations
2022-12-01 22:20:33 +00:00
tolerations : [ ]
2023-03-28 14:02:53 +00:00
# -- Enable volume-provisioner pod's security context (running as non root user)
2022-12-27 13:56:25 +00:00
securityContext :
enabled : true
2023-03-28 14:02:53 +00:00
# -- Add additional env vars
2022-12-01 22:20:33 +00:00
env : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# env:
# PRIVILEGED_CONTAINER: true
2023-03-28 14:02:53 +00:00
2022-12-01 22:20:33 +00:00
### https://codefresh.io/docs/docs/administration/codefresh-runner/#installing-on-aks
# mountAzureJson: true
2023-03-28 14:02:53 +00:00
2022-12-15 17:25:29 +00:00
annotations : {} # annotate volume-provisioner pod
2022-12-01 22:20:33 +00:00
2023-03-28 14:02:53 +00:00
# `dind-volume-cleanup` CronJob parameters
# @default -- See below
volume-cleanup :
# -- Set `dind-volume-cleanup` image
image : codefresh/dind-volume-cleanup:1.2.0
2022-12-01 22:20:33 +00:00
2023-03-28 14:02:53 +00:00
# Storage parameters for volume-provisioner
# @default -- See below
storage :
# -- Set backend volume type (`local`/`ebs`/`ebs-csi`/`gcedisk`/`azuredisk`)
backend : local
# -- Set filesystem type (`ext4`/`xfs`)
fsType : "ext4"
# Storage parametrs example for local volumes on the K8S nodes filesystem (i.e. `storage.backend=local`)
2022-12-01 22:20:33 +00:00
# https://kubernetes.io/docs/concepts/storage/volumes/#local
2023-03-28 14:02:53 +00:00
# @default -- See below
2022-12-01 22:20:33 +00:00
local :
2023-03-28 14:02:53 +00:00
# -- Set volume path on the host filesystem
2022-12-01 22:20:33 +00:00
volumeParentDir : /var/lib/codefresh/dind-volumes
2023-03-28 14:02:53 +00:00
# `dind-lv-monitor` DaemonSet parametes (deployed only when `storage.backend=local`)
# @default -- See below
localVolumeMonitor :
# -- Set `dind-lv-monitor` image
image : codefresh/dind-volume-utils:1.29.3
2023-03-30 17:39:15 +00:00
initContainer :
image : alpine
2022-12-01 22:20:33 +00:00
nodeSelector : {}
resources : {}
tolerations : [ ]
env : {}
2023-03-28 14:02:53 +00:00
# Storage parameters example for aws ebs disks (i.e. `storage.backend=ebs`/`storage.backend=ebs-csi`)
2022-12-01 22:20:33 +00:00
# https://aws.amazon.com/ebs/
# https://codefresh.io/docs/docs/administration/codefresh-runner/#installing-on-aws
2023-03-28 14:02:53 +00:00
# @default -- See below
2022-12-01 22:20:33 +00:00
ebs :
2023-03-28 14:02:53 +00:00
# -- Set EBS volume type (`gp2`/`gp3`/`io1`) (required)
volumeType : "gp2"
# -- Set EBS volumes availability zone (required)
availabilityZone : "us-east-1a"
# -- Enable encryption (optional)
encrypted : "false"
# -- Set KMS encryption key ID (optional)
kmsKeyId : ""
# -- Set AWS_ACCESS_KEY_ID for volume-provisioner (optional)
# Ref: https://codefresh.io/docs/docs/installation/codefresh-runner/#dind-volume-provisioner-permissions
accessKeyId : ""
# -- Set AWS_SECRET_ACCESS_KEY for volume-provisioner (optional)
# Ref: https://codefresh.io/docs/docs/installation/codefresh-runner/#dind-volume-provisioner-permissions
secretAccessKey : ""
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# ebs:
# volumeType: gp3
# availabilityZone: us-east-1c
# encrypted: false
# iops: "5000"
# # I/O operations per second. Only effetive when gp3 volume type is specified.
# # Default value - 3000.
# # Max - 16,000
# throughput: "500"
# # Throughput in MiB/s. Only effective when gp3 volume type is specified.
# # Default value - 125.
# # Max - 1000.
# ebs:
# volumeType: gp2
# availabilityZone: us-east-1c
# encrypted: true
# kmsKeyId: "1234abcd-12ab-34cd-56ef-1234567890ab"
2023-03-28 14:02:53 +00:00
# accessKeyId: "MYKEYID"
# secretAccessKey: "MYACCESSKEY"
2022-12-01 22:20:33 +00:00
2023-03-28 14:02:53 +00:00
# Storage parameters example for gce disks
2022-12-01 22:20:33 +00:00
# https://cloud.google.com/compute/docs/disks#pdspecs
# https://codefresh.io/docs/docs/administration/codefresh-runner/#installing-on-google-kubernetes-engine
2023-03-28 14:02:53 +00:00
# @default -- See below
2022-12-01 22:20:33 +00:00
gcedisk :
2023-03-28 14:02:53 +00:00
# -- Set GCP volume backend type (`pd-ssd`/`pd-standard`)
volumeType : "pd-ssd"
# -- Set GCP volume availability zone
availabilityZone : "us-west1-a"
# -- Set Google SA JSON key for volume-provisioner (optional)
serviceAccountJson : ""
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# gcedisk:
# volumeType: pd-ssd
# availabilityZone: us-central1-c
# serviceAccountJson: |-
# {
# "type": "service_account",
# "project_id": "...",
# "private_key_id": "...",
# "private_key": "...",
# "client_email": "...",
# "client_id": "...",
# "auth_uri": "...",
# "token_uri": "...",
# "auth_provider_x509_cert_url": "...",
# "client_x509_cert_url": "..."
# }
2023-03-28 14:02:53 +00:00
# Storage parameters example for Azure Disks
2022-12-01 22:20:33 +00:00
# https://codefresh.io/docs/docs/administration/codefresh-runner/#installing-on-aks
2023-03-28 14:02:53 +00:00
# @default -- See below
2022-12-01 22:20:33 +00:00
azuredisk :
2023-03-28 14:02:53 +00:00
# -- Set storage type (`Premium_LRS`)
skuName : Premium_LRS
2022-12-01 22:20:33 +00:00
cachingMode : None
# location: westcentralus
# resourceGroup:
# DiskIOPSReadWrite: 500
# DiskMBpsReadWrite: 100
2023-03-28 14:02:53 +00:00
# Set runtime parameters
# @default -- See below
2022-12-01 22:20:33 +00:00
re :
2023-03-28 14:02:53 +00:00
# -- Set annotation on engine Service Account
# Ref: https://codefresh.io/docs/docs/administration/codefresh-runner/#injecting-aws-arn-roles-into-the-cluster
serviceAccount :
annotations : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# serviceAccount:
2023-03-28 14:02:53 +00:00
# annotations:
2022-12-01 22:20:33 +00:00
# eks.amazonaws.com/role-arn: "arn:aws:iam::<ACCOUNT_ID>:role/<IAM_ROLE_NAME>"
2023-03-28 14:02:53 +00:00
# DinD pod daemon config
# @default -- See below
dindDaemon :
2022-12-01 22:20:33 +00:00
hosts :
- unix:///var/run/docker.sock
- tcp://0.0.0.0:1300
tlsverify : true
tls : true
tlscacert : /etc/ssl/cf-client/ca.pem
tlscert : /etc/ssl/cf/server-cert.pem
tlskey : /etc/ssl/cf/server-key.pem
insecure-registries :
- 192.168 .99 .100 : 5000
metrics-addr : 0.0 .0 .0 : 9323
experimental : true
2023-03-28 14:02:53 +00:00
# App-Proxy parameters
# Ref: https://codefresh.io/docs/docs/installation/codefresh-runner/#app-proxy-installation
# @default -- See below
appProxy :
# -- Enable app-proxy
2022-12-01 22:20:33 +00:00
enabled : false
2023-03-28 14:02:53 +00:00
# -- Set app-proxy image
2022-12-01 22:20:33 +00:00
image : "codefresh/cf-app-proxy:latest"
2023-03-28 14:02:53 +00:00
# Set app-proxy ingress parameters
# @default -- See below
2022-12-01 22:20:33 +00:00
ingress :
2023-03-28 14:02:53 +00:00
# -- Set path prefix for ingress
pathPrefix : "/"
# -- Set ingress class
class : ""
# -- Set DNS hostname the ingress will use
host : ""
# -- Set k8s tls secret for the ingress object
tlsSecret : ""
# -- Set extra annotations for ingress object
annotations : {}
2023-03-30 17:39:15 +00:00
# E.g.
2022-12-01 22:20:33 +00:00
# ingress:
# pathPrefix: "/app-proxy"
# class: "nginx"
# host: "mydomain.com"
# tlsSecret: "tls-cert-app-proxy"
# annotations:
# nginx.ingress.kubernetes.io/whitelist-source-range: 123.123.123.123/130
2023-03-28 14:02:53 +00:00
env : {}
2022-12-01 22:20:33 +00:00
resources : {}
serviceAccount :
annotations : {}
2023-03-28 14:02:53 +00:00
# Monitor parameters
# @default -- See below
monitor :
# -- Enable monitor
# Ref: https://codefresh.io/docs/docs/installation/codefresh-runner/#install-monitoring-component
2022-12-01 22:20:33 +00:00
enabled : false
2023-03-28 14:02:53 +00:00
# -- Set monitor image
2022-12-01 22:20:33 +00:00
image : "codefresh/agent:stable"
2023-03-28 14:02:53 +00:00
# -- keep true as default!
2022-12-01 22:20:33 +00:00
helm3 : true
2023-03-28 14:02:53 +00:00
# -- Use ClusterRole (`false`) or Role (`true`) RBAC
useNamespaceWideRole : false #
# -- Cluster name as it registered in account
clusterId : ""
# -- API token from Codefresh
token : ""
# -- Set Existing secret (name-of-existing-secret) with API token from Codefresh (supersedes value of monitor.token; secret must contain `codefresh.token` key)
existingMonitorToken : ""
2022-12-01 22:20:33 +00:00
env : {}
resources : {}
serviceAccount :
annotations : {}