feat(infra-gitops): update HelmRelease version and modify suspend state in configuration
这个提交包含在:
+10
-1
@@ -53,7 +53,16 @@ Kustomization 间通过 `dependsOn` + `wait: true` 串行等待,避免顺序
|
|||||||
1. **Flux Operator Web 的 OIDC 客户端**
|
1. **Flux Operator Web 的 OIDC 客户端**
|
||||||
2. **Gitea Actions Runner Token**
|
2. **Gitea Actions Runner Token**
|
||||||
|
|
||||||
凭据就绪、`flux-env` Secret 重新注入后,使用 `flux resume kustomization infra-gitops-post -n infra-gitops` 手工放行。
|
凭据就绪、`flux-env` Secret 重新注入后,可以先用 `flux resume kustomization infra-gitops-post -n infra-gitops` 手工放行。
|
||||||
|
|
||||||
|
注意:**手工 `resume` 只会修改集群里的 live 对象,不会改 Git 中的期望状态。** 由于 base 层仍然声明了 `spec.suspend: true`,当上层 `Kustomization` 重新协调(如 30 分钟周期、Git 变更、手工 reconcile)时,它会再次把 `infra-gitops-post` 改回暂停。
|
||||||
|
|
||||||
|
如果希望恢复后保持开启,需要把 Git 中的期望状态也改掉,例如在环境 overlay(如 `clusters/dev-cm/infra-gitops-post.yaml`)中覆盖:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
spec:
|
||||||
|
suspend: false
|
||||||
|
```
|
||||||
|
|
||||||
步骤:
|
步骤:
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ kind: Kustomization
|
|||||||
metadata:
|
metadata:
|
||||||
name: infra-gitops-post
|
name: infra-gitops-post
|
||||||
spec:
|
spec:
|
||||||
|
suspend: false
|
||||||
patches:
|
patches:
|
||||||
- target:
|
- target:
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
chart: oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator
|
chart: oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator
|
||||||
targetNamespace: infra-gitops
|
targetNamespace: infra-gitops
|
||||||
version: 0.46.0
|
version: 0.48.0
|
||||||
valuesContent: |-
|
valuesContent: |-
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户