131 lines
3 KiB
YAML
131 lines
3 KiB
YAML
# Default values for garm chart
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
image:
|
|
repository: edp.buildth.ing/devfw-cicd/garm
|
|
tag: provider-ec-43
|
|
pullPolicy: Always
|
|
|
|
replicaCount: 1
|
|
|
|
persistence:
|
|
enabled: true
|
|
size: 100Gi
|
|
storageClass: "csi-disk"
|
|
annotations:
|
|
everest.io/disk-volume-type: GPSSD
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: main
|
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
hosts:
|
|
- host: garm.garm-provider-test.t09.de
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: garm-net-tls
|
|
hosts:
|
|
- garm.garm-provider-test.t09.de
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
|
|
# Garm Configuration
|
|
garm:
|
|
logging:
|
|
enableLogStreamer: true
|
|
logFormat: text # can be "text" or "json"
|
|
logLevel: info
|
|
logSource: false
|
|
|
|
metrics:
|
|
enable: true
|
|
disableAuth: false
|
|
|
|
jwtAuth:
|
|
timeToLive: "8760h"
|
|
|
|
apiserver:
|
|
bind: "0.0.0.0"
|
|
port: 80
|
|
useTls: false
|
|
webui:
|
|
enable: true
|
|
|
|
database:
|
|
backend: sqlite3
|
|
sqlite3:
|
|
dbFile: "/garm/garm.db"
|
|
|
|
provider:
|
|
- name: "k8s"
|
|
description: "kubernetes provider"
|
|
providerType: "external"
|
|
external:
|
|
configFile: "/etc/garm/k8s-provider-config.toml"
|
|
providerExecutable: "/opt/garm/providers.d/garm-provider-k8s"
|
|
environmentVariables: ["KUBERNETES_"]
|
|
- name: "edge-connect"
|
|
description: "edge connect provider"
|
|
providerType: "external"
|
|
external:
|
|
configFile: "/etc/garm/edge-connect-provider-config.toml"
|
|
providerExecutable: "/opt/garm/providers.d/garm-provider-edge-connect"
|
|
environmentVariables: ["EDP_EDGE_CONNECT_"]
|
|
|
|
# Provider Configuration
|
|
providerConfig:
|
|
k8s:
|
|
runnerNamespace: "garm"
|
|
flavors:
|
|
micro:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 50Mi
|
|
limits:
|
|
memory: 200Mi
|
|
ultra:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 500Mi
|
|
limits:
|
|
memory: 1Gi
|
|
edgeConnect:
|
|
organization: "edp-developer-framework"
|
|
region: "EU"
|
|
edgeConnectUrl: "https://hub.apps.edge.platform.mg3.mdb.osc.live"
|
|
defaultFlavor: "EU.small"
|
|
cloudlet:
|
|
name: "Munich"
|
|
organization: "TelekomOP"
|
|
|
|
# Credentials and Secrets
|
|
credentials:
|
|
# giteaToken: "" # Required: Your Gitea access token
|
|
admin:
|
|
username: admin
|
|
# password: "changeme-generate-strong-password"
|
|
email: "admin@example.com"
|
|
edgeConnect:
|
|
existingSecretName: null
|
|
username: "<insert username>" # Required if existingSecretName not specified
|
|
password: "<insert password>" # Required if existingSecretName not specified
|
|
gitea:
|
|
url: "https://garm-provider-test.t09.de" # Required
|
|
|
|
initJob:
|
|
image: edp.buildth.ing/devfw-cicd/garm-test
|
|
waitForGarm:
|
|
image: appropriate/curl
|
|
timeoutSeconds: 60
|
|
retryInterval: 6
|
|
maxRetries: 10
|