From cf2b37cb520d3ca2d06d86c0ce51ae4c1dc790c1 Mon Sep 17 00:00:00 2001 From: rohow Date: Thu, 16 Apr 2026 18:55:30 +0800 Subject: [PATCH] feat(helm): update repository sync intervals to 168h and modify Git repository URL --- flux/flux-instance.yaml | 3 +- .../sources/helm-repositories.yaml | 33 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/flux/flux-instance.yaml b/flux/flux-instance.yaml index beaae9b..2fd945a 100644 --- a/flux/flux-instance.yaml +++ b/flux/flux-instance.yaml @@ -25,10 +25,11 @@ spec: # Git 仓库同步配置 - 请将 url 替换为实际的 deploy 仓库地址 sync: kind: GitRepository - url: https://git.dev.cm/devcm/deploy.git + url: ssh://git@github.com/devcm-repo/k3s.git ref: refs/heads/main path: flux/clusters/dev-cm pullSecret: flux-git-auth + name: flux kustomize: patches: - target: diff --git a/flux/infrastructure/sources/helm-repositories.yaml b/flux/infrastructure/sources/helm-repositories.yaml index 53699dd..8bde312 100644 --- a/flux/infrastructure/sources/helm-repositories.yaml +++ b/flux/infrastructure/sources/helm-repositories.yaml @@ -5,7 +5,7 @@ metadata: name: jetstack namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://charts.jetstack.io --- # cert-manager-webhook-dnspod (OCI) @@ -15,9 +15,8 @@ metadata: name: imroc namespace: infra-gitops spec: - interval: 24h - type: oci - url: oci://registry-1.docker.io/imroc + interval: 168h + url: https://imroc.github.io/cert-manager-webhook-dnspod --- # reflector apiVersion: source.toolkit.fluxcd.io/v1 @@ -26,7 +25,7 @@ metadata: name: emberstack namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://emberstack.github.io/helm-charts --- # velero @@ -36,7 +35,7 @@ metadata: name: vmware-tanzu namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://vmware-tanzu.github.io/helm-charts --- # cloudnative-pg, plugin-barman-cloud @@ -46,7 +45,7 @@ metadata: name: cloudnative-pg namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://cloudnative-pg.github.io/charts --- # valkey-cluster (OCI) @@ -56,9 +55,9 @@ metadata: name: bitnami namespace: infra-gitops spec: - interval: 24h + interval: 168h type: oci - url: oci://registry-1.docker.io/bitnamicharts + url: oci://docker.m.daocloud.io/bitnamicharts --- # ingress-nginx apiVersion: source.toolkit.fluxcd.io/v1 @@ -67,7 +66,7 @@ metadata: name: ingress-nginx namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://kubernetes.github.io/ingress-nginx --- # crowdsec @@ -77,7 +76,7 @@ metadata: name: crowdsec namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://crowdsecurity.github.io/helm-charts --- # tailscale-derp, rustdesk-server @@ -87,7 +86,7 @@ metadata: name: devcm-repo namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://devcm-repo.github.io/helm-charts --- # loki, promtail @@ -97,7 +96,7 @@ metadata: name: grafana namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://grafana.github.io/helm-charts --- # kube-prometheus-stack @@ -107,7 +106,7 @@ metadata: name: prometheus-community namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://prometheus-community.github.io/helm-charts --- # gitea, gitea-actions @@ -117,7 +116,7 @@ metadata: name: gitea namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://dl.gitea.com/charts --- # whoami @@ -127,7 +126,7 @@ metadata: name: cowboysysop namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://cowboysysop.github.io/charts/ --- # halo @@ -137,5 +136,5 @@ metadata: name: halo namespace: infra-gitops spec: - interval: 24h + interval: 168h url: https://halo-sigs.github.io/charts/