diff --git a/.gitignore b/.gitignore index 90c495664..bf591ae32 100644 --- a/.gitignore +++ b/.gitignore @@ -94,3 +94,4 @@ config/talos/**/talosconfig !config/talos/patch.yaml !config/talos/worker-patch.yaml config/**/*.yaml +apps/services/changedetection/base/svc.yaml diff --git a/apps/argocd/base/services/onchange.yaml b/apps/argocd/base/services/onchange.yaml index b122294af..952bec244 100644 --- a/apps/argocd/base/services/onchange.yaml +++ b/apps/argocd/base/services/onchange.yaml @@ -22,9 +22,8 @@ spec: - Validate=false - CreateNamespace=false - PrunePropagationPolicy=foreground - - PruneLast=true - - ApplyOutOfSyncOnly=false - Prune=true + - ServerSideApply=true retry: limit: 5 backoff: diff --git a/apps/services/changedetection/base/deployment.yaml b/apps/services/changedetection/base/deployment.yaml index c727f709a..d1cb41cd5 100644 --- a/apps/services/changedetection/base/deployment.yaml +++ b/apps/services/changedetection/base/deployment.yaml @@ -9,6 +9,7 @@ metadata: link.argocd.argoproj.io/external-link: http://onchange.gruber.dev.br spec: replicas: 1 + revisionHistoryLimit: 0 strategy: type: Recreate selector: diff --git a/apps/services/changedetection/base/svc.yaml b/apps/services/changedetection/base/svc.yaml index a20b39d50..571ca71d6 100644 --- a/apps/services/changedetection/base/svc.yaml +++ b/apps/services/changedetection/base/svc.yaml @@ -7,10 +7,13 @@ metadata: spec: selector: app: change-server + ipFamilyPolicy: PreferDualStack + ipFamilies: + - IPv4 + - IPv6 ports: - name: web port: 80 targetPort: 5000 protocol: TCP - loadBalancerClass: tailscale - type: LoadBalancer + type: ClusterIP diff --git a/tasks/cluster.yaml b/tasks/cluster.yaml index 143991f58..36e0d0747 100644 --- a/tasks/cluster.yaml +++ b/tasks/cluster.yaml @@ -46,7 +46,7 @@ env: INTERFACE: enp1s0 KVVERSION: v0.5.7 K3D_VERSION: v5.4.6 - INSTALL_K3S_VERSION: v1.27.4+k3s1 + INSTALL_K3S_VERSION: v1.28.1+k3s1 silent: true