added garm to gpt t09
This commit is contained in:
parent
7f81b9478b
commit
92fe091f13
3 changed files with 185 additions and 0 deletions
24
otc/garm-provider-test.t09.de/registry/garm.yaml
Normal file
24
otc/garm-provider-test.t09.de/registry/garm.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: garm-reg
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: dev
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: in-cluster
|
||||||
|
namespace: argocd
|
||||||
|
source:
|
||||||
|
path: "otc/garm-provider-test.t09.de/stacks/garm"
|
||||||
|
repoURL: "https://edp.buildth.ing/DevFW-CICD/stacks-instances"
|
||||||
|
targetRevision: HEAD
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
29
otc/garm-provider-test.t09.de/stacks/garm/garm.yaml
Normal file
29
otc/garm-provider-test.t09.de/stacks/garm/garm.yaml
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: garm
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: dev
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
retry:
|
||||||
|
limit: -1
|
||||||
|
destination:
|
||||||
|
name: in-cluster
|
||||||
|
namespace: garm
|
||||||
|
sources:
|
||||||
|
- repoURL: https://edp.buildth.ing/DevFW-CICD/garm-helm
|
||||||
|
path: charts/garm
|
||||||
|
targetRevision: v0.0.1
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- $values/otc/garm-provider-test.t09.de/stacks/garm/garm/values.yaml
|
||||||
|
- repoURL: https://edp.buildth.ing/DevFW-CICD/stacks-instances
|
||||||
|
targetRevision: HEAD
|
||||||
|
ref: values
|
||||||
132
otc/garm-provider-test.t09.de/stacks/garm/garm/values.yaml
Normal file
132
otc/garm-provider-test.t09.de/stacks/garm/garm/values.yaml
Normal file
|
|
@ -0,0 +1,132 @@
|
||||||
|
# Default values for garm chart
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: edp.buildth.ing/devfw-cicd/garm
|
||||||
|
tag: provider-ec-40
|
||||||
|
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:
|
||||||
|
# You should change this in production
|
||||||
|
# secret: "changeme-use-a-secure-random-string"
|
||||||
|
timeToLive: "8760h"
|
||||||
|
|
||||||
|
apiserver:
|
||||||
|
bind: "0.0.0.0"
|
||||||
|
port: 80
|
||||||
|
useTls: false
|
||||||
|
webui:
|
||||||
|
enable: true
|
||||||
|
|
||||||
|
database:
|
||||||
|
backend: sqlite3
|
||||||
|
# passphrase: "changeme-use-a-secure-random-string"
|
||||||
|
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"
|
||||||
|
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:
|
||||||
|
username: "<insert username>" # Required
|
||||||
|
password: "<insert password>" # Required
|
||||||
|
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue