diff --git a/flux/README.md b/flux/README.md index 390c7f5..de81a15 100644 --- a/flux/README.md +++ b/flux/README.md @@ -107,7 +107,7 @@ spec: - 记录 Client ID 与 Client Secret。 3. **生成 Runner Token**: - Site Administration → Actions → Runners → Create new Runner → 复制 registration token。 -4. 更新 `k3s/.env`: +4. 更新 `.env`: ``` FLUX_WEB_OIDC_CLIENT_ID= @@ -119,7 +119,7 @@ spec: ```bash kubectl -n infra-gitops create secret generic flux-env \ - --from-env-file=k3s/.env \ + --from-env-file=.env \ --dry-run=client -o yaml | kubectl apply -f - flux reconcile kustomization secrets -n infra-gitops