feat: 🎸 add argocd dns

This commit is contained in:
2026-01-16 18:37:03 +00:00
parent 0e0ccf14f9
commit 231198da1e
3 changed files with 52 additions and 1 deletions

View File

@@ -14,8 +14,32 @@
/snap/bin/helm upgrade --install argocd argo/argo-cd
--namespace argocd
--create-namespace
--set server.service.type=NodePort
--set configs.params."server\.insecure"=true
--wait
become: false
register: argocd_install
changed_when: "'Release \"argocd\" does not exist' in argocd_install.stdout or 'Happy Helming' in argocd_install.stdout"
- name: Create HTTPRoute for ArgoCD
kubernetes.core.k8s:
definition:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: argocd-route
namespace: argocd
spec:
parentRefs:
- name: main-gateway
namespace: traefik
sectionName: argocd-https
hostnames:
- "argocd.svc.pguia.com"
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: argocd-server
port: 80