docs(k3s/flux): update README to reflect .env file path changes

这个提交包含在:
rohow
2026-05-22 16:53:15 +08:00
未验证
父节点 15522bbaa8
当前提交 2dce40a587
+2 -2
查看文件
@@ -107,7 +107,7 @@ spec:
- 记录 Client ID 与 Client Secret。 - 记录 Client ID 与 Client Secret。
3. **生成 Runner Token** 3. **生成 Runner Token**
- Site Administration → Actions → Runners → Create new Runner → 复制 registration token。 - Site Administration → Actions → Runners → Create new Runner → 复制 registration token。
4. 更新 `k3s/.env` 4. 更新 `.env`
``` ```
FLUX_WEB_OIDC_CLIENT_ID=<step 2 client id> FLUX_WEB_OIDC_CLIENT_ID=<step 2 client id>
@@ -119,7 +119,7 @@ spec:
```bash ```bash
kubectl -n infra-gitops create secret generic flux-env \ 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 - --dry-run=client -o yaml | kubectl apply -f -
flux reconcile kustomization secrets -n infra-gitops flux reconcile kustomization secrets -n infra-gitops