du to zkusit jimmy

This commit is contained in:
Jan Husak
2025-04-09 15:52:35 +02:00
parent f5c6f77d74
commit 33575299cd
5 changed files with 59 additions and 35 deletions

View File

@@ -1,23 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: traefik # Name of the application in Argo CD
namespace: argocd # Namespace where Argo CD is installed
spec:
project: default # Argo CD project for the application (can be 'default' or custom)
source:
repoURL: https://github.com/ysoftdevs/argo-poc # Git repository URL
targetRevision: HEAD # Git branch/tag/commit to sync (e.g., 'main' or 'v1.0')
path: helm-repo/traefik/traefik-35.0.0 # Path to the application directory or manifests inside the repo
helm:
valueFiles:
- /apps/traefik/values/dev-values.yaml
destination:
server: https://kubernetes.default.svc # Cluster where the app will be deployed (use default for in-cluster)
namespace: traefik # Kubernetes namespace for the application
syncPolicy:
automated:
prune: true # Auto-prune resources that are no longer in the repository
selfHeal: true # Auto-correct drift from the desired state
syncOptions:
- CreateNamespace=true # Automatically create the namespace if it doesn't exist

View File

@@ -1,12 +0,0 @@
server:
ingress:
enabled: true
hostname: "web.control-plane-dev.ysoft-dev.com"
global:
image:
tag: v3.0.0-rc3
configs:
params:
server.insecure: true

41
apps/traefik/argocd.json Normal file
View File

@@ -0,0 +1,41 @@
{
"apiVersion": "ysoft.com/v1",
"source": {
"repoURL": "https://github.com/ysoftdevs/argo-poc.git",
"path": "helm-repo/traefik/traefik-35.0.0",
"chartRevision": "main",
"valuesRevision": "main",
"chart": ""
},
"destination": {
"namespace": "traefik"
},
"syncPolicy": {
"syncOptions": {
"ServerSideApply": true,
"CreateNamespace": true
}
},
"valueFiles": [
"values/registry/%provider%-%stage%-values.yaml",
"values/app-version/%stage%-values.yaml"
],
"clusters": {
"dev": {
"control-plane-dev": {
"enabled": true
},
"ohio": {
"enabled": false
}
},
"prod": {
"control-plane": {
"enabled": true
},
"ireland": {
"enabled": false
}
}
}
}

View File

@@ -0,0 +1,18 @@
ingressClass:
enabled: true
isDefaultClass: true
ingressRoute:
dashboard:
enabled: false
service:
annotations:
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
logs:
general:
level: DEBUG
access:
enabled: true
fields:
defaultMode: keep
globalArguments:
- "--api.insecure=true"