Compare commits
No commits in common. "a6dd91a88cf4aa1bca1b172a1bd4118f54de5b21" and "88ac421c1910b4302c02ab4b7cc1afc122de785f" have entirely different histories.
a6dd91a88c
...
88ac421c19
@ -1,7 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: argocd
|
|
||||||
version: 1.0.0
|
|
||||||
dependencies:
|
|
||||||
- name: argo-cd
|
|
||||||
version: 9.1.0
|
|
||||||
repository: https://argoproj.github.io/argo-helm
|
|
||||||
@ -1,41 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: argocd
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "-1" # Sync before other apps
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mvzijl.nl/marco/veda.git
|
|
||||||
targetRevision: applicationset-rewrite
|
|
||||||
path: apps/argocd
|
|
||||||
helm:
|
|
||||||
releaseName: argocd
|
|
||||||
valueFiles:
|
|
||||||
- values.yaml
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: argocd
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false # Be careful with pruning ArgoCD itself
|
|
||||||
selfHeal: true # Auto-fix configuration drift
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- PruneLast=true
|
|
||||||
- PrunePropagationPolicy=foreground
|
|
||||||
ignoreDifferences:
|
|
||||||
# Ignore certain fields that change frequently
|
|
||||||
- group: apps
|
|
||||||
kind: Deployment
|
|
||||||
jsonPointers:
|
|
||||||
- /spec/replicas # If using HPA
|
|
||||||
- group: ""
|
|
||||||
kind: Secret
|
|
||||||
name: argocd-initial-admin-secret
|
|
||||||
jsonPointers:
|
|
||||||
- /data # Don't sync the initial password secret
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
apiVersion: gateway.networking.k8s.io/v1
|
|
||||||
kind: HTTPRoute
|
|
||||||
metadata:
|
|
||||||
name: argocd-server
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
spec:
|
|
||||||
parentRefs:
|
|
||||||
- name: traefik-gateway
|
|
||||||
namespace: traefik
|
|
||||||
sectionName: web
|
|
||||||
hostnames:
|
|
||||||
- {{ index .Values "argo-cd" "global" "domain" | quote }}
|
|
||||||
rules:
|
|
||||||
- matches:
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /
|
|
||||||
backendRefs:
|
|
||||||
- name: argocd-server
|
|
||||||
port: 80
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
argo-cd:
|
|
||||||
global:
|
|
||||||
domain: argocd.noxxos.nl
|
|
||||||
|
|
||||||
server:
|
|
||||||
ingress:
|
|
||||||
enabled: false
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: gateway-api
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "0"
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://github.com/kubernetes-sigs/gateway-api
|
|
||||||
targetRevision: v1.4.0
|
|
||||||
path: config/crd/standard
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: false
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- Replace=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
@ -28,4 +28,3 @@ spec:
|
|||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
- PrunePropagationPolicy=foreground
|
- PrunePropagationPolicy=foreground
|
||||||
- Replace=true
|
|
||||||
@ -1,30 +1,60 @@
|
|||||||
|
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
|
# Service configuration
|
||||||
global:
|
|
||||||
checkNewVersion: false
|
|
||||||
|
|
||||||
installCRDs: true
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
annotations:
|
annotations:
|
||||||
io.cilium/lb-ipam-ips: "192.168.0.2"
|
io.cilium/lb-ipam-ips: "192.168.0.2"
|
||||||
|
|
||||||
|
# Ports configuration
|
||||||
ports:
|
ports:
|
||||||
|
web:
|
||||||
|
port: 80
|
||||||
|
exposedPort: 80
|
||||||
|
protocol: TCP
|
||||||
websecure:
|
websecure:
|
||||||
asDefault: true
|
port: 443
|
||||||
|
exposedPort: 443
|
||||||
|
protocol: TCP
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
metrics:
|
||||||
|
port: 9100
|
||||||
|
expose:
|
||||||
|
default: false
|
||||||
|
protocol: TCP
|
||||||
|
|
||||||
|
# Enable dashboard
|
||||||
|
ingressRoute:
|
||||||
|
dashboard:
|
||||||
|
enabled: true
|
||||||
|
matchRule: Host(`traefik.noxxos.nl`)
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
|
||||||
|
# Global arguments
|
||||||
|
globalArguments:
|
||||||
|
- "--global.checknewversion=false"
|
||||||
|
- "--global.sendanonymoususage=false"
|
||||||
|
|
||||||
|
# Additional arguments
|
||||||
|
additionalArguments:
|
||||||
|
- "--api.dashboard=true"
|
||||||
|
- "--log.level=INFO"
|
||||||
|
- "--accesslog=true"
|
||||||
|
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
||||||
|
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
|
||||||
|
|
||||||
|
# Providers
|
||||||
providers:
|
providers:
|
||||||
kubernetesCRD:
|
kubernetesCRD:
|
||||||
enabled: true
|
enabled: true
|
||||||
allowCrossNamespace: true
|
allowCrossNamespace: true
|
||||||
kubernetesIngress:
|
kubernetesIngress:
|
||||||
enabled: false
|
|
||||||
kubernetesGateway:
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
publishedService:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# Resource limits
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "100m"
|
cpu: "100m"
|
||||||
@ -33,35 +63,26 @@ traefik:
|
|||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
|
|
||||||
|
# Replicas
|
||||||
deployment:
|
deployment:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
|
|
||||||
|
# Metrics (Prometheus)
|
||||||
metrics:
|
metrics:
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
addEntryPointsLabels: true
|
||||||
|
addServicesLabels: true
|
||||||
|
|
||||||
gateway:
|
# Security
|
||||||
listeners:
|
securityContext:
|
||||||
web:
|
capabilities:
|
||||||
namespacePolicy:
|
drop: [ALL]
|
||||||
from: All
|
add: [NET_BIND_SERVICE]
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
|
runAsGroup: 65532
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 65532
|
||||||
|
|
||||||
extraObjects:
|
podSecurityContext:
|
||||||
- apiVersion: gateway.networking.k8s.io/v1
|
fsGroup: 65532
|
||||||
kind: HTTPRoute
|
|
||||||
metadata:
|
|
||||||
name: traefik-dashboard
|
|
||||||
namespace: traefik
|
|
||||||
spec:
|
|
||||||
parentRefs:
|
|
||||||
- name: traefik-gateway
|
|
||||||
hostnames:
|
|
||||||
- "traefik.noxxos.nl"
|
|
||||||
rules:
|
|
||||||
- matches:
|
|
||||||
- path: { type: PathPrefix, value: /dashboard }
|
|
||||||
- path: { type: PathPrefix, value: /api }
|
|
||||||
backendRefs:
|
|
||||||
- group: traefik.io
|
|
||||||
kind: TraefikService
|
|
||||||
name: api@internal
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
apiVersion: gateway.networking.k8s.io/v1
|
|
||||||
kind: HTTPRoute
|
|
||||||
metadata:
|
|
||||||
name: argocd-server
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
parentRefs:
|
|
||||||
- name: traefik-gateway
|
|
||||||
namespace: traefik
|
|
||||||
sectionName: websecure
|
|
||||||
hostnames:
|
|
||||||
- "argocd.noxxos.nl"
|
|
||||||
rules:
|
|
||||||
- matches:
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /
|
|
||||||
backendRefs:
|
|
||||||
- name: argocd-server
|
|
||||||
port: 80
|
|
||||||
@ -3,4 +3,7 @@ global:
|
|||||||
|
|
||||||
server:
|
server:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
ingressClassName: traefik
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
Loading…
Reference in New Issue
Block a user