mirror of
https://github.com/ysoftdevs/argo-poc.git
synced 2026-04-01 14:43:27 +02:00
du to zkusit jimmy
This commit is contained in:
@@ -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
|
|
||||||
@@ -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
41
apps/traefik/argocd.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
18
apps/traefik/values/app-version/dev-values.yaml
Normal file
18
apps/traefik/values/app-version/dev-values.yaml
Normal 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"
|
||||||
Reference in New Issue
Block a user