docs(k3s/flux): update README to reflect .env file path changes
这个提交包含在:
+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
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户