fix: restore kube-system for sealed-secrets-controller refs
Reverts docs changes from 143b2c3 that incorrectly replaced
kube-system with headlamp for sealed-secrets-controller commands.
The sealed-secrets-controller runs in kube-system, NOT headlamp.
Only the Headlamp app install namespace was changed to headlamp.
Changes:
- Revert -n headlamp → -n kube-system in all sealed-secrets-controller
kubectl commands across all docs files
- Revert sealed-secrets-controller.kube-system DNS reference
- Revert --controller-namespace=headlamp → --controller-namespace=kube-system
- Revert 'namespace headlamp' → 'namespace kube-system' in error messages
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
committed by
Gandalf the Greybeard [agent]
parent
143b2c36e0
commit
876fb062fe
@@ -121,7 +121,7 @@ For Headlamp running in Kubernetes:
|
||||
kubectl create configmap headlamp-sealed-secrets-plugin \
|
||||
--from-file=main.js=dist/main.js \
|
||||
--from-file=package.json=package.json \
|
||||
-n headlamp
|
||||
-n kube-system
|
||||
```
|
||||
|
||||
2. **Update Headlamp deployment**:
|
||||
@@ -149,7 +149,7 @@ For Headlamp running in Kubernetes:
|
||||
3. **Apply and restart**:
|
||||
```bash
|
||||
kubectl apply -f headlamp-deployment.yaml
|
||||
kubectl rollout restart deployment/headlamp -n headlamp
|
||||
kubectl rollout restart deployment/headlamp -n kube-system
|
||||
```
|
||||
|
||||
## Verification
|
||||
@@ -208,13 +208,13 @@ headlamp --version # Should be >= v0.13.0
|
||||
|
||||
**Verify controller is running**:
|
||||
```bash
|
||||
kubectl get pods -n headlamp -l name=sealed-secrets-controller
|
||||
kubectl get pods -n kube-system -l name=sealed-secrets-controller
|
||||
# Should show: Running pod
|
||||
```
|
||||
|
||||
**Check controller service**:
|
||||
```bash
|
||||
kubectl get svc -n headlamp sealed-secrets-controller
|
||||
kubectl get svc -n kube-system sealed-secrets-controller
|
||||
# Should exist with ClusterIP
|
||||
```
|
||||
|
||||
@@ -231,7 +231,7 @@ kubectl apply -f https://github.com/bitnami-labs/sealed-secrets/releases/downloa
|
||||
kubectl get sealedsecrets --all-namespaces
|
||||
|
||||
# Can you get the service?
|
||||
kubectl get svc -n headlamp sealed-secrets-controller
|
||||
kubectl get svc -n kube-system sealed-secrets-controller
|
||||
```
|
||||
|
||||
**Verify CRD exists**:
|
||||
|
||||
@@ -162,7 +162,7 @@ For CI/CD or offline encryption:
|
||||
|
||||
**Check controller status**:
|
||||
```bash
|
||||
kubectl get pods -n headlamp -l name=sealed-secrets-controller
|
||||
kubectl get pods -n kube-system -l name=sealed-secrets-controller
|
||||
```
|
||||
|
||||
**If not running**, install it:
|
||||
@@ -197,7 +197,7 @@ rules:
|
||||
|
||||
2. **Verify controller connectivity**:
|
||||
```bash
|
||||
kubectl get svc -n headlamp sealed-secrets-controller
|
||||
kubectl get svc -n kube-system sealed-secrets-controller
|
||||
```
|
||||
|
||||
3. **Check browser console**:
|
||||
|
||||
Reference in New Issue
Block a user